@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
    font-size: 16px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14.625rem;
    /* 234px / 16 */
    height: 2.782rem;
    /* 44.518px / 16 */
    flex-shrink: 0;
    background-color: #90ca5a;
    color: #fff;
    text-decoration: none;
    border-radius: 3.125rem;
    /* 50px / 16 */
    font-family: Roboto;
    font-size: 0.822rem;
    /* 13.157px / 16 */
    font-weight: 700;
    line-height: 0.857rem;
    /* 13.706px / 16 */
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14.625rem;
    /* 234px / 16 */
    height: 2.782rem;
    /* 44.518px / 16 */
    flex-shrink: 0;
    background-color: #956455;
    color: #fff;
    text-decoration: none;
    border-radius: 3.125rem;
    /* 50px / 16 */
    font-family: Roboto;
    font-size: 0.822rem;
    /* 13.157px / 16 */
    font-weight: 700;
    line-height: 0.857rem;
    /* 13.706px / 16 */
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.button-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14.625rem;
    /* 234px / 16 */
    height: 2.782rem;
    /* 44.518px / 16 */
    flex-shrink: 0;
    /* background-color: #956455; */
    color: #956455;
    text-decoration: none;
    border-radius: 3.125rem;
    /* 50px / 16 */
    font-family: Roboto;
    font-size: 0.822rem;
    /* 13.157px / 16 */
    font-weight: 700;
    line-height: 0.857rem;
    /* 13.706px / 16 */
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    border-radius: 3.125rem;
    border: 0.13rem solid #956455;
}

.button-secondary-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14.625rem;
    /* 234px / 16 */
    height: 2.782rem;
    /* 44.518px / 16 */
    flex-shrink: 0;
    background-color: #77ADDA;
    color: #fff;
    text-decoration: none;
    border-radius: 3.125rem;
    /* 50px / 16 */
    font-family: Roboto;
    font-size: 0.822rem;
    /* 13.157px / 16 */
    font-weight: 700;
    line-height: 0.857rem;
    /* 13.706px / 16 */
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.button-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

h2 {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.3125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.01163rem;
    /* 77.075% */
}

.logo {
    width: 8rem;
    height: 3.125rem;
    margin: 3.625rem auto 2.75rem auto;

}

.logo-link {
    margin: 3.625rem auto 2.75rem auto;
}

.full-width {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    max-width: 348px;
    margin: 0 auto;
}

.background-brown {
    padding: 0;
    margin: 0;
    background-image: url('../images/background-brown.webp');
    background-repeat: round;
    background-size: cover;
    height: 57.8125rem;
}

#hero h1 {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 2.384rem;
    /* 38.139px / 16 */
    font-style: normal;
    font-weight: 700;
    line-height: 2.352rem;
    /* 37.63px / 16 */
    /* 98.667% */
    margin: 0 auto 2rem auto;
}

#hero p {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 1.025rem;
    /* 16.394px / 16 */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 1.3125rem auto 2rem auto;
}

#offer-content {
    width: 21.75rem;
    ;
    height: 86.6875rem;
    border-radius: 0.445rem;
    background: #FFF;
    transform: translateY(-21.8125rem);
}

#offer-content h2 {
    margin: 2rem auto
}


/* General overlay for animations */
.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    /* Controls visibility of the effect */
    z-index: 0;
    pointer-events: none;
    /* Allows clicks to go through */
    border-radius: inherit;
    mix-blend-mode: overlay;
}

#track-optimise::before {
    background: url('../images/animations/lava-texture.webp');
    /* Or use your own lava texture */
    background-size: 200% 200%;
    animation: lava-flow 60s linear infinite;
}

@keyframes lava-flow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

#top-mauritian-network::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: inherit;
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    /* This ensures the image covers the container properly */
    background-repeat: no-repeat
}


#top-mauritian-network::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: inherit;
    /* mix-blend-mode: overlay; */
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    /* This ensures the image covers the container properly */
    background-repeat: no-repeat
}

/* Sun rays - static or subtle rotation */
#top-mauritian-network::before {
    margin-top: 1px;
    background-image: url('../images/animations/bokeh.webp');
    background-size: 120% 120%;
    /* Slightly larger for smooth movement */
    animation: bokeh-slide-fade 12s ease-in-out infinite;
}

