* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- NIMBUS --- */
@font-face {
    font-family: 'Nimbus';
    src: url('../public/fonts/nimbus/NimbusSanL-Reg.woff2') format('woff2'),
         url('../public/fonts/nimbus/NimbusSanL-Reg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
@font-face {
    font-family: 'Nimbus';
    src: url('../public/fonts/nimbus/NimbusSanL-Bol.woff2') format('woff2'),
         url('../public/fonts/nimbus/NimbusSanL-Bol.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: optional;
  }

/* --- LEDGER --- */
@font-face {
    font-family: 'Ledger';
    src: url('../public/fonts/ledger/Ledger-Regular.woff2') format('woff2'),
         url('../public/fonts/ledger/Ledger-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

body {
    font-family: 'Nimbus', 'Inter', sans-serif; /* Default font */
    font-size: 400; /* Default Font weight */
    overflow-x: hidden;
}

h1, h2 {
  font-family: 'Nimbus', 'Inter', sans-serif;
  font-weight: 600;
}

a:hover {
    color: #5D5B27;
}

input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px #5D5B27; /* Customize as needed */
}

/* GLOBAL */
@media screen and (min-width: 64rem) {
    .section-hero picture {
        width: 100%;
    }
}

/* --- NAVBAR --- */
@media screen and (min-width: 0rem) {
        .navbar-container {
        position: fixed;
        top: 0;
        width: 100%;
        display: flex;
        background: white;
        justify-content: space-between;
        align-items: center;
        z-index: 3;
    }

    .navbar-content-wrapper {
        width: 100%;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        padding-inline: 16px;
    }

    .mobile-side-menu {
        position: fixed;
        min-width: 300px;
        height: 100%;
        top: 0px;
        right: 0px;
        background: white;
        z-index: -1;
        transform: translateX(600px);
        transition: all 0.6s ease-in-out;
    }

    .mobile-side-menu.active {
        transform: translateX(0px);
    }

    .nav-links-mobile {
        overflow-y: scroll;
        height: 80%;
        list-style: none;
        margin-top: 80px;
        display: flex;
        flex-direction: column;
    }

    .nav-link-mobile {
        font-size: 18px;
        color: black;
        text-decoration: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-block: 24px;
        padding-left: 24px;
        padding-right: 16px;
        border-bottom: 0.3px solid rgb(227, 227, 227);
    }

    .nav-link-chevron-right {
        transform: rotate(-90deg);
    }

    .drop-down-ul-mobile {
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
        list-style: none;
        display: flex;
        flex-direction: column;
        background: #F6F6F6;
        overflow: hidden;
    }

    .drop-down-container.active .drop-down-ul-mobile {
        max-height: 300px; 
    }

    .nav-link-chevron-down {
        transition: transform 0.2s ease-in-out;
    }

    .drop-down-container.active .nav-link-chevron-down {
        transform: rotate(-180deg);
    }
    

    .drop-down-link-mobile {
        color: #454444;
        text-decoration: none;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-block: 18px;
        padding-left: 32px;
        padding-right: 16px;
        border-bottom: 0.3px solid rgb(227, 227, 227);
    }

    main {
        transition: opacity 0.6s ease-in-out;
    }

    main::before {
        position: fixed;
        display: none;
        width: 100%;
        height: 100%;
        background: black;
        opacity: 0;
        content: "";
        top: 0px;
        left: 0px;
        z-index: 2;
        transition: opacity 0.6s ease-in-out;
    }

    main.active::before {
        display: inline;
        opacity: 0.4;
    }

    main.active {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

    .navbar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 90rem;
        margin: 0 auto;
    }

    .nav-links-container-desktop {
        display: none;
    }

    .nav-link-desktop {
        position: relative;
        margin-inline: 12px;
        list-style: none;
    }

    .nav-link-desktop a, .nav-link-desktop span {
        position: relative;
        text-decoration: none;
        color: #6D6D6D;
        display: flex;
        align-items: center;
        padding-block: 32px;
        padding-inline: 16px;
    }

    .nav-link-desktop a:hover, .nav-link-desktop span:hover {
        color: #5D5B27;
    }

    .nav-link-desktop:hover svg path {
        stroke: #5D5B27;
    }

    .nav-link-desktop span svg {
        margin-left: 4px;
        margin-bottom: 1px;
    }

    .nav-link-desktop span svg path {
        stroke: #6D6D6D;
    }

    .nav-link-desktop span {
        cursor: default;
    }

    .navbar-container .button {
        display: none;
        margin: 0px;
        font-size: 14px;
    }


    .navbar-logo {
        display: flex;
        color: black;
        text-decoration: none;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        padding-block: 24px;
        font-family: "Ledger", serif;
    }

    .navbar-container .drop-ul {
        opacity: 0;
        visibility: hidden;
        transform: scaleY(0);
        transform-origin: top;
        display: flex;
        flex-direction: column;
        position: absolute;
        list-style: none;
        min-width: 20rem;
        background-color: rgb(255, 255, 255);
        z-index: -100;
        top: 100%;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        transition: all 0.2s ease-in-out;
    }

    .nav-link-desktop:hover .drop-ul {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
    }

    .nav-link-desktop .drop-ul.open {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
    }

    .drop-ul .drop-li {
        width: 100%;
    }

    .drop-ul .drop-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        color: #2E2E2E;
        text-decoration: none;
        white-space: nowrap;
        padding-inline: 0.75rem;
        padding-block: 1.4rem;
    }

    .drop-ul .drop-link svg {
        transform: rotate(-90deg);
        opacity: 0.8;
    }

    .drop-ul .drop-link:hover {
        background-color: #efefef;
        cursor: pointer;
    }

    .nav-link.active {
        position: relative;
        color: #5D5B27;
    }

    @keyframes hamburger-menu-main {
        0% {
            height: 1.5px;
          }
          50% {
            height: 0px;
          }
          100% {
            height: 0px;
          }
    }

    @keyframes hamburger-menu-main-reverse {
        0% {
            height: 0px;
          }
          50% {
            height: 0px;
          }
          100% {
            height: 1.5px;
          }
    }

    @keyframes hamburger-menu-before {
        0% {
          transform: translate(0px, 6px) rotate(0deg);
        }
        50% {
          transform: translate(0px, 0px) rotate(0deg); /* translation done */
        }
        100% {
          transform: translate(0px, 0px) rotate(45deg); /* now rotate */
        }
      }

      @keyframes hamburger-menu-before-reverse {
        0% {
            transform: translate(0px, 0px) rotate(45deg);
        }
        50% {
            transform: translate(0px, 0px) rotate(0deg); /* translation done */
        }
        100% {
            transform: translate(0px, 6px) rotate(0deg); /* now rotate */
        }
      }

    @keyframes hamburger-menu-after {
        0% {
          transform: translate(0px, -6px) rotate(0deg);
        }
        50% {
          transform: translate(0px, 0px) rotate(0deg); /* translation done */
        }
        100% {
          transform: translate(0px, 0px) rotate(-45deg); /* now rotate */
        }
      }

    @keyframes hamburger-menu-after-reverse {
        0% {
            transform: translate(0px, 0px) rotate(-45deg);
        }
        50% {
            transform: translate(0px, 0px) rotate(0deg); /* translation done */
        }
        100% {
            transform: translate(0px, -6px) rotate(0deg); /* now rotate */
        }
      }

    .hamburger-menu {
        position: relative;
        background-color: black;
        width: 20px;
        height: 1.5px;
        border: none;
    }

    .hamburger-menu::before {
        content: "";
        position: absolute;
        background-color: black;
        width: 20px;
        height: 1.5px;
        top: 0px;
        left: 0px;
        transform: translateY(6px);
    }

    .hamburger-menu::after {
        content: "";
        position: absolute;
        background-color: black;
        width: 20px;
        height: 1.5px;
        top: 0px;
        transform: translateY(-6px);
        left: 0px;
        transition: all 0.2s linear;
    }

    .hamburger-menu.active {
        animation: hamburger-menu-main 0.6s ease-in-out forwards;
    }

    .hamburger-menu.closing {
        animation: hamburger-menu-main-reverse 0.6s ease-in-out forwards;
    }

    .hamburger-menu.active::before {
        animation: hamburger-menu-before 0.6s ease-in-out forwards;
    }

    .hamburger-menu.closing::before {
        animation: hamburger-menu-before-reverse 0.6s ease-in-out forwards;
    }

    .hamburger-menu.active::after {
        animation: hamburger-menu-after 0.6s ease-in-out forwards;
    }

    .hamburger-menu.closing::after {
        animation: hamburger-menu-after-reverse 0.6s ease-in-out forwards;
    }
}
@media screen and (min-width: 64rem) {
    .mobile-side-menu {
        display: none;
    }

    .nav-links-container-desktop {
        display: flex;
    }

    .hamburger-menu {
        display: none;
    }

    .navbar-container .button {
        display: block;
    }

    .navbar-logo {
        margin-bottom: 6px;
    }

    .button:hover {
        border-color: #5D5B27;
        color: #5D5B27;
    }

}
@media screen and (min-width: 78rem) {
    .nav-link-desktop {
        margin-inline: 28px;
    }
}

/* --- HERO --- */
@media screen and (min-width: 0rem) {
    .hero {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-container {
        flex: 1;
        background-color: #F6F6F6;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 130px;
        max-width: 32rem;
        margin: 0 auto;
        flex: 1;
    }

    .hero .button {
        align-self: center;
    }

    .eyebrow-text-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .eyebrow-text-image-right {
        transform: scaleX(-1);

    }

    .eyebrow-text-image-left, .eyebrow-text-image-right {
        fill: #5D5B27;
    }

    .eyebrow-text {
        font-size: 1rem;
        color: #5D5B27;
        position: relative;
    }
    
    .title {
        font-size: 2.5rem;
        white-space: pre-line;
        margin-top: 16px;
        margin-inline: 32px;
    }

     .description {
        max-width: 32rem;
        margin: auto;
        margin-top: 16px;
        line-height: 140%;
        color: #3F3E3E;
        padding-inline: 32px;
    }

    .button {
        display: inline-block;
        position: relative;
        background: transparent;
        padding-inline: 14px;
        padding-block: 16px;
        border-radius: 8px;
        border-width: 1px;
        text-transform: uppercase;
        margin-top: 32px;
        letter-spacing: 0.5px;
        border: 1.2px black solid;
        color: black;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.15s ease-in-out;
    }

    .stats {
        display: flex;
        justify-content: space-around;
        margin-inline: 16px;
        max-width: 32rem;
        margin-top: 48px;
    }

    .stat-value {
        font-size: 1.375rem;
        margin-bottom: 8px;
    }

    .stat-description {
        color: #6D6D6D;
    }

    .hero-image-and-background-container {
        height: 100%;
        position: relative;
        background: linear-gradient(to bottom, #F6F6F6 50%, white 50%);
    }

    .background {
        position: absolute;
        background-color: #2E2E2E;
        transform: skewY(-15deg);
        height: 65%;
        width: 100%;
        bottom: 0;
        z-index: 0;
    }
    .image {
        max-width: 32rem;
        margin: auto;
        position: relative;
        z-index: 0;
        width: 90%;
        height: auto;
        border-radius: 4px;
    }

    .background2 {
        position: relative;
        background-color: rgb(255, 255, 255);
        height: 120px;
        z-index: 1; 
        transform: skewY(-15deg);
        margin-top: -70px;
    }
}
@media screen and (min-width: 64rem) {
    .hero {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        background-image: url("/public/home/hero/background.jpg");
        margin-top: 50px;
        max-width: 86rem;
        margin-inline: auto;
        overflow: hidden;
        z-index: 1;
    }

    .hero-background-wrapper-desktop {
        background: linear-gradient(to right, #2E2E2E 50%, #ffffff 50%); 
    }

    .hero-container {
        background: transparent;
    }

    .hero-content {
        text-align: start;
        align-items: start;
        max-width: 50rem;
        width: 100%;
        margin: 0px;
        margin-bottom: 60px;
    }

    .title {
        margin-left: 0px;
        font-size: clamp(50px, 5vw, 60px);
    }

    .description {
        padding-left: 0px;
        max-width: 80%;
        margin-inline: 0px;
    }

    .hero .button {
        align-self: flex-start;
    }

    .stats {
        text-align: center;
        margin-left: 0px;
        justify-content: space-between;
        width: 80%;
    }

    .stat-value {
        font-size: 2rem;
    }


    .hero-image-and-background-container {
        position: relative;
        display: flex;
        flex-direction: column;
        flex: 1;
        max-width: 100%;
        border: none;
        /* background: linear-gradient(to right, #2E2E2E 50%, #F6F6F6 50%); */
        background: transparent;
    }

    .image-container {
        display: flex;
        background: transparent;
        border: none;
    }


    .image {
        height: auto;
        width: 550px;
    }

    .hero .image {
        margin-bottom: -6px;
        margin-left: calc((100vw - 1075px) * 0.25);
        margin-left: clamp(0px, (100vw - 1075px) * 0.25, 68px);
    }

    .background {
        position: absolute;
        background-color: #2E2E2E;
        height: 100%;
        width: 50%;
        bottom: 0;
        z-index: 0;
        transform: skewY(0deg);
    }

    .background2 {
        display: none;
    }
}

/* --- SERVICES --- */
@media screen and (min-width: 0rem) {
.services {
        align-items: center;
        text-align: center;
        padding-top: 16px;
        max-width: 32rem;
        margin: auto
    }

    .services .services-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 16px;
        margin-block: 32px;
    }

    .services .service-container {
        background-color: #F6F6F6;
        text-align: left;
        padding: 32px;
        margin-inline: 32px;
    }

    .services .service-icon {
        display: flex;
        margin-bottom: 32px;
        stroke: #5D5B27;
        height: 70px;
    }

    .services .service-title {
        margin-bottom: 16px;
        font-size: 20px;
        font-weight: 600;
    }

    .services .service-description {
        color: #3F3E3E;
        margin-bottom: 8px;
    }

}
@media screen and (min-width: 64rem) {
    .services {
        margin-top: 100px;
        max-width: 80rem;
        padding-inline: 32px;
    }

    .services .description {
        text-align: center;
        margin: 16px auto;
    }

    .services .services-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr);
        margin-top: 48px;
    }

    .services .service-container {
        padding: 32px;
        margin-inline: 0px;
    }
}

/* --- ABOUT US --- */
@media screen and (min-width: 0px) {
    .about-us {
        text-align: center;
        background-color: #2E2E2E;
        margin-top: 60px;
        padding-top: 60px;
        padding-bottom: 16px;
    }

    .about-us content {
        max-width: 32rem;
        margin: auto;
    }

    .about-us .eyebrow-text {
        color: #C5C287;
    }

    .about-us .eyebrow-text-image-left, .about-us .eyebrow-text-image-right {
        fill: #C5C287;
    }

    .about-us .title {
        color: white;
    }

    .about-us .description {
        color: #CDCDCD;
    }

    .about-us .job-title {
        color: #C5C287;
        margin-top: 32px;
        font-style: italic;
    }

    .about-us .persons-name {
        color: white;
        margin-top: 8px;
    }

    .about-us .button {
        border-color: white;
        color: white;
    }

    .about-us .button:hover {
        color: #C5C287;
        border-color: #C5C287;
    }

    .about-us .image {
        margin-block: 32px;
    }
}
@media screen and (min-width: 64rem) {
    .about-us {
        margin-top: 100px;
        text-align: start;
        padding-bottom: 60px;
    }

    .about-us-container {
        display: flex;
        max-width: 80rem;
        margin: auto;
        align-items: center;
        padding-inline: 32px;
    }


    .about-us .eyebrow-text-container {
        margin: 0px;
        justify-content: start;
    }

    .about-us .button::after {
        background-color: white;
    }

}

/* WHY CHOOSE US */
@media screen and (min-width: 0rem) {
    .why-choose-us {
        max-width: 32rem;
        margin: auto;
        margin-top: 60px;
        text-align: center;
    }

    .why-choose-us .image {
        margin-top: 32px;
    }

    .grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 32px;
    }

    .grid-item {
        display: flex;
        text-align: left;
        max-width: 90%;
        margin: 0 auto;
        align-items: start;
    }

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

    .why-choose-us-grid-title {
        font-size: 20px;
    }

    .why-choose-us-grid-description {
        color: #3F3E3E;
    }

    .why-choose-us-grid-icon {
        width: 50px;
        height: 50px;
        margin-right: 16px;
        display: block;
        stroke: #5D5B27;
    }
}
@media screen and (min-width: 64rem) {
    .why-choose-us {
        max-width: 80rem;
        text-align: start;
        margin: 100px auto 0px;
        padding-inline: 32px;
    }

    .why-choose-us .side-by-side {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        margin: auto;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 40px;
    }

    .why-choose-us .why-choose-us-content {
        width: 55%;
        margin-left: 80px;
    }

    .why-choose-us .eyebrow-text-container {
        justify-content: start;
    }

    .why-choose-us .grid {
        flex-direction: row;
    }
    
}

/* MERGERS AND ACQUISITIONS */
@media screen and (min-width: 0rem) {
.m-and-a-background-wrapper {
        background: #F6F6F6;
    }

    .mergers-and-acquisitions {
        margin-top: 30px;
        text-align: center;
        padding-top: 30px;
    }

    .mergers-and-acquisitions .m-and-a-content {
        max-width: 32rem;
        margin: auto;
    }

    .mergers-and-acquisitions .image {
        margin-top: 32px;
    }
}
@media screen and (min-width: 64rem) {
    .mergers-and-acquisitions {
        display: flex;
        flex-direction: row;
        text-align: start;
        padding-inline: 32px;
        align-items: center;
        margin-top: 50px;
        padding-top: 50px;
        max-width: 80rem;
        margin-inline: auto;
    }

    .mergers-and-acquisitions .eyebrow-text-container {
        justify-content: start;
    }

    .mergers-and-acquisitions .image {
        margin-top: 0px;
        width: auto;
    }

    .mergers-and-acquisitions .m-and-a-content {
        max-width: 80rem;
    }
}

/* --- BUSINESS LAW --- */
@media screen and (min-width: 0rem) {
.business-law-background-wrapper {
        background: #F6F6F6;
    }

    .business-law {
        padding-top: 60px;
        text-align: center;
        padding-bottom: 30px;
    }

    .business-law-content {
        max-width: 32rem;
        margin: auto;
    }

    .business-law-description {
        line-height: 140%;
        color: #3F3E3E;
        margin-top: 16px;
        margin-left: 4px;
        padding-inline: 24px;
    }

    .business-law .image {
        margin-top: 32px;
    }

    .business-law-stats {
        display: flex;
        justify-content: space-between;
        max-width: 85%;
        margin: 32px auto 0px;

    }
}
@media screen and (min-width: 64rem) {
    .business-law {
        display: flex;
        flex-direction: row-reverse;
        text-align: start;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 50px;
        justify-content: space-between;
        max-width: 80rem;
        margin-inline: auto;
    }

    .business-law-content {
        padding-left: 16px;
        
    }

    .business-law-description {
        padding-left: 0px;
    }

    .business-law .eyebrow-text-container {
        justify-content: start;
    }

    .business-law-stats {
        margin: 32px 0px 0px;
        margin-left: 4px;
    }

    .business-law .image {
        margin-top: 0px;
        max-width: 80rem;
        width: auto;
    }
}

/* --- OTHER SEVICES --- */
@media screen and (min-width: 0rem) {
    .other-services {
        text-align: center;
        margin-top: 30px;
    }

    .other-services .other-services-content {
        max-width: 32rem;
        margin: auto;
    }

    .other-services .services-grid {
        max-width: 32rem;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        width: 90%;
        margin: 32px auto 0px;
        gap: 8px;
    }

    .other-services .service-container {
        background-color: #f0f0f0;
        padding: 32px 8px 16px;
        position: relative;
        overflow: hidden;
    }

    .other-services .service-icon {
        stroke: #5D5B27;
    }

    .other-services .service-title {
        margin-top: 12px;
        font-size: 12px;
    }

    .other-services .background-image {
        position: absolute;
        bottom: -60px;
        right: -30px;
        stroke: #45444410;
    }
}
@media screen and (min-width: 64rem) {
    .other-services {
        margin-top: 50px;
        display: flex;
        flex-direction: row;
        max-width: 80rem;
        margin-inline: auto;
        padding-inline: 32px;
        justify-content: space-evenly;
        align-items: center;
    }

    .other-services .other-services-content {
        text-align: start;
        margin: 0px;
        padding: 0px;
    }

    .other-services .eyebrow-text-container {
        justify-content: start;
    }

    .other-services .services-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        width: 100%;
        width: 100%;
        margin: 0px;
    }

    .other-services .services-grid {
        max-width: 40rem;
    }

    .other-services .service-container {
        padding-inline: 32px;
    }

    .service-icon {
        stroke: #5D5B27;
    }
}

/* --- TESTIMONIALS --- */
@media screen and (min-width: 0rem) {
.testimonials-background-wrapper {
        background-color: #2E2E2E;
    }
    .testimonials {
        text-align: center;
        margin-top: 60px;
        padding-top: 60px;
        padding-bottom: 30px;
        padding-inline: 16px;
    }

    .testimonials-content {
        max-width: 32rem;
        margin: auto;
    }

    .testimonials .title {
        color: white;
    }

    .testimonials .description {
        color: #E4E4E4;

    }

    .testimonials .eyebrow-text {
        color: #C5C287;
    }

    .testimonials .eyebrow-text-image-left, .testimonials .eyebrow-text-image-right {
        fill: #C5C287;
    }

    .testimonials .testimonials-container {
        max-width: 32rem;
        margin: 32px auto 0px;
    }

    .testimonials .testimonial-container {
        background-color: white;
        text-align: left;
        margin-bottom: 32px;
        padding-inline: 16px;
        padding-block: 32px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        border-radius: 4px;
    }

    .testimonials .testimonial-description {
        color: #3F3E3E;
        height: 80px;
    }

    .testimonials .client-container {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .testimonials .client-image {
        width: 50px;
        height: 50px;
    }

    .testimonials .client-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .testimonials .client-name {
        font-size: 20px;
    }

    .testimonials .client-position {
        color: #5D5B27;
        font-style: italic;
    }
}
@media screen and (min-width: 64rem) {
    .testimonials {
        max-width: 80rem;
        margin-top: 100px;
        padding-top: 100px;
        margin-inline: auto;
        padding-inline: 32px;
        padding-bottom: 60px;
    }

    .testimonials-content {
        max-width: 42rem;
    }

    .testimonials .description {
        margin: 16px auto 0px;
        max-width: 52rem;
    }

    .testimonials .testimonials-container {
        display: flex;
        max-width: 100%;
        gap: 16px;
        justify-content: space-evenly;
        margin-top: 48px;
    }
}

/* --- OUR TEAM --- */
@media screen and (min-width: 0rem) {
    .team {
        max-width: 32rem;
        margin: auto;
        text-align: center;
        margin-top: 60px;
    }

    .team .team-members-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding-top: 32px;
    }

    .team .team-member-image {
        max-width: 90%;
        object-fit: cover;
        height: 90%;
    }

    .team .team-member-name {
        margin-top: 8px;
        font-size: 20px;
    }

    .team .team-member-position {
        margin-top: 4px;
        color: #5D5B27;
        font-style: italic;
    }
}
@media screen and (min-width: 64rem) {
    .team {
        max-width: 80rem;
        padding-inline: 32px;
        margin-top: 100px;
    }

    .team .description {
        margin: 16px auto 0px;
        max-width: 40rem;
    }

    .team .team-members-container {
        flex-direction: row;
        gap: 0px;
        margin-top: 32px;
    }
}

/* --- CTA --- */
@media screen and (min-width: 0rem) {
    .cta {
        width: 100%;
        position: relative;
        margin: 0 auto; /* Centers the section */
        overflow: hidden; /* Ensures no content overflows outside the container */
        margin-block: 60px;
    }

    .cta-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .cta .cta-content {
        max-width: 32rem;
        margin: auto;
        text-align: center;
        margin-block: 60px;
    }

    .cta .eyebrow-text {
        color: #C5C287;
    }

    .cta .eyebrow-text-image-left, .cta .eyebrow-text-image-right {
        fill: #C5C287;
    }

    .cta .title {
        color: white;
    }

    .cta .description {
        color: #F3F3F3;
    }

    .cta .button {
        color: white;
        border-color: white;
        margin-top: 64px;
    }

    .cta .button:hover {
        color: #C5C287;
        border-color: #C5C287;
    }
    
    .cta .cta-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('/public/global/cta-mobile.webp');
        background-position: center;
        background-size: cover;
        background-attachment: fixed; /* Parallax effect */
        z-index: -1; /* Keep the background behind the content */
    }

    @supports (background-image: url("image.webp")) {
        .cta .cta-background {
            background-image: url('/public/global/cta-mobile.webp');
        }
    }

    @supports not (background-image: url("image.webp")) {
        .cta .cta-background {
            background-image: url('/public/global/cta-mobile.jpg');
        }
    }
}
@media screen and (min-width: 64rem) {
    .cta {
        margin-top: 100px;
    }

    .cta .eyebrow-text-container {
        justify-content: start;
    }

    .cta .title {
        text-align: start;
    }

    .cta .description {
        text-align: start;
    }

    .cta .cta-content {
        display: flex;
        align-self: center;
        max-width: 80rem;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-inline: 32px;
    }

    .cta .button {
        height: min-content;
        width: fit-content;
        margin-top: 0px;
        margin-right: 64px;
    }

    .cta .button::after {
        background-color: #E4E4E4;
    }

    .cta .cta-background {
        background-image: url('/public/global/cta-desktop.webp');
    }

    @supports (background-image: url("image.webp")) {
        .cta .cta-background {
            background-image: url('/public/global/cta-desktop.webp');
        }
    }

    @supports not (background-image: url("image.webp")) {
        .cta .cta-background {
            background-image: url('/public/global/cta-mobile.jpg');
        }
    }
}

