@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --brand-yellow: #FCB923;
    --brand-yellow-dark: #edaa19;
    --brand-navy: #2D3E55;
    --brand-navy-dark: #203149;
    --brand-navy-light: #445875;
    --brand-light-blue: #769AAB;
    --neutral-gray: #F4F4F4;
    --white: #FFFFFF;
    --black: #1C1C1C;

    --brand-navy-neutral: #E9F1F5;
    --brand-yellow-neutral: #FFF6E3;

    --green: #0A7420;
    --green-dark: #085e19;
    --green-light: #D7EBD7;

    --blue: #275FD8;
    --blue-dark: #2051c2;
    --blue-light: #E5EBF7;

    
}

html {
  scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--black);
    background-color: var(--white);
    overscroll-behavior-y: none;
}

h1 {
    font-size: 5rem;
    font-weight: 200;
    font-family: 'Host Grotesk', sans-serif;
    line-height: 100%;
    letter-spacing: -0.375rem;
    margin: 0;
}

h1>span {
    color: var(--brand-yellow);
}

h2 {
    font-size: 3.5rem;
    font-weight: 600;
    font-family: 'Host Grotesk', sans-serif;
    line-height: 110%;
    letter-spacing: -0.175rem;
    margin: 0;
}

h2>span {
    color: var(--brand-yellow);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Host Grotesk', sans-serif;
    line-height: 120%;
    margin: 0;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Host Grotesk', sans-serif;
    line-height: 120%;
    margin: 0;
}

p,
li,
strong {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 200;
    line-height: 150%;
    letter-spacing: -0.01rem;
    margin: 0;
}

strong {
    font-weight: 600;
}



section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 5rem 0 5rem 0;
}

.container {
    max-width: 86rem;
    /* 1440px */
    width: 100%;
}

.container-b {
    max-width: 90rem;
    width: 100%;
    background-color: var(--neutral-gray);
    padding: 3.5rem 3rem;
    border-radius: 1.5rem;
}

.container-c {
    max-width: 90rem;
    width: 100%;
    background-color: var(--brand-navy);
    padding: 3.5rem 3rem;
    border-radius: 1.5rem;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}


/* ------------------------------------Buttons------------------------------------ */

.btn {
    cursor: pointer;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 300;
    padding: 1rem 1.5rem;
    line-height: 1;
    display: inline-block;
}

/* Button Yellow */
.btn-yellow {
    background-color: var(--brand-yellow);
    color: var(--brand-navy);
}

.btn-yellow:hover {
    background-color: var(--brand-yellow-dark);
    transition: all 0.3s ease-in-out;
    transform: scale(1.01);
}

/* Button White */
.btn-white {
    background-color: var(--white);
    color: var(--brand-navy);
}

.btn-white:hover {
    background-color: var(--neutral-gray);
    transform: scale(1.01);
    transition: all 0.3s ease-in-out;
    box-shadow: 0rem 0.25rem 1.5rem 0rem #0000000D;
}

/* Button Navy */
.btn-navy {
    background-color: var(--brand-navy);
    color: var(--white);
}

.btn-navy:hover {
    background-color: var(--brand-navy-dark);
    transform: scale(1.01);
    transition: all 0.3s ease-in-out;
    box-shadow: 0rem 0.25rem 1.5rem 0rem #0000000D;
}

/* Button Green */
.btn-green {
    background-color: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-green:hover {
    background-color: var(--green-dark);
    transform: scale(1.01);
    transition: all 0.3s ease-in-out;
    box-shadow: 0rem 0.25rem 1.5rem 0rem #0000000D;
}


.btn:hover svg {
    animation: arrowAnimation 0.35s ease;
}

@keyframes arrowAnimation {

    0% {
        transform: translateY(0);
        opacity: 1;
    }

    40% {
        transform: translateY(-12px);
        opacity: 0;
    }

    41% {
        transform: translateY(12px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }

}

/* ------------------------------------Hero (+ Navigation)------------------------------------ */

#hero {
    background-color: var(--brand-navy);
    color: var(--white);
    padding: 2.5rem 0 5rem 0;
    gap: 4.5rem;
    width: 100%;
}

/* ------------------Navigation------------------ */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ffffff36;
    padding-bottom: 2rem;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

nav ul li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: inherit;
}