/* Sun glow - fading in and out */
#top-mauritian-network::after {
    background-image: url('../images/animations/sun-rays.webp');
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes bokeh-slide-fade {
    0% {
        opacity: 0.1;
        background-position: -15% center;
    }

    50% {
        opacity: 0.6;
        background-position: 15% center;
    }

    100% {
        opacity: 0.1;
        background-position: -15% center;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
        /* Optional: slight scale for more dramatic effect */
    }
}

#smart-local {
    overflow: hidden;
    /* Clip waves to container */
}

#smart-local::before,
#smart-local::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat-x;
    background-size: 200% 100%;
    border-radius: inherit;
    mix-blend-mode: darken;
    z-index: 0;
    pointer-events: none;
}

/* Wave 1 - Moving right with scaling */
#smart-local::before {
    background-image: url('../images/animations/wave.webp');
    opacity: 0.3;
    animation: wave-right-scale 15s ease-in-out infinite;
}

/* Wave 2 - Moving left with scaling */
#smart-local::after {
    background-image: url('../images/animations/wave-2.webp');
    opacity: 0.2;
    animation: wave-left-scale 20s ease-in-out infinite;
}

@keyframes wave-right-scale {
    0% {
        background-position: 0% 0%;
        transform: scale(1);
        opacity: 0.1;
    }

    12.5% {
        background-position: 12.5% 0%;
        transform: scale(1.05);
        opacity: 0.3;
    }

    25% {
        background-position: 25% 0%;
        transform: scale(1.1);
        opacity: 0.4;
    }

    50% {
        background-position: 50% 0%;
        transform: scale(1.2);
        opacity: 0.5;
    }

    75% {
        background-position: 75% 0%;
        transform: scale(1.1);
        opacity: 0.4;
    }

    87.5% {
        background-position: 87.5% 0%;
        transform: scale(1.05);
        opacity: 0.3;
    }

    100% {
        background-position: 100% 0%;
        transform: scale(1);
        opacity: 0.1;
    }
}

@keyframes wave-left-scale {
    0% {
        background-position: 100% 0%;
        transform: scale(1);
        opacity: 0.05;
    }

    12.5% {
        background-position: 87.5% 0%;
        transform: scale(1.08);
        opacity: 0.2;
    }

    25% {
        background-position: 75% 0%;
        transform: scale(1.15);
        opacity: 0.3;
    }

    50% {
        background-position: 50% 0%;
        transform: scale(1.3);
        opacity: 0.4;
    }

    75% {
        background-position: 25% 0%;
        transform: scale(1.15);
        opacity: 0.3;
    }

    87.5% {
        background-position: 12.5% 0%;
        transform: scale(1.08);
        opacity: 0.2;
    }

    100% {
        background-position: 0% 0%;
        transform: scale(1);
        opacity: 0.05;
    }
}

#data-centric {
    overflow: hidden;
    /* Make sure this is present */
}

#data-centric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/animations/leaves-2.webp');
    background-repeat: no-repeat;
    background-size: 200% 200%;
    /* Much larger background */
    background-position: center center;
    border-radius: inherit;
    mix-blend-mode: overlay;
    z-index: 0;
    pointer-events: none;
    transform-origin: center center;
    animation: leaf-pivot-sway 8s ease-in-out infinite;
}

@keyframes leaf-pivot-sway {
    0% {
        transform: rotate(-10deg) scale(1.1);
        /* Never go below 1.0 */
        opacity: 0.2;
    }

    25% {
        transform: rotate(0deg) scale(1.2);
        opacity: 0.4;
    }

    50% {
        transform: rotate(15deg) scale(1.3);
        opacity: 0.5;
    }

    75% {
        transform: rotate(0deg) scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: rotate(-10deg) scale(1.1);
        opacity: 0.2;
    }
}

/* Make sure text stays above */
.service {
    position: relative;
    z-index: 1;
    border-radius: 3rem;
}