/* --- FOOTER --- */
@media screen and (min-width: 0rem) {
    .footer {
        max-width: 32rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footer .footer-logo {
        text-align: center;
        margin-bottom: 12px;
    }

    .footer .logo-company-name {
        margin-top: 16px;
    }

    .footer .footer-section {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-inline: 24px;
        margin-top: 48px;
    }

    .footer .footer-section-title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .footer .footer-link {
        color: #454444;
        text-decoration: none;
    }

    .footer .footer-link:hover {
        color: #5D5B27;
    }

    .footer .footer-line {
        margin: 32px auto;
        width: 100%;
        border: 0.1px solid #c5c5c53c;
    }

    .footer-part-2 {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer .footer-scroll-to-top {
        border: none;
        background: transparent;
        text-transform: uppercase;
        cursor: pointer;
    }

    .footer .footer-scroll-to-top:hover {
        color: #5D5B27;
    }

    .footer .footer-chevron {
        margin-bottom: 2px;
        margin-left: 2px;
    }

    .footer-legal-desktop {
        font-size: 14px;
        white-space: pre-wrap;
        text-align: center;
        color: #2F2F2F;
    }

    .footer .footer-copyright {
        font-size: 14px;
        color: #2F2F2F;
        text-align: center;
        white-space: pre-wrap;
    }
}
@media screen and (min-width: 64rem) {
    .footer {
        max-width: 80rem;
        text-align: start;
        margin-top: 100px;
    }

    .footer .footer-logo {
        text-align: center;
        margin-bottom: 0px;
        padding-left: 24px;
    }

    .footer .footer-section {
        margin-top: 0px;
    }

    .footer-part-1 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .footer-grid {
        display: flex;
        flex-direction: row;
        align-items: start;
        gap: 72px;
    }

    .footer .footer-line {
        margin: 50px auto;
    }

    .footer-part-2 {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        padding-inline: 24px;
        position: relative;
    }

    .footer-legal-desktop {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