.nav-item:hover {
    color: var(--brand-yellow);
    transition: all 0.3s ease-in-out;
}

.drop-down-svg {
    margin-left: 4px;
    transition: transform 0.3s ease-in-out;
}

.nav-links li:hover .drop-down-svg {
    transform: rotate(180deg);
}

.nav-links li .dropdown {
    position: absolute;
    top: calc(100% + 0.1rem);
    /* Adding gap for hover area */
    left: 50%;
    background-color: var(--brand-navy);
    transform: translateX(-50%) translateY(15px);
    min-width: 17rem;
    /* width: 100%; */
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    z-index: 100;
    border: 1px solid var(--brand-navy-light);
    box-shadow: 0 1.25rem 2.5rem -0.625rem rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links li .dropdown li a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    border-bottom: 1px solid #ffffff36;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.nav-links li .dropdown li a svg {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease-in-out;
}

.nav-links li .dropdown li a:hover svg {
    transform: translateY(0px);
    opacity: 1;
}

.nav-links li .dropdown li:first-child a {
    padding-top: 0;
}

.nav-links li .dropdown li:last-child a {
    border-bottom: none;
    padding-bottom: 0;
}

.nav-links li .dropdown li a:hover {
    color: var(--brand-yellow);
    transition: all 0.3s ease-in-out;
}

.nav-links li:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 15.625rem;
    background-color: var(--brand-navy);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 5rem 1.5rem;
    z-index: 999;
    border: 1px solid var(--brand-navy-light);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    transition: all 0.75s ease;
    opacity: 0;
    visibility: hidden;
}

.sidebar.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sidebar li {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #ffffff36;
    padding: 1rem 0 0.75rem 0;
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar li .dropdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 0 0 1rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar li .dropdown.active {
    max-height: 18.75rem;
    margin: 1rem 0 1rem 1rem;
    opacity: 1;
    visibility: visible;
}

.sidebar li .dropdown li {
    border: none;
    padding: 0;
}

.sidebar li .dropdown li a {
    text-decoration: none;
    color: inherit;
}

.sidebar li .dropdown li a:hover {
    color: var(--brand-yellow);
    transition: all 0.3s ease-in-out;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
    z-index: 1001;

}

.hamburger span {
    display: block;
    width: 1.5rem;
    height: 0.0625rem;
    background-color: #f8fafc;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    /* transform: translateY(8.5px) rotate(45deg); */
    transform: rotate(45deg) translate(0.25rem, 0.25rem);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.25rem, -0.3125rem);
    /* transform: translateY(-8.5px) rotate(-45deg); */
}

/* ------------------Hero------------------ */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.5rem;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.scroll-div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    background-color: #ffffff36;
    width: fit-content;
    padding: 0.25rem;
    padding-left: 0.875rem;
    border-radius: 3.125rem;
    border: 1px solid #ffffff36;
    box-shadow: 0px 4px 24px 0px #0000000D;
    animation: float 3s ease-in-out infinite;
}

.scroll-div>div {
    background-color: var(--brand-light-blue);
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3.125rem;
}

@keyframes float {
    0% {
        box-shadow: 0 5px 15px 0px rgba(35, 35, 35, 0.6);
        transform: translatey(0px);
    }

    50% {
        box-shadow: 0 25px 15px 0px rgba(35, 35, 35, 0.2);
        transform: translatey(-12px);
    }

    100% {
        box-shadow: 0 5px 15px 0px rgba(35, 35, 35, 0.6);
        transform: translatey(0px);
    }
}

.hero-right {
    flex: 1;
    /* max-width: 40.625rem; */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.hero-right-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
}

.hero-p {
    font-family: 'inter', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #DBE3E6;
    letter-spacing: -1px;
    margin: 0;
}