.service {
    width: 18.01906rem;
    height: 18.01906rem;
    /* border-radius: 2rem; */
    padding: 0 2rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.service h1 {
    color: #000;
    /* text-align: center; */
    font-family: Roboto;
    font-size: 5.33325rem;
    font-style: normal;
    font-weight: 300;
    line-height: 3.5rem;
    /* 25.806% */
    opacity: 0.17;
    margin: 1.8125rem 0 2.625rem 0;
}

.service h3 {
    color: #000;
    font-family: Roboto;
    font-size: 1.37631rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.37631rem;
    /* 100% */
    margin: 0 0 0.8125rem 0;
}

.service p {
    color: #000;
    font-family: Roboto;
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#top-mauritian-network {
    background-image: url('../images/top-mauritian-network-background.webp');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

#track-optimise {
    padding: 0 1rem 0 2rem;
    background-image: url('../images/track-optimize-background.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

#smart-local {
    background-image: url('../images/smart-local-background.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

#data-centric {
    background-image: url('../images/data-centric-background.webp');
    background-repeat: no-repeat;
    background-size: cover;
}



.background {
    background-repeat: round;
    background-size: cover;
}

.background-blue-one {
    background-image: url('../images/background-blue-one.webp');
    height: 82.5rem;
}

#offer-content .button {
    margin-top: 0.8rem;
}

.background-blue-two {
    background-image: url('../images/background-blue-two.webp');
    height: 82.5rem;
}

.background-blue-three {
    background-image: url('../images/background-blue-three.webp');
    height: 121.1875rem;
}

#testimonial-videos {
    transform: translateY(-16rem);
}

.video-testimonial {
    width: 16.95313rem;
    height: 19rem;
    margin-bottom: 8rem;
}

.video-testimonial iframe {
    border-radius: 1.36506rem;
}

.video-testimonial p {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 1.05681rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.10088rem;
    /* 104.167% */
}

.video-testimonial .video-testimonial-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 16.95313rem;
    height: 9.027rem;
    flex-shrink: 0;
    border-radius: 1.36506rem;
    background: #736357;
    transform: translateY(-3rem);
}

.video-testimonial .video-testimonial-title-pink {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 16.95313rem;
    height: 9.027rem;
    flex-shrink: 0;
    border-radius: 1.36506rem;
    background: #DAACA5;
    transform: translateY(-3rem);
}

#your-brand {
    transform: translateY(-41rem);
}

#your-brand h2 {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.3125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4375rem;
    /* 109.524% */
    width: 12rem;
}

#your-brand p {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.02438rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 18rem;
    margin-top: 0;
}

#brand-logos {
    background-color: #ffffff;
    padding: 2rem;
    box-sizing: border-box;
    width: 100%;
    border-radius: 1.36506rem;
    margin-bottom: 1rem;
}

#your-brand .button-secondary {
    margin: 1rem 0 0 0;
}

.brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

@media screen and (max-width: 700px) {
    .brand-logos-grid> :nth-last-child(2) {
        grid-column: 2;
    }

    .brand-logos-grid> :nth-last-child(1) {
        grid-column: 3;
    }
}

#brand-logos img {
    max-width: 3.34725rem;
    height: auto;
}

#master-the-platform .button-secondary,
#brand-logos .button-secondary {
    margin: 0.3rem;
}

#master-the-platform {
    transform: translateY(-38.8125rem);
}

#get-in-touch h2,
#master-the-platform h2 {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.3125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4375rem;
    /* 109.524% */
    width: 14rem;
    margin-bottom: 0;
}


#get-in-touch>p,
#master-the-platform p {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.02438rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#master-the-platform iframe {
    width: 100%;
    height: 11.75rem;
    border: none;
    margin-top: 1rem;
    border-radius: 1.3rem;
    margin-bottom: 1.3rem;
}

#get-in-touch {
    transform: translateY(-37rem);
}

#get-in-touch .inline-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#how-to-reach-us {
    transform: translateY(-35rem);
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* max-width: 24.5625rem; */
    margin: 0 auto;
    gap: 1rem;
}

.contact-form p {
    margin: 0;
}

.contact-form .input-design {
    display: flex;
    width: 18.875rem;
    height: 2rem;
    padding: 0.625rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    border-radius: 2.5625rem;
    background: rgba(255, 255, 255, 0.58);
    border: none;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: center;
}

