/* Footer Section - Opened */

.footer-main {
    width: 100%;
    color: #fff;
    padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(1.1rem, 2.3vw, 2.4rem) 0;
    font-family: 'Golos Text', Helvetica, Arial, sans-serif;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 95%;
    max-width: 75rem;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    /* gap: clamp(1.9rem, 10vw, 4.2rem); */
    flex-wrap: wrap;
    position: relative;
}




/* Footer Left - Opened */


.footer-left {
    flex: 1 1 clamp(13rem, 38vw, 29rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    /* This ensures all children are left-aligned */
    margin-top: clamp(5rem, 10vw, 8rem);
    padding-top: clamp(4rem, 1vw, 7.4rem);
    margin-left: 5%;
}

.footer-logo {
    width: 260px;
    margin-bottom: -1rem;
    max-width: 100%;
    height: auto;
    margin-left: -8px;
    /* Remove if any auto margin */
    display: block;
}


.footer-tagline {
    font-weight: 500;
    color: #ffffff;
    font-size: 1.04rem;
    margin-bottom: 0.2rem;
}

.footer-address {
    color: #ffffff;
    font-size: clamp(1rem, 0.8vw, 1rem);
    font-weight: 400;
    margin-bottom: 1.15rem;
    line-height: clamp(1.22, 2vw, 1.38);
    text-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: clamp(2rem, 7vw, 5rem);
    /* flex-wrap: wrap; */
}




.footer-links>div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}




.footer-links a {
    color: #fff;
    font-size: clamp(0.8rem, 0.8vw, 1rem);
    text-decoration: none;
    margin-bottom: 0.15rem;
    transition: color 0.23s;
}


.footer-links a:hover {
    color: #ffb491;
}


.footer-contact-row {
    display: flex;
    gap: 2.6rem;
    align-items: center;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: clamp(0.96rem, 1.7vw, 1.13rem);
}



.footer-socials {
    margin-top: 1.1rem;
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    transform: 1s cubic-bezier(.42, 0, .46, 1.15);
}



.footer-socials a {
    color: #fff;
    font-size: clamp(1rem, 1vw, 2rem);
    transition: color 0.22s;
}


.footer-socials a:hover {
    color: #ff865e;
    transform: scale(1.3);
}


.footer-right {
    flex: clamp(14rem, 40vw, 30rem);
    min-height: 31vh;
    margin-top: 0;
    padding-top: 0;
    max-width: 100%;
}


.footer-bottom {
    margin-top: 1.5rem;
    color: #eee;
    font-size: clamp(0.5rem, 0.5vw, 0.8rem);
    text-align: center;
    opacity: 0.76;
}


.footer-socials a i {
    font-weight: 400;
    /* Use Regular instead of Solid if possible */
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: clamp(0.8rem, 0.8vw, 1rem);
    cursor: none;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff561d;
    border-radius: 50%;
    width: clamp(2.1rem, 2vw, 2.7rem);
    height: clamp(2.1rem, 2vw, 2.7rem);
    transition:
        background 0.6s cubic-bezier(.42, 0, .46, 1.15),
        color 0.6s cubic-bezier(.42, 0, .46, 1.15),
        transform 0.6s cubic-bezier(.42, 0, .46, 1.15);
}

.contact-icon i {
    color: #fff;
    font-size: clamp(1rem, 1vw, 1rem);
    transition: color 0.2s cubic-bezier(.42, 0, .46, 1.15);
}

/* Icon hover (when user hovers the icon directly) */
.contact-icon:hover,
.contact-link:hover .contact-icon {
    background: #fff;
    color: #ff561d;
    transform: scale(0.9);
}

.contact-icon:hover i,
.contact-link:hover .contact-icon i {
    color: #ff561d;
}

/* Text hover (when user hovers the text directly) */
.contact-text {
    transition: color 0.22s cubic-bezier(.42, 0, .46, 1.15), font-weight 0.22s;
}

.contact-text:hover,
.contact-link:hover .contact-text {
    color: #ff561d;
    font-weight: 600;
}

/* Footer Left - Closed */




/* Footer Right + Pop up Form - Opened */


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.596);
    /* dark translucent */
    backdrop-filter: blur(0.6vw);
    /* blur behind */
    -webkit-backdrop-filter: blur(6vw);
    /* Safari support */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.popup-content {
    background: #fff;
    border-radius: clamp(0.8rem, 2vw, 1.35rem);
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.18);
    padding: clamp(3rem, 5vw, 2.9rem) clamp(2rem, 5vw, 3.1rem) clamp(1rem, 5vw, 2.9rem) clamp(2rem, 4vw, 3.1rem);
    width: min(93vw, 35rem);
    min-width: 0;
    position: relative;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;

}

.close-btn {
    position: absolute;
    right: 18px;
    top: 18px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #ff584a;
    cursor: pointer;
}