.hero-p>span {
    color: #96A2A8;
}

.hero-right-top>.btn-white {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-right-top>.btn-white div {
    padding-top: 2px;
}

.stats {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid #ffffff36;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat>.big-number {
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 300;
    font-size: 4rem;
    line-height: 100%;
    letter-spacing: -6px;
    margin: 0;
    margin-top: 2rem;
}

.stat>.stat-desc {
    font-family: 'inter', sans-serif;
    font-weight: 200;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #DBE3E6;

}

/* ------------------------------------Social Proof Section------------------------------------ */


.social-proof {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.tag {
    color: var(--brand-navy);
    background-color: #2d3e5545;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    width: fit-content;
    font-family: 'inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.4;
    letter-spacing: -1px;
    border: solid 1px #2d3e5592;
}

.logos-grid {
    display: grid;
    width: 65%;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.logos-grid div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-grid img {
    object-fit: cover;
}

/* ------------------------------------Features Section------------------------------------ */

.features {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: auto;
}

.features-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: start;
    align-items: start;
}

.features-left>p {
    width: 480px;
}

.title-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-right {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 302px;
    background-color: #DCE5EA;
    padding: 2rem;
    border-radius: 1.5rem;
    gap: 3rem;
}

.feature-icon-container {
    width: 100%;
    display: flex;
    justify-content: end;
    overflow: hidden;
}

.feature-content-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-icon {
    background-color: var(--brand-navy);
    border-radius: 100rem;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------------------------------------Services Section------------------------------------ */

.services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.services h2 {
    text-align: center;
}

.services .tag {
    margin: 0 auto;
}

.services p {
    text-align: center;
    max-width: 66rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-expanding-container {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.panel {
    height: 28rem;
    background-color: var(--brand-light-blue);
    border-radius: 1.5rem;
    color: #fff;
    cursor: pointer;
    flex: 0.5;
    transition: all 0.7s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.service-number-container {
    background-color: var(--brand-navy);
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100rem;
    transition: background-color 0.7s ease;
    flex-shrink: 0;
}

.service-number-container>p {
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1;
    width: auto;
}

.panel p {
    text-align: left;
    max-width: 20rem;
}

.panel>.service-cta-container {
    width: fit-content;
    margin-top: auto;
}

.panel.active {
    background-color: var(--brand-navy);
    flex: 5;
}

.panel.active .service-number-container {
    background-color: var(--brand-light-blue);
}

.panel p:not(.service-number-container p),
.panel .service-cta-container {
    opacity: 0;
    transition: opacity 0.1s ease-out;
    pointer-events: none;
}

.panel.active p:not(.service-number-container p),
.panel.active .service-cta-container {
    opacity: 1;
    transition: opacity 0.3s ease-in 0.4s;
    pointer-events: auto;
}

.panel h3 {
    writing-mode: vertical-rl;
    transform: rotate(0deg);
    white-space: nowrap;
    margin-top: 1.5rem;
    margin-left: 1rem;
}

.panel.active h3 {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    margin-top: 0;
    margin-left: 0;
}

.panel>img {
    /* display: none; */
    opacity: 0;
    visibility: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
    /* z-index: -1; */
    transition: all 0.75s ease;
}

.panel.active>img {
    /* display: block; */
    opacity: 1;
    visibility: visible;
    bottom: 0;
    right: 0;
    transition: all 0.75s ease;
    width: 50%;
}

/* ------------------------------------Testimonials Section------------------------------------ */

.testimonials {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.testimonials h2 {
    text-align: center;
}

.testimonials .tag {
    margin: 0 auto;
}

.testimonials p {
    text-align: center;
    max-width: 66rem;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewport {
    overflow: hidden;
}

.track {
    display: flex;
    transition: transform 0.6s ease;
}


.toggler {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: solid 1px var(--black);
    border-radius: 100rem;
    flex-shrink: 0;
    padding: 0;
    background-color: transparent;
}



.toggler:hover {
    background-color: var(--neutral-gray);
}

.arrow-left {
    left: 0;
}

.arrow-right {
    right: 0;
}

.slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex-shrink: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.dots {
    margin-top: 20px;
    text-align: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
    margin: 5px;
}

.dot.active {
    background: black;
}

.toggler.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ------------------------------------FAQ Section------------------------------------ */

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 60%;
}

.faq-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: solid 1px var(--brand-navy-light);
    padding: 1rem 0;
}

.q-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.q-block svg {
    transition: transform 0.3s ease;
}

.faq-item.active .q-block svg {
    transform: rotate(180deg);
}

.a-block {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    pointer-events: none;
}

.a-block p,
.a-block h4,
.a-block ul {
    overflow: hidden;
    margin: 0;
}

.a-block ul li {
    list-style-position: inside;
    margin: 0.25rem;
}

.faq-item.active .a-block {
    grid-template-rows: 1fr;
    pointer-events: auto;
}

/* ------------------------------------Contact Section------------------------------------ */
.container-c>div:nth-child(2) {
    flex: 1;
}

.container-c>div:nth-child(2) svg {
    max-width: 100%;
    height: auto;
}


/* ------------------------------------Footer------------------------------------ */
footer {
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5rem 0 5rem 0;
    background-color: var(--black);
    color: var(--white);
}

footer a {
    color: inherit;
}

.footer {
    display: flex;
    justify-content: space-between;
}

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

.footer-left img {
    width: 10rem;
}

.footer-left>div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.footer-left a {
    transition: all 0.3s ease;
    display: block;
}

.footer-left a:hover {
    color: #b3b3b3;
    transform: scale(1.05);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer-right .social-links {
    display: flex;
    gap: 1rem;
}

.footer-right ul {
    display: flex;
    gap: 2rem;
}

.footer-right li {
    list-style: none;
}

.footer-right a {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-right a:hover {
    color: #b3b3b3;
    transform: scale(1.05);
}



/* ------------------------------------Media Queries------------------------------------ */

/* Large screens */
@media (max-width: 1360px) {

    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 3.25rem;
    }

    /* No changes for h3 */

    .container {
        width: 95%;
    }

    .container-b {
        width: 95%;
    }

    .container-c {
        width: 95%;
    }


    /* ------------------------------------Hero (+ Navigation)------------------------------------ */
    #hero {
        padding: 3rem 1rem;
    }


    .hero-right {
        gap: 5rem;
    }

    /* ------------------------------------Features Section------------------------------------ */

    #features {
        padding: 3rem 1rem;
    }

    .features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .features-left {
        width: 100%;
    }

    .faq-container {
        width: 100%;
    }

    .features-left>p {
        width: auto;
    }

    /* ------------------------------------Services Section------------------------------------ */

    #services {
        padding: 3rem 1rem;
    }

    .panel:nth-child(3) p {
        text-align: left;
        max-width: 14rem;
    }

    /* ------------------------------------Testimonials Section------------------------------------ */

    #testimonials {
        padding: 3rem 1rem;
    }

    /* ------------------------------------FAQ Section------------------------------------ */

    #faq {
        padding: 3rem 1rem;
    }

    /* ------------------------------------Contact Section------------------------------------ */

    #contact {
        padding: 3rem 1rem;
    }

    /* ------------------------------------Footer------------------------------------ */
    footer {
        padding: 3rem 1rem;
    }
}

/* Small laptops */
@media (max-width: 1024px) {

    h1 {
        font-size: 4.25rem;
    }

    h2 {
        font-size: 2.75rem;
    }

    /* No changes for h3 */

    #hero {
        gap: 3rem;
    }

    .hero {
        flex-direction: column;
    }

    .scroll-div {
        display: none;
    }

    /* ------------------------------------Services Section------------------------------------ */
    .services-expanding-container {
        flex-direction: column;
    }

    .panel {
        height: 10rem;
        /* Shrinks to just the padding and circle */
        flex: none;
    }

    .panel.active {
        height: 32rem;
        /* Give wrapped mobile text slightly more room */
    }

    .panel h3 {
        writing-mode: horizontal-tb;
        margin-top: 0;
        /* Glide h3 up and to the right so it rests beside the circle */
        transform: translate(5rem, -3.9rem);
    }

    .panel.active h3 {
        /* Glide h3 back down to its flexbox position */
        transform: translate(0, 0);
    }

    .panel>.service-cta-container {
        margin-top: 1rem;
    }

    .panel>img {
        width: 80%;
        /* Start slightly zoomed for the transition */
    }

    .panel.active>img {
        width: 20rem;
        /* Restrict max size on smaller screens */
    }
}

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

    h1 {
        font-size: 3.5rem;
        letter-spacing: -0.3rem;
        line-height: 110%;
    }

    h2 {
        font-size: 2.25rem;
        letter-spacing: 0;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p,
    a {
        font-size: 0.9rem;
    }


    /* ------------------------------------Hero (+ Navigation)------------------------------------ */
    /* ------------------Navigation------------------ */

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .sidebar {
        width: 100vw;
    }

    /* ------------------Hero------------------ */

    #hero {
        gap: 2rem;
    }

    .hero-right {
        gap: 3rem;
    }

    .hero-p {
        font-size: 1.25rem;
        letter-spacing: 0;
    }

    .stat>.big-number {
        font-size: 3rem;
    }

    .stat>.stat-desc {
        font-size: 1rem;
    }

    /* ------------------------------------Social Proof Section------------------------------------ */
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ------------------------------------Features Section------------------------------------ */
    .features-right {
        flex-direction: column;
        width: 100%;
    }

    .feature-card {
        width: 100%;
    }

    /* ------------------------------------Services Section------------------------------------ */
    .panel {
        padding: 1rem;
        height: 6rem;
    }

    .panel.active {
        padding: 1.25rem;
    }

    .panel>.service-cta-container {
        margin-bottom: 1rem;
    }

    .panel.active>img {
        width: 15rem;
        /* Restrict max size on smaller screens */
    }

    /* ------------------------------------Testimonials Section------------------------------------ */
    .testimonials {
        gap: 2rem;
    }

    /* ------------------------------------Contact Section------------------------------------ */
    .container-c {
        flex-direction: column;
        gap: 1rem;
    }

    .container-c>div:nth-child(2) {
        display: none;
    }

    .container-c>div:nth-child(3) {
        width: fit-content;
        height: max-content;
    }

    /* ------------------------------------Footer Section------------------------------------ */
    .footer {
        flex-direction: column;
        gap: 3rem;
        justify-content: center;
    }

    .footer-left {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-right ul {
        gap: 3rem;
        padding: 0;
    }

    .footer-right .social-links {
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    h1 {
        font-weight: 300;
        font-size: 3rem;
        letter-spacing: -0.15rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        width: 90%;
    }

    .sidebar li .dropdown li a {
        font-size: 1.5rem;
    }

    .sidebar li a {
        font-size: 1.5rem;
    }

    .hero-right-top>.btn-white {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .stat>.big-number {
        font-size: 2rem;
        letter-spacing: -0.2rem;
    }

    /* ------------------------------------Features Section------------------------------------ */
    .features {
        padding: 2rem 1.5rem;
    }

    /* ------------------------------------Services Section------------------------------------ */

    .services {
        gap: 2rem;
    }

    .panel h3 {
        writing-mode: horizontal-tb;
        margin-top: 0;
        /* Glide h3 up and to the right so it rests beside the circle */
        transform: translate(3.5rem, -3.9rem);
    }

    .panel.active {
        height: 15rem;
    }

    .panel.active>img {
        display: none;
    }

    .panel p {
        text-align: left;
        max-width: 100%;
    }

    .panel:nth-child(3) p {
        max-width: 100%;
    }

    .btn-navy {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    /* Testimonial Section */

    .carousel {
        flex-direction: column;
        gap: 2rem;
    }

}