/* Style only the placeholder */
.contact-form .input-design::placeholder {
    color: #B3B3B3;
    text-align: center;
    font-family: Roboto;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact-form .submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14.625rem;
    /* 234px / 16 */
    height: 2.782rem;
    /* 44.518px / 16 */
    flex-shrink: 0;
    background-color: #ffffff;
    color: #90CA5A;
    text-decoration: none;
    border-radius: 3.125rem;
    /* 50px / 16 */
    font-family: Roboto;
    font-size: 0.822rem;
    /* 13.157px / 16 */
    font-weight: 700;
    line-height: 0.857rem;
    /* 13.706px / 16 */
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.inline-buttons input[type="radio"] {
    display: none;
}

/* Default state - all labels use outline style */
.inline-buttons label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14.625rem;
    height: 2.782rem;
    flex-shrink: 0;
    color: #956455;
    text-decoration: none;
    border-radius: 3.125rem;
    font-family: Roboto;
    font-size: 0.822rem;
    font-weight: 700;
    line-height: 0.857rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 0.13rem solid #956455;
    background-color: transparent;
}

/* Selected state - use filled button style */
.inline-buttons input[type="radio"]:checked+label {
    background-color: #956455;
    color: #fff;
    border: 0.13rem solid #956455;
}

#how-to-reach-us a {
    margin: 0.5rem;
}

.offer-content-grid {
    display: contents;
}