.form-heading {
    margin-bottom: 18px;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.talk-with-expert {
    color: #e65b37;
    font-weight: 500;
    font-size: clamp(0.875rem, 1.2vw, 1.2rem);
    margin-bottom: 7px;
}

.main-title {
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fb4144;
    font-size: clamp(2rem, 2vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.input-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eea2ab;
    margin-bottom: 16px;
    padding-bottom: 2px;
    transition: border-color 0.22s;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    gap: clamp(0.3rem, 1vw, 1rem);
    width: 100%;
}

.input-row:focus-within {
    border-color: #f4556b;
}

.input-row i {
    color: #ff6b5e;
    font-size: 1.2rem;
    width: 1vw;
    text-align: center;
    margin-bottom: -1%;
}

.input-row input,
.input-row textarea {
    border: none;
    outline: none;
    flex: 1;
    padding: clamp(0.4rem, 0.5vw, 0.9rem) clamp(0.4rem, 0.6vw, 1.2rem);
    background: transparent;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #eb3e2b;
}

.input-row textarea {
    vertical-align: middle;
    align-self: center;
    padding-top: 13px;
}

.gradient-submit {
    width: 100%;
    margin-top: 28px;
    padding: 14px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #fc615a 0%, #8c63fe 100%);
    border-radius: 13px;
    box-shadow: 0 2px 16px rgba(252, 97, 90, 0.07);
    border: none;
    cursor: pointer;
    transition: transform 0.08s, box-shadow 0.21s;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.gradient-submit:hover {
    transform: scale(1.027);
    box-shadow: 0 7px 24px rgba(140, 99, 254, 0.445);
}

.message-row i {
    align-self: flex-start;
    margin: 0%;
}


.message-row>textarea {
    margin-top: -3.2%;
    padding-bottom: 10%;
}

.message-row {
    align-items: center;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.popup-overlay.show .popup-content {
    transform: scale(1);
    opacity: 1;
}



.white-pad {
    background: #fff;
    border-radius: clamp(0.8rem, 2vw, 1.35rem);
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.18);
    padding: clamp(1.4rem, 5vw, 2.9rem) clamp(1rem, 5vw, 3.1rem) clamp(1.3rem, 4vw, 2.1rem) clamp(1rem, 4vw, 3.1rem);
    width: 100%;
    max-width: 37rem;
    position: relative;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transform: scale(0.8);
    margin-left: 10%;
    /* push to right edge of container */
    margin-right: 0;
}


/* Footer Right + Pop up Form - Opened */


/* Footer Section - Opened */





/* Menu Overlay - Opened */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(1vw);
    -webkit-backdrop-filter: blur(1vw);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}


.menu-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Menu Overlay - Closed */


/* Hide popup until JS shows it */
#strategyCallPopup {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

#strategyCallPopup.show {
    display: flex;
    /* or block depending on your layout */
    opacity: 1;
    visibility: visible;
}

/* Prevent flicker of popup or menu during initial paint */
body:not(.js-ready) #strategyCallPopup {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}













@media (max-width: 800px) {
    .popup-content {
        scale: 0.8;
    }

    .footer-right {
        display: none;
    }

    .footer-socials {
        display: flex;
        margin-left: -2%;
        justify-content: center;
        width: 100%;
    }

    .input-row {
        gap: 1.5rem;
    }
}


@media (min-width: 550px) and (max-width: 800px) {
    .footer-main {
        transform: scale(0.9);
    }

    .footer-left {
        margin-left: 0%;
        margin-top: -28%;
    }
}


@media (min-width: 449px) and (max-width: 550px) {
    .footer-main {
        transform: scale(0.8);
    }

    .footer-left {
        margin-left: 0%;
        margin-top: -55%;
    }



}


@media (min-width: 370px) and (max-width: 449px) {
    .footer-main {
        transform: scale(0.8);
    }

    .footer-left {
        margin-left: 0%;
        margin-top: -125%;
    }



}

@media (min-width: 321px) and (max-width: 369px) {
    .footer-main {
        transform: scale(0.7);
            margin-top: -45vh;
    }

    .footer-left {
        margin-left: 0%;
    
    }

        .footer-left {
        margin-left: -5%;
        margin-top: -35%;
    }



}





@media (min-width: 800px) and (max-width: 1100px) {
    .input-row {
        gap: 1rem;
    }
}





@media (min-width: 600px) and (max-width: 760px) {
    .message-row>textarea {
        margin-top: -2.7%;
    }
}


@media (min-width: 340px) and (max-width: 420px) {
    .message-row>textarea {
        margin-top: -5%;
    }
}



@media (min-width: 420px) and (max-width: 600px) {
    .message-row>textarea {
        margin-top: -3%;
    }
}




@media (max-width: 800px) {
    .footer-right {
        display: none;
    }
}