* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Barlow;
    color: #3A3A3A;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/Barlow/Barlow-Regular.ttf') format('truetype');
    font-weight: 400; /* normal */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/Barlow/Barlow-Medium.ttf') format('truetype');
    font-weight: 500; /* medium */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/Barlow/Barlow-Bold.ttf') format('truetype');
    font-weight: 700; /* bold */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/Barlow/Barlow-Black.ttf') format('truetype');
    font-weight: 900; /* black / extra bold */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/Barlow/Barlow-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}


/* header */
.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 2rem 10%;
    background-color: #F7F3EF;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-dropshadow {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.nav-parent {
    display: flex;
    align-items: center;
    gap: 1.5rem; 
}

.nav-links {
    list-style: none;        
    display: flex;             
    gap: 2rem;                 
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.6s ease;
}

.nav-links a:hover {
    font-weight: 700;
    font-size: 1.05rem;
}


#active {
    font-weight: 700;
    padding-bottom: 0.75em;
    border-bottom: 1.75px solid black;
}

.hamburger, .mobile-icons {
    display: none;
    color: #3A3A3A;
}

.heart-icon i {
    color:#D8A7A7;
    font-size: 1.25em;
    padding-left: 25px;
}

.cat-image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.cat-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f2f4f5;
    min-width: 220px;
    padding: 0.5rem 0;
    list-style: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    z-index: 999;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    text-decoration: none;
    color: #3A3A3A;
    transition: background-color 0.3s ease, font-weight 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(216, 167, 167, 0.2);
    font-weight: 600;
    font-size: 0.98rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.fa-solid.fa-angle-down {
    padding-left: 5px;
}

.nav-inner {
    display: flex;
    align-items: center;
}

/* heart button */
.heart-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.heart-overlay:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.55);
}

.heart-overlay i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
    color: #e66060;
}

/* jump animation */
@keyframes heartJump {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-6px) scale(1.2); }
    60%  { transform: translateY(0); }
    100% { transform: translateY(-2px); }
}

.jump {
    animation: heartJump 0.35s ease;
}

/* favs */
.heart-overlay.active i {
    color: #e66060;
}

.favs {
    position: absolute;
    bottom: 65px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
    pointer-events: none;
}

.your-favs h2 {
    font-size: 3em;
}

.your-favs {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    background-color: #F7F3EF;
}

.your-favs i {
    font-size: 2em;
    padding-top: 1em;
}

.favorites-container {
    display: flex;
    padding: 5rem 10%;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #F7F3EF;
}

/* show */
.favs.show {
    opacity: 1;
    transform: translateY(0);
}

.heart-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.heart-icon i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.heart-icon:hover i {
    transform: scale(1.2);
}



/*hero*/
.hero {
    background-color: #F7F3EF;
    padding: 5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    position: relative;
}

.hero h1 {
    font-size: 100px;
    font-weight: 400;
}

.hero p {
    font-size: 1.25em;
}

.hero-cta {
   padding: 12px 20px;
    background-color: #D8A7A7;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: transform 0.8s ease, background-color 0.8s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.hero-cta:hover {
    transform: translateX(5px);
    background-color: #d8a7a7ab;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start; 
    max-width: 400px;
}

.hero-image {
    position: absolute;
    right: 10%;
    bottom: 0;
}

.hero-image img {
    max-height: 450px; 
    display: block;
    
}

/*why choose us*/
.choose-us {
    padding: 3rem 10%;
    background-color: #DCE2E6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23D7DDE1' points='120 120 60 120 90 90 120 60 120 0 120 0 60 60 0 0 0 60 30 90 60 120 120 120 '/%3E%3C/svg%3E");
    background-attachment: fixed;
}

.choose-us h2 {
    font-size: 2em;
}

.choose-first p {
    font-size: 1.1em;
    text-align: center;
    max-width: 40%;
}

.choose-first {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    
}

.divider {
    border-top: 1px solid #3A3A3A;
    width: 150px;
}

.fa-paw {
    font-size: 1.3em;
}

.choose-cards {
    display: flex;
    justify-content: center;
    padding-top: 4em;
    gap: 6rem;
}

.choose-item {
    display: flex;
    flex-direction: column;
    align-items: stretch; 
    text-align: left;
    gap: 0.5rem;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.choose-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 14px rgba(0,0,0,0.12);
}

.choose-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-link {
    align-self: flex-end;
    margin-top: 1.5rem;
    color: #3A3A3A;
    font-weight: 500;
    opacity: 0.8;
}

.card-link:hover {
    opacity: 1;
}


/*about us*/
.about-us {
    display: flex;
    padding: 5em 10%;
    gap: 100px;
    background-color: #F7F3EF;
}

.aboutus-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aboutus-content p {
   max-width: 40rem;
    margin: 0 auto;
}