.footer {
    height: 70rem;
    background: linear-gradient(to right, #DAADA2, #ECCA76, #F3DD95);
    background-size: 200% 100%;
    /* This is the key! */
    clip-path: polygon(0 10%, 100% 0%, 100% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    color: white;
    font-weight: bold;
    margin-top: -20rem;
    animation: gradientShift 5s ease infinite alternate;
}

.footer>p {
    padding-bottom: 2rem;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.footer-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    grid-template-areas:
        "navs"
        "logo";
}

.logo-footer {
    width: 13.9375rem;
    height: auto;
    grid-area: "logo";
}

.footer-content h4 {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.footer-content a {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.footer-grid-navs {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
    grid-area: navs;
    grid-template-areas:
        "nav1"
        "nav2"
        "nav3"
        "nav4";
    justify-items: center;
    align-items: center;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem
}

.footer-nav1 {
    grid-area: nav1;
}

.footer-nav2 {
    grid-area: nav2;
}

.footer-nav3 {
    grid-area: nav3;
}

.footer-nav4 {
    grid-area: nav4;
}

.footer-follow-us {
    display: flex;
    gap: 1.5rem;
}

.footer>p {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    margin: 0 auto;
}

@media screen and (min-width: 1000px) {

    /* Tablet and desktop styles */
    html {
        font-size: 16px;
    }

    .background-brown {
        background-image: url('../images/background-brown-desktop.webp');
        background-repeat: no-repeat;
        background-size: cover;
        height: 139.625rem;
    }

    .logo {
        width: 11.25rem;
        height: 100%;
    }

    .full-width {
        display: block;
        /* justify-content: center; */
        max-width: 75rem;
        margin: 0 auto;
    }

    .button {
        width: 17.875rem;
        height: 3.75rem;
        font-size: 1.5rem;
    }

    #hero {
        display: flex;
        flex-direction: column;
    }

    #hero h1 {
        font-size: 4.6875rem;
        line-height: normal;
        line-height: 4.625rem;
        margin: 4.875rem 0 2.75rem 0;
    }

    #hero p {
        font-size: 1.5rem;
        line-height: normal;
        width: 56.4375rem;
        margin: 3.875rem 0 3rem 0;
    }

    #offer-content {
        width: 100%;
        height: auto;
        transform: translateY(-95rem);
        min-height: 111.0625rem;
        display: flex;
        flex-direction: column;
    }

    .offer-content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        /* align-items: center; */
        justify-items: center;
    }

    #offer-content h2 {
        font-size: 4.6875rem;
        line-height: normal;
        padding: 3rem 0 4rem 0;
    }

    #offer-content .button {
        transform: translateY(16rem);
        /* width: 36.9375rem; */
        width: auto;
        height: 5.07525rem;
        padding: 0 2rem;
    }

    #offer-content .button-icon {
        width: 2.625rem;
        height: auto;
        /* transform: translateX(-5rem); */
    }


    .service {
        width: 32.73063rem;
        height: 32.73063rem;
        margin: 0;
    }

    .service:nth-child(2),
    /* smart-local */
    .service:nth-child(4)

    /* if you have a 5th item */
        {
        transform: translateY(13rem);
        justify-self: left;
        /* Adjust the value as needed */
    }

    .service:nth-child(1),
    /* smart-local */
    .service:nth-child(3)

    /* if you have a 5th item */
        {
        justify-self: right;
        /* Adjust the value as needed */
    }

    .service h1 {
        font-size: 9.6875rem;
        line-height: normal;
    }

    .service h3 {
        font-size: 2.5rem;
        line-height: normal;
    }

    .service p {
        font-size: 1.5rem;
    }

    .background-blue-one {
        background-image: url('../images/background-blue-one-desktop.webp');
        height: 100.375rem;
    }

    .background-blue-two {
        background-image: url('../images/background-blue-two-desktop.webp');
        height: 98.8125rem;
    }

    .background-blue-three {
        background-image: url('../images/background-blue-three-desktop.webp');
        height: 92.6875rem;
    }

    #testimonial-videos {
        transform: translateY(-84rem);
    }

    #testimonial-videos h2 {
        font-size: 4.6875rem;
        line-height: normal;
        margin: 0;
        padding: 4rem 0 3rem 0;
    }

    .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
        justify-items: center;
        align-items: center;
    }

    .video-testimonial {
        width: 24.0625rem;
        height: calc(35.625rem - 10rem);
    }

    .video-testimonial-title,
    .video-testimonial-title-pink {
        width: 100% !important;
        height: 12.8125rem !important;
    }


    .video-testimonial-title p,
    .video-testimonial-title-pink p {
        font-size: 1.5rem;
        line-height: normal;
        width: 17rem;
    }

    .video-testimonial-first {
        justify-self: right;
    }

    .video-testimonial-second {
        justify-self: left;
    }


    #your-brand {
        transform: translateY(-130rem);
        text-align: center;
        width: 100% !important;
    }

    #master-the-platform {
        transform: translateY(-125rem);
        text-align: center;
        width: 100% !important;
    }

    #get-in-touch {
        transform: translateY(-120rem);
        text-align: center;
        width: 100% !important;
    }

    #get-in-touch .contact-form {
        margin: 2rem auto;
    }

    #how-to-reach-us h2,
    #master-the-platform h2,
    #get-in-touch h2,
    #your-brand h2 {
        font-size: 4.6875rem !important;
        line-height: normal;
        width: 100%;
        margin: 0 auto 1.5rem auto;
    }

    #master-the-platform p,
    #get-in-touch>p,
    #your-brand p {
        font-size: 1.5rem;
        line-height: normal;
        width: 45rem !important;
        margin: 0 auto;
    }

    #brand-logos {
        margin: 3rem auto;

    }

    .brand-logos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
        gap: 1rem;
        justify-items: center;
        margin: 4rem 0;
    }

    .brand-logos-grid img {
        min-width: 7rem !important;
    }

    #your-brand .button-secondary {
        margin: auto 2rem;
    }

    #master-the-platform .button-secondary {
        margin: auto 2rem;
    }

    #get-in-touch .submit-button,
    .button-secondary {
        width: 20.625rem;
        font-size: 1.5rem;
        height: 5.1875rem;
    }

    .button-secondary-outline {
        width: 20.625rem;
        font-size: 1.5rem;
        height: 5.1875rem;
    }

    .inline-buttons label {
        width: 20.625rem;
        height: 5.1875rem;
        font-size: 1.5rem;
    }

    .inline-buttons input[type="radio"]:checked+label {
        width: 20.625rem;
        height: 5.1875rem;
        font-size: 1.5rem;
    }

    .button-secondary .button-icon {
        width: 2.625rem;
        height: auto;
        /* transform: translateX(-5rem); */
    }

    #master-the-platform iframe {
        height: 25.8125rem;
        margin: 3rem auto;
    }

    .input-design {
        width: 54rem !important;
    }

    #get-in-touch .inline-buttons {
        display: flex;
        flex-direction: row;
        gap: 4rem;
        margin: 1rem;
    }

    #how-to-reach-us {
        transform: translateY(-115rem);
        text-align: center;
    }

    #how-to-reach-us .button,
    #how-to-reach-us .button-secondary-blue {
        width: auto;
        width: 26.25rem;
        height: 5.07525rem;
        /* padding: 0 2rem; */
        font-size: 1.5rem;
        margin: 1rem 2rem;
    }

    #how-to-reach-us .button-icon {
        width: 2.625rem;
        height: auto;
        /* transform: translateX(-5rem); */
    }

    .footer {
        height: 42rem;
        background: linear-gradient(to right, #DAADA2, #ECCA76, #F3DD95);
        background-size: 200% 100%;
        /* This is the key! */
        clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
        display: flex;
        align-items: center;
        justify-content: end;
        color: white;
        font-weight: bold;
        margin-top: -20rem;
        animation: gradientShift 5s ease infinite alternate;
    }

    .footer>p {
        margin-bottom: 2rem;
    }

    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }

        100% {
            background-position: 100% 50%;
        }
    }

    .footer-content {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        margin-top: 5rem;
        grid-template-areas: auto;
        grid-template-areas: "logo navs";
        justify-items: left;
        text-align: left;
    }

    .logo-footer {
        width: 18.125rem;
    }

    .footer-content h4 {
        color: #956455;
        /* text-align: center; */
        font-family: Roboto;
        font-size: 1.375rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-align: left;
    }

    .footer-content a {
        color: #956455;
        font-family: Roboto;
        font-size: 1.375rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration: none;
        text-align: left;
    }

    .footer-grid-navs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 2rem;
        column-gap: 5rem;
        text-align: left;
        justify-items: normal;
        align-items: normal;
        grid-template-areas:
            "nav1 nav2"
            "nav3 nav4";
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 0.2rem
    }

    .footer-nav1 {
        grid-area: nav1;
    }

    .footer-nav2 {
        grid-area: nav2;
    }

    .footer-nav3 {
        grid-area: nav3;
    }

    .footer-nav4 {
        grid-area: nav4;
    }

    .footer-follow-us {
        display: flex;
        gap: 1.5rem;
    }

    .follow-is-item {
        margin-top: 0 !important;
    }
}

/* Hide the default radio button */
.wpcf7-radio input[type="radio"] {
    display: none;
}

/* Base styling for the buttons (labels) */
.wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14.625rem;
    height: 2.782rem;
    flex-shrink: 0;
    color: #956455;
    text-decoration: none;
    border-radius: 3.125rem;
    font-family: Roboto;
    font-size: 0.822rem;
    font-weight: 700;
    line-height: 0.857rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 0.13rem solid #956455;
    background-color: transparent;
}

/* Correctly apply filled style when the radio button is checked */
.wpcf7-list-item input[type="radio"]:checked+span.wpcf7-list-item-label {
    background-color: #956455;
    color: #fff;
    border: 0.13rem solid #956455;
}

.wpcf7-radio {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

/* Style for the main error message list container */
.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-validation-errors {
    list-style: none;
    /* Removes the bullet points from the list */
    padding-left: 0;
    /* Removes the default left padding from the list */
    margin: 0;
}

/* Style for the individual error list items */
.wpcf7-response-output.wpcf7-validation-errors li {
    font-size: 0.9rem;
    color: red;
    /* Error text color */
    margin-bottom: 0.5rem;
    /* Adds a bit of space between each error message */
}

/* Style for the error message text below each field */
.wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: red;
    display: block;
    margin-top: 0.5rem;
}

/* Style for the input field when it has an error */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: red !important;
}

/* Media queries for larger screens */
@media screen and (min-width: 1280px) {
    .wpcf7-list-item-label {
        width: 20.625rem;
        height: 5.1875rem;
        font-size: 1.5rem;
    }

    .wpcf7-list-item input[type="radio"]:checked+span.wpcf7-list-item-label {
        width: 20.625rem;
        height: 5.1875rem;
        font-size: 1.5rem;
    }

    .wpcf7-radio {
        display: flex;
        flex-direction: row;
        gap: 4rem;
        margin: 1rem;
    }
}

.screen-reader-response {
    display: none;
}

@media screen and (min-width: 1000px) and (max-width: 1280px) {
    html {
        font-size: 12px;
    }

    .brand-logos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)) !important;
        gap: 1rem;
        justify-items: center;
        margin: 4rem 0;
    }
}

.generated-footer {
    display: none !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-spinner {
    display: block !important;
    margin: 0 auto !important;
    margin-top: 0.5rem !important;
}

.grecaptcha-badge {
    display: none !important;
}

.contact-form p {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.02438rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 0.5rem;
}

.contact-form a {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.02438rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 0.5rem;
}

.wpcf7-response-output {
    color: #956455;
    text-align: center;
    font-family: Roboto;
    font-size: 1.02438rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 0.5rem;
    border: solid #956455 !important;
    border-radius: 2rem;
    padding: 1rem !important;
}