.aboutus-content h4 {
    font-weight: 300;
    letter-spacing: 5px;
}

.aboutus-content h2 {
    font-size: 2.25em;
}

.aboutus-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* key line */
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease;
}

.aboutus-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 375px; 
    overflow: hidden;
}

.aboutus-image img.active {
    opacity: 1;
}

.aboutus-cta {
    padding: 10px 20px;
    background-color: #D8A7A7;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: transform 0.8s ease, background-color 0.8s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    align-self: flex-start;
    margin-top: 10px;
}

.aboutus-cta:hover {
    transform: translateX(5px);
    background-color: #d8a7a7ab;
}

.two-buttons {
    display: flex;
    gap: 20px;
}

.aboutus-cta.adopt-btn {
    background-color: #DCE2E6;
    width: 118px;
    text-align: center;
}


/*cats of the week*/
.cats-of-the-week {
    padding: 3rem 10%;
    background-color: #DCE2E6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23D7DDE1' points='120 120 60 120 90 90 120 60 120 0 120 0 60 60 0 0 0 60 30 90 60 120 120 120 '/%3E%3C/svg%3E");
    background-attachment: fixed;
}

.cats-of-the-week.cat-category {
    background-color: #F7F3EF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23D8A7A7' fill-opacity='.1' points='120 0 120 60 90 30 60 0 0 0 0 0 60 60 0 120 60 120 90 90 120 60 120 0'/%3E%3C/svg%3E");
    background-attachment: fixed;
    padding: 6rem 10%;
}

.adoptable-cats {
    background-color: #F7F3EF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23D8A7A7' fill-opacity='.1' points='120 0 120 60 90 30 60 0 0 0 0 0 60 60 0 120 60 120 90 90 120 60 120 0'/%3E%3C/svg%3E");
    background-attachment: fixed;
    padding: 6rem 10%;
}

.cat-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cat-title h2 {
    font-size: 2em;
}

.cat-title p {
    font-size: 1.1em;
    padding-bottom: 5em;
}

.cat-cards {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.cat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-item img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.cat-item h4 {
    font-weight: 300;
    letter-spacing: 5px;
    font-size: 0.8em;
    padding: 0.75em 0;
}

.cat-item p {
    max-width: 400px;
}

.adoptablecats-cta {
    padding: 10px 20px;
    background-color: #D8A7A7;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: transform 0.8s ease, background-color 0.8s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    align-self: flex-start;
    margin-top: 10px;
}

.adoptablecats-cta:hover {
    transform: translateX(5px);
    background-color: #d8a7a7ab;
}

/*get in touch*/
.contact-us {
    background-color: #F7F3EF;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    padding: 5rem 10%;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    justify-content: column;
}

.contactus-content h5 {
    font-weight: 300;
    letter-spacing: 5px;
}

.contactus-content h2 {
    font-size: 2em;
    padding: 0.25em 0;
}

.contactus-content p {
    max-width: 30em;
}

.contact-info i  {
    padding-right: 10px;
}

.contact-info {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
}

iframe {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border: 0;
    padding-top: 2em;
}

/* contact form */
.contact-form-parent {
    padding: auto 30px;
}

.contact-form-parent form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.contact-form-parent label {
    font-weight: 500;
    margin-bottom: 5px;
}

.contactus-content,
.contact-form-parent {
    flex: 1;
    min-width: 320px;
}


.contact-form-parent input,
.contact-form-parent textarea {
    width: 100%;
    max-width: 700px;
    padding: 14px;      
    border: 1px solid #cccccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: 0.3s;
}

.contact-form-parent input:focus,
.contact-form-parent textarea:focus {
    outline: none;
    border-color: #030303;
    box-shadow: 0 0 5px rgba(3, 3, 3, 0.2);
}

.contact-form-parent button {
    width: 100%;
    max-width: 200px;
    padding: 12px;
    background-color: #D8A7A7;
    color: #3A3A3A;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form-parent button:hover {
    background-color: #d6b6b6;
    transform: translateY(-2px);
}

.error {
    color: red;
    font-size: 0.85rem;
    margin-top: -10px;
}

#successMsg {
    color: green;
    margin-top: 10px;
    font-weight: 500;
}

/* decorative elements */
#yarn-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none; 
    z-index: 9999;
    transition: transform 0.1s;
}

/*decorative elements*/
#yarn-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none; 
    z-index: 9999;
    transition: transform 0.1s;
}

/*tips & resources*/
.img-tips img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.container-tips {
    display: flex;
    padding: 5rem 10%;
    gap: 5rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.container-tips.show {
    opacity: 1;
    transform: translateY(0);
}

.container-tips.solid-bg {
    background-color: #F7F3EF;
}

.container-tips.pattern-bg {
    background-color: #DCE2E6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23D7DDE1' points='120 120 60 120 90 90 120 60 120 0 120 0 60 60 0 0 0 60 30 90 60 120 120 120 '/%3E%3C/svg%3E");
    background-attachment: fixed;
}

.text-tips-header p {
    max-width: 650px;
    padding-top: 10px;
    padding-bottom: 20px;
}

.text-tips-header h3 {
    font-size: 1.4em;
    text-align: center;
}

.text-tips-header p {
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

.text-tips-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-tips-header h3 {
    font-size: 1.4em;
}

.text-tips ul {
    list-style-type: none;
    margin-left: 100px;
}

.text-tips-header p {
    font-size: 14px;
    font-style: italic;
}

.text-tips-header i {
    font-size: 1.2em;
    padding-bottom: 5px;
}

.main-tips-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    gap: 10px;
}

.main-tips-header p{
    max-width: 600px;
    text-align: center;
}

.main-tips-header h2{
    font-size: 2em;
}

.hero.tips-resources-hero {
    background-color: #DCE2E6;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    padding: 10px 12px;
    border: none;
    border-radius: 50%;
    background: #D8A7A7;
    cursor: pointer;
}



/*footer*/
.footer {
  padding: 2rem 10%;
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  background-color: #DCE2E6;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-bottom {
  text-align: center;
}


.footer-col {
    padding-right: 10rem;
}


.quick-links li {
    list-style: none;
    padding-bottom: 0.75em;
    font-size: 1.05em;
    transition: transform 0.8s ease;
}

.quick-links li:hover {
     transform: translateX(5px);
}

.quick-links li a {
    text-decoration: none;
}

.quick-links-col h3 {
    padding-bottom: 0.75em;
    font-size: 1.3em;
}

.description-col p, .footer-socials  {
    padding-top: 1em;
}

.footer-socials {
    font-size: 1.25em;
    display: flex;
    align-items: center;
    gap: 0.75em;
    
}

.fa-facebook-f, .fa-tiktok, .fa-instagram, .fa-twitter, .fa-facebook-f {
    transition: transform 0.3s ease, color 0.3s ease;
}

.fa-facebook-f:hover {
    transform: scale(1.1);
}

.fa-tiktok:hover {
    transform: scale(1.1);
}
.fa-instagram:hover {
    transform: scale(1.1);
}
.fa-twitter:hover {
    transform: scale(1.1);
}

.footer-hours h3 {
    padding-top: 2em;
}

.emergency-note {
    font-style: italic;
}

span {
    padding-left: 0.75em;
}

.fa-angle-right {
    padding-right: 0.75em;
}

.info-item {
    margin-bottom: 0.50em;
}

.footer-hours p {
    margin-bottom: 0.50em;;
}

#emergency, .emergency-note {
    color: #834e4e;
}

.footer-bottom {
    border-top: 1px solid black;
}

.footer-bottom p {
   padding-top: 3em;
}

.footer-top {
    padding-bottom: 2em;
    padding-top: 3em;
}

/*volunteer*/
/* FAQ */

.faq-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 85%;
}

.faq-item {
    background-color: #DCE2E6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-size: 1.5rem;
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.2rem;
}

.faq-answer p {
    padding-bottom: 1.2rem;
    line-height: 1.6;
    color: #3A3A3A;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/*mobile*/
@media (max-width: 768px) {

    .nav-parent {
        position: absolute;
        top: 120px;
        right: 0;
        background-color: #F7F3EF;
        width: 100%;
        max-height: 0;
        flex-direction: column;
        align-items: center;
        transition: max-height 0.5s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 99;
        overflow: hidden; 
    }

    .dropdown-menu {
        position: static; 
        display: none;
        width: 100%;
        text-align: center;
    }

.dropdown.active .dropdown-menu {
    display: block;
}

    .nav-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible; 
    }

    .nav-parent.active {
        max-height: 300px;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1rem 0;
    }

    .mobile-icons {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav-parent.desktop {
        display: none;
    }

    .footer-col {
        padding-right: 2rem;
    }

    span {
        padding-left: 0;
    }

    .emergency-note {
        font: 0.75em;
    }

    .footer {
        padding: 1rem 2rem;
    }

    .hero-image {
          position: static;
        right: auto;
        bottom: auto;
    }

    .hero-image img {
        max-height: 250px; 
        display: block;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 0;
    }

    .hero h1 {
        font-size: 5.5em;
    }

    .hero p {
        font-size: 1.25em;
    }

    .hero-content {
        max-width: 350px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .choose-cards {
        flex-wrap: wrap;
        gap: 45px;
    }

    .choose-first p {
      font-size: 16px;
      max-width: none;
    }

    .about-us {
        flex-wrap: wrap;
         gap: 40px;
    }

    .aboutus-image img {
         max-width: 400px;
    }

    .aboutus-content h2 {
        font-size: 1.75em;
    }

    .cat-cards {
        display: flex;
        justify-content: center;
        gap: 5rem; 
        flex-wrap: wrap;
    }

    .cat-title p {
        text-align: center;
        padding-bottom: 50px;
    }

    .heart-icon-desktop {
        display: none;
    }

    .heart-icon i {
        font-size: 1.5em;
    }

    /*tips & resources*/

    .container-tips {
        flex-wrap: wrap;
        gap: 40px;
    }

    .container-tips img {
        width: 350px;
        height: auto;
    }

    .text-tips ul {
        list-style-type: none;
        margin-left: 15px;
        font-size: 14px;
    }

    .text-tips li {
      padding-bottom: 15px;
    }

    .fa-solid.fa-angle-right {
        font-size: 10px;
    }

    .tips-resources-hero h1 {
        font-size: 70px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
    z-index: 9999;
    }

}

/* smaller mobile*/
@media (max-width: 430px) {

    body {
        overflow-x: hidden;
    }

    section,
    .hero,
    .footer,
    .about-us,
    .choose-first,
    .cats-of-the-week,
    .adoptable-cats {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 3.8em;
        line-height: 1.05;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image img {
        max-height: 170px;
        width: auto;
    }

    .aboutus-image img {
        max-width: 280px;
        width: 100%;
    }

    .choose-cards,
    .cat-cards,
    .favorites-container {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    p, h1, h2, h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .cats-of-the-week {
        background-color: #DCE2E6;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23D7DDE1' points='120 120 60 120 90 90 120 60 120 0 120 0 60 60 0 0 0 60 30 90 60 120 120 120 '/%3E%3C/svg%3E");
        background-attachment: fixed;
        padding: 3rem 1.25rem;
    }

    .adoptable-cats {
        background-color: #F7F3EF;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23D8A7A7' fill-opacity='.1' points='120 0 120 60 90 30 60 0 0 0 0 0 60 60 0 120 60 120 90 90 120 60 120 0'/%3E%3C/svg%3E");
        background-attachment: fixed;
        padding: 3rem 1.25rem;
    }

    .cat-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cat-title h2 {
        font-size: 1.6em;
        text-align: center;
    }

    .cat-title p {
        font-size: 1rem;
        padding-bottom: 2rem;
        text-align: center;
    }

    .cat-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .cat-item {
        display: flex;
        flex-direction: column;
        gap: 8px;

    }

    .cat-image-wrapper {
        position: relative;
        display: flex;
        width: 100%;
    }

    .cat-item img {
        width: 100%;
        max-width: 375px;
        height: auto;
    }

    .cat-item p {
        max-width: 90%;
    }

    .heart-overlay {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .heart-overlay i {
        font-size: 1.2rem;
    }

    .favs {
        position: absolute;
        bottom: 50px;
        right: 8px;
        font-size: 0.7rem;
        padding: 5px 8px;
        max-width: calc(100% - 16px);
    }
}
    
    
/*tablet*/
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-parent {
        position: absolute;
        top: 120px;
        right: 0;
        background-color: #F7F3EF;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        transition: max-height 0.5s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 99;
    }


    .nav-parent.active {
        max-height: 350px;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1rem 0;
    }

    .mobile-icons {
        display: flex;
        gap: 1.5rem;
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .nav-parent.desktop {
        display: none;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 0;
    }

    .hero-content {
        max-width: 500px;
    }

    .hero h1 {
        font-size: 4.5em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .hero-image {
        position: static;
        margin-top: 1.5rem;
    }

    .hero-image img {
        max-height: 300px;
        display: block;
    }

    .footer {
        padding: 1.5rem 3rem;
    }

    .footer-col {
        padding-right: 1.5rem;
    }

    span {
        padding-left: 0;
    }

    .emergency-note {
        font-size: 0.85em;
    }

    .choose-cards {
        flex-wrap: wrap;
        gap: 3rem; 
    }

    .choose-first p {
        font-size: 16px;
        max-width: 80%;
    }

    .about-us {
        flex-wrap: wrap;
        gap: 3rem; 
        align-items: center;
    }

    .aboutus-image img {
        max-width: 400px; 
        width: 100%;
    }

    .aboutus-content h2 {
        font-size: 1.75em;
    }

    .cat-cards {
        display: flex;
        justify-content: center;
        gap: 3rem; 
        flex-wrap: wrap;
    }

    .cat-title p {
        text-align: center;
        padding-bottom: 3rem;
        max-width: 80%;
        margin: 0 auto;
    }

    .favorites-container {
        gap: 3rem;
    }

    .heart-icon-desktop {
        display: none;
    }

    .heart-icon i {
        font-size: 1.1em;
    }
}