/* ======== 1. Global Styles & Variables ======== */
:root {
    --primary-color: #183b83;
    --first-color: #1E4FD8;
    /* Dark Blue from screenshots */
    --secondary-color: #0B1F3B;
    /* Green from hero */
    --light-green-bg: #FFFFFF;
    /* Light green from FAQ */
    --light-blue-bg: #E9EEF5;
    /* Lighter blue for inputs */
    --text-dark: #2A2F36;
    --text-light: #E9EEF5;
    --bg-light: #ffffff;
    --bg-accent: #f4f7fa;
    --border-color: #ddd;
}

@font-face {
    font-family: wafeq_semibold;
    src: url(../fonts/Wafeq-SemiBold.otf);
}

@font-face {
    font-family: wafeq_medium;
    src: url(../fonts/Wafeq-Medium.otf);
}

@font-face {
    font-family: wafeq_light;
    src: url(../fonts/Wafeq-Light.otf);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: wafeq_semibold;
    line-height: 1.7;
    background-color: var(--bg-light);
    color: var(--text-dark);
    direction: ltr;
    /* Right-to-Left */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 15px;
    font-family: wafeq_medium;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* ======== 2. Utility Classes (Buttons) ======== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: wafeq_medium;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn.btn-light {
    background-color: #fff;
    color: var(--primary-color);
}

.btn.btn-small {
    width: 155px;
    text-align: center;
    border-radius: 41px;
    font-size: 0.9rem;
    padding: 10px;
}

.btn.btn-small:hover {
    width: 155px;
    color: #fff;
    text-align: center;
    border-radius: 41px;
    font-size: 0.9rem;
}

.btn.btn-apply {
    background-color: var(--secondary-color);
}

/* ======== 3. Header ======== */
/* ======== 3. Header ======== */
.header {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 7px 7px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    /* The header is sticky and below the mobile menu overlay */
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    /* Make sure logo is on top of the overlay */
    position: relative;
    z-index: 1002;
}

.logo img {
    width: 130px;
    height: auto;
}

.nav-links {
    display: none;

    /* --- Mobile menu overlay styles --- */
    position: fixed;
    /* Start overlay from the very top */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    /* Push links down to avoid being hidden by the header */
    padding-top: 100px;
    /* Adjust this value if your header is taller/shorter */

    gap: 30px;

    /* Overlay must be ON TOP of the sticky header */
    z-index: 1001;
}

/* Active state for the mobile menu */
.nav-links.active {
    display: flex;
    /* Show the menu */
}

.nav-links a {
    font-weight: 700;
    transition: color 0.2s ease;
    font-size: 1.5rem;
    /* Make links bigger for mobile */
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    width: 50px;
    height: 50px;
}

/* Icon toggling styles */
i.fas.fa-bars,
i.fas.fa-times {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.menu-toggle .fa-times {
    display: none;
    /* Hide close icon by default */
}

.menu-toggle.active .fa-bars {
    display: none;
    /* Hide bars icon when active */
}

.menu-toggle.active .fa-times {
    display: block;
    /* Show close icon when active */
}


/* ======== 11. Responsive Media Queries ======== */

/* Tablet & Desktop */
@media (min-width: 768px) {


    .header .container {
        max-width: 90%;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        backdrop-filter: none;
        padding-top: 0;
        gap: 25px;
        z-index: auto;
        /* Reset z-index */
    }

    .nav-links.active {
        display: flex;
        /* It's always flex on desktop */
    }

    .nav-links a {
        font-size: 1rem;
        /* Reset font size for desktop */
    }

    .menu-toggle {
        display: none;
        /* Hide the hamburger menu on desktop */
    }

    .logo {
        z-index: auto;
        /* Reset logo z-index */
    }

    .logo img {
        width: 180px;
        height: auto;
    }

}

/* ======== 4. Hero Section ======== */
.hero {
    padding: 10px 0;
    /*background: linear-gradient(90deg, var(--primary-color) 0%, #4ba76b 100%);*/
    background-image: url("../images/mobile.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 625px;
    color: #fff;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 0;
}

.hero-content {
    padding: 20px 0 0;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

.hero-content h1 span {
    font-size: 2rem;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.hero-content .btn-light {
    border-radius: 41px;
    background-color: #fff;
    width: 250px;
    color: var(--secondary-color) !important;
    text-align: center;
    padding: 10px;
}

.hero-image img {
    max-width: 300px;
    border-radius: 15px;
}

/* ======== 5. Form Section ======== */
.form-section {
    text-align: center;
}


.form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 37px;
    max-width: 900px;
    box-shadow: 0 4px 7px 7px rgba(0, 0, 0, 0.05);
    margin: 30px auto 0;
    padding: 40px 20px 40px;
}

.form-section input,
.form-section textarea,
.form-section select {
    width: 100%;
    height: 60px;
    text-align: left;
    padding: 8px 15px;
    border-radius: 37px;
    font-family: wafeq_medium;
    font-size: 1rem;
    border: none;
    /* Per your request: lighter blue background */
    background-color: var(--light-blue-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-section textarea{
    padding: 20px 15px 15px 15px;
}

.form-section input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-section button {
    width: 100%;
    display: block;
    font-size: 1.1rem;
    margin: 20px auto auto;
    background-color: var(--secondary-color);
    border-radius: 41px;
    height: 50px;
    padding: 0;
}

/* ======== 6. Services Section ======== */
.services {
    text-align: center;
    z-index: 1;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    /* Makes it cover the top half */
    background-color: var(--secondary-color);
    border-radius: 30px 30px 0 0;
    z-index: -1;
}

.services-grid {
    display: block;
    /*
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    */
}

.services-swiper {
    padding: 40px 10px 60px;
    /* Space for shadows and pagination */
}

.services-swiper .swiper-slide {
    height: auto;
    /* Allows cards to stretch to the tallest one */
    display: flex;
}

.services-title {
    color: #fff;
}

.service-card {
    background: #fff;
    padding: 20px;
    margin: auto 20px;
    border-radius: 37px;
    box-shadow: 0 5px 7px 7px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
    /* Swiper handles spacing via spaceBetween */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.services-pagination .swiper-pagination-bullet {
    background-color: #ffffff;
    opacity: 0.7;
}

.services-pagination .swiper-pagination-bullet-active {
    background-color: var(--text-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 7px 7px rgba(0, 0, 0, 0.08);
}

.service-card .icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
}

.service-card h3,
.service-card p {
    color: var(--text-dart);
}

/* ======== Vendor Section Styles ======== */
.vendors-section {
    padding: 40px 0 20px;
    margin: 20px auto;
    background-color: var(--secondary-color); /* Dark Blue from site.css */
    overflow: hidden;
}

.vendors-section .section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.vendors-swiper {
    padding: 20px 10px 60px !important;
}

.vendor-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 25px;
    padding: 30px 20px;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

/* Background Variations to match your theme */
.v-green { background-color: #0a3d2e; }
.v-blue { background-color: #0a1f61; }
.v-green-mid { background-color: #0d422a; }
.v-blue-mid { background-color: #0b2d8c; }
.v-green-dark { background-color: #06241a; }

.vendor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vendor-logo {
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.vendor-logo img {
    max-width: 140px;
    height: auto;
    filter: brightness(0) invert(1); /* Makes placeholders/logos white */
}

/* The Stepped Cutout Design */
.vendor-image-box {
    width: calc(100% + 40px);
    margin-left: -20px;
    height: 180px;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 20%, 60% 20%, 60% 0, 100% 0, 100% 100%, 0 100%);
}

.vendor-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vendor-card:hover .vendor-image-box img {
    transform: scale(1.1);
}

/* Swiper Pagination Styling */
.vendors-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.vendors-pagination .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .vendors-section {
        padding: 20px 0;
    }    
    .vendor-card {
        padding: 20px 15px 0;
    }
    .vendor-image-box {
        height: 140px;
    }
}

/* ======== 7. Why Us Section ======== */
.why-us {
    padding: 20px 0 0;
    overflow: hidden;
}

.why-us .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding: 0;
}

.why-us-image {
    text-align: center;
}

.why-us-image img {
    max-width: 100%;
}

.why-us ul {
    width: 100%;
    margin-top: 40px;
    padding: 0;
}

.why-us ul li {
    display: flex;
    align-items: left;
    width: 95%;
    gap: 0;
    padding: 0 15px;
    box-shadow: 0 4px 7px 7px rgba(0, 0, 0, 0.05);
    border-radius: 37px;
    margin: auto auto 25px auto;
}

.why-us .icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    color: var(--secondary-color);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.why-us .text-content h4 {
    color: var(--dark-text);
    margin-bottom: 5px;
    font-size: 12px;
    text-align: left;
    font-weight: 400;
}

.why-us .text-content h4 span {
    font-weight: 700;
}

.why-us .text-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}


/* ======== 8. FAQ Section (Swiper) ======== */
.faq {
    background-color: var(--secondary-color);
}

.faq .container {
    max-width: 100%;
}

.faq h2 {
    color: #fff;
    text-align: center;
}

.faq-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
    /* Space for pagination */
}

.faq .faq-swiper .swiper-wrapper {
    height: auto;
}

.faq .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;

    /* Per your request: "zoom in the active slide" */
    /* Non-active slides are smaller and faded */
    transform: scale(1);
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.faq .swiper-slide-active {
    /* Active slide is full size and opaque */
    transform: scale(1);
    opacity: 1;
    z-index: 10;
}

.faq-card {
    background-color: #fff;
    color: var(--text-dark);
    border-radius: 37px;
    padding: 30px;
    width: 100%;
    text-align: center;
    min-height: 250px;
}

.faq-card img {
    width: 68px;
    height: 68px;
    margin: auto;
}

.faq-card h4 {
    color: var(--secondary-color);
    font-size: 30px;
}

/* Swiper pagination styles */
.faq .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.faq .swiper-pagination-bullet-active {
    background-color: #fff;
    width: 12px;
    height: 12px;
}

/* ======== 9. CTA Section ======== */
.cta {
    text-align: center;
    background-color: var(--secondary-color);
}

.cta h2 {
    margin-bottom: 25px;
    font-size: 40px;
    color: var(--text-light);
}

.cta .btn {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-radius: 41px;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 80%;
}

.cta .btn:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--text-light);
    color: var(--text-light);
}


/* ======== 10. Footer ======== */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    position: relative;
    text-align: center;
    overflow-x: hidden;
    padding: 40px 0;
    min-height: 350px;
}

/* .footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 70px;
    background-image: url("../images/shape2-01 1.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
} */

.footer .container {
    max-width: 100%;
    padding: 0;
}

.footer .footer-flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin: auto 20px;
}

.footer .footer-flex div {
    margin: 10px auto;
    text-align: center;
}

.footer .footer-flex div a {
    color: #fff;
}

.footer .footer-flex .footer-flex-info {
    max-width: 100%;
}

.footer .footer-flex .footer-flex-info img {
    width: 250px;
    margin: auto;
    filter: brightness(0) invert(1);
}

.footer-flex-services,
.footer-flex-contact,
.footer-flex-social {
    align-self: center;
}

.footer-flex-contact p {
    direction: ltr;
}

.footer-flex-services ul {
    list-style-type: none;
}

.footer-flex-services ul li {
    text-align: center;
}

.footer-flex-logo {
    align-self: center;
}

.footer-flex-logo img {
    max-width: 120px;
    margin: 10px auto;
}

.footer .sm-container a i {
    color: #fff;
    font-size: 30px;
    margin: auto 5px;
}

.footer h2,
h3,
h4 {
    color: #ffffff;
    text-align: center;
}

.footer p {
    color: #ffffff;
    margin: 0;
    text-align: center;
}

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


/* ======== 11. Responsive Media Queries ======== */

::placeholder {
    font-family: wafeq_medium;
    color: #3E3E3E;
}

/* Tablet */
@media (min-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero {
        background-image: url("../images/Desktop.webp");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 700px;
    }

    .hero .container {
        flex-direction: row;
        text-align: left;
        min-width: 90%;
        justify-content: space-between;
    }

    .hero-content {
        flex: 1;
        margin-top: 6vw;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content h1 span {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.6rem;
    }

    .hero-content .btn-light {
        width: 300px;
        margin-top: 1.5rem;
        font-size: 20px;
        padding: 10px;
    }

    .hero-image {
        flex: 0.8;
    }

    .hero-image img {
        max-width: 100%;
    }

    .form-section .container {
        max-width: 90%;
    }

    .form-section form {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 90%;
        padding: 40px 100px;
    }

    .form-section input,
    .form-section select {
        flex: 1 1 45%;
        /* Two inputs per row */
        margin: 20px 2%;
        padding: 15px;
        max-width: 45%;
    }
    .form-section textarea{
        flex: 1 1 95%;
        height: 120px;
        margin: 20px 2%;
        padding: 20px 15px 15px 20px;
        max-width: 95%;        
    }

    .form-section button {
        flex: 0 0 45%;
        margin: 20px auto;
        width: 45%;
    }

    .services .container {
        max-width: 95%;
    }

    .services::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 60%;
        /* Makes it cover the top half */
        background-color: var(--secondary-color);
        border-radius: 70px 70px 0 0;
        z-index: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 30px 20px;
        margin: auto;
        min-height: 450px;
    }

    .services-pagination .swiper-pagination-bullet-active {
        background-color: var(--secondary-color);
    }

    .service-card p {
        font-size: 16px;
    }

    .why-us {
        padding: 0;
    }

    .why-us .container {
        flex-direction: row;
        padding: 0;
    }

    .why-us ul li {
        width: 85%;
        padding: 0;
        background-color: #fff;
        margin: auto auto 25px 0;
        gap: 20px;
    }

    .why-us .text-content h4 {
        font-size: 18px;
        text-align: left;
    }

    .why-us-content {
        flex: 1;
        text-align: left;
        transform: translateX(50px);
    }

    .why-us-content h2 {
        font-size: 60px;
    }

    .why-us-image {
        flex: 1;
    }

    .why-us-image img {
        max-width: 100%;
        float: right
    }

    /* Per your request: 1 slide on mobile (default), 2 on tablet */
    .faq .swiper-slide {
        /* On desktop, make ALL slides small by default */
        transform: scale(0.85);
        opacity: 0.5;
    }

    .faq .swiper-slide-next {
        /* Make the CENTER slide (the next one) BIG */
        transform: scale(1);
        opacity: 1;
        z-index: 10;
    }

    .cta h2 {
        font-size: 60px;
    }

    .cta .btn {
        font-size: 20px;
        width: 300px;
    }

    .footer {
        background-color: var(--secondary-color);
        color: #fff;
        position: relative;
        text-align: center;
        padding: 40px 0;
        min-height: 350px;
    }

    /* .footer::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: -3%;
        width: 400px;
        height: 150px;
        background-image: url("../images/shape2-01 1-1.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .footer::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 400px;
        height: 150px;
        background-image: url("../images/shape2-01 1.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    } */

    .footer .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .footer .footer-flex {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: row;
        margin: auto 20px;
    }

    .footer .footer-flex div {
        margin: 0 20px;
    }

    .footer .footer-flex .footer-flex-info {
        max-width: 30%;
    }

    .footer .footer-flex .footer-flex-info img {
        width: 200px;
        margin: 0;
    }

    .footer-flex-services,
    .footer-flex-contact,
    .footer-flex-social {
        margin: auto 20px;
        align-self: center;
    }

    .footer-flex-services ul {
        list-style-type: none;
    }

    .footer-flex-services ul li {
        text-align: left;
    }

    .footer-flex-logo img {
        max-width: 120px;
        margin: 10px auto;
    }

    .footer .sm-container a i {
        color: #fff;
        font-size: 30px;
        margin: auto 5px;
    }

    .footer h2,
    h3,
    h4 {
        color: #ffffff;
        text-align: center;
    }

    .footer h3 {
        text-align: left;
    }

    .footer p {
        color: #ffffff;
        margin: 0;
        text-align: left;
    }

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

}



/* Desktop */
@media (min-width: 1024px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding: 100px 0;
    }

    .hero-content {
        flex: 0.6;
    }

    .hero-image {
        flex: 0.4;
    }

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

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 on desktop */
    }

    /* Per your request: 3 slides on desktop */
}

@media (min-width: 1624px) {

    .hero {
        min-height: 880px;
    }

    .why-us ul li {
        width: 80%;
    }

}



/* --- START: Custom Select CSS (From Reference) --- */

.custom-select-container {
    position: relative;
    width: 100%;
    font-size: 16px;
}

.custom-select-trigger {
    outline: none;
    border-radius: 37px;
    /* Pill shape */
    padding: 0 1rem;
    height: 40px;
    width: 100%;
    cursor: pointer;
    background-color: var(--light-blue-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 7px 7px rgba(0, 0, 0, 0.05);
}

.custom-select-value {
    font-size: inherit;
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-value.is-placeholder {
    color: #000000;
    /* Match input placeholder color */
}

.custom-select-arrow {
    font-size: 12px;
    color: #000000;
    transition: transform 0.2s ease;
    margin-left: 0.5rem;
}

.custom-select-container.is-open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    border: 1px solid #e0e0e0;
    outline: none;
    border-radius: 20px;
    /* Slightly less rounded for list */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    font-size: inherit;
    color: #333;
    font-weight: 500;
    background-color: white;
    padding: 10px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-out;
    list-style: none;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

/* The "Flip Up" Class */
.custom-select-options.is-above {
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateY(-10px);
}

.custom-select-container.is-open .custom-select-options.is-above {
    transform: translateY(0);
}

.custom-select-container.is-open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 10px 15px;
    border-radius: 37px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: left;
}

.custom-select-option:hover,
.custom-select-option.is-focused {
    background-color: #f0f4f8;
}

.custom-select-option.is-selected {
    background-color: #e0eaf3;
    font-weight: 600;
}

.original-select {
    display: none;
}

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

    .custom-select-container {
        position: relative;
        width: 45%;
        margin: 20px 2%;
        font-size: 16px;
    }

    .custom-select-trigger {
        outline: none;
        border-radius: 37px;
        /* Pill shape */
        padding: 15px;
        height: 60px;
        width: 100%;
        cursor: pointer;
        background-color: var(--light-blue-bg);
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 7px 7px rgba(0, 0, 0, 0.05);
    }


}

/* --- END: Custom Select CSS --- */



html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Page Curtain Styles */
.page-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.curtain-top,
.curtain-bottom {
    position: absolute;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1);
}

.curtain-top {
    top: 0;
    height: 50%;
    transform-origin: top;
}

.curtain-bottom {
    bottom: 0;
    height: 50%;
    transform-origin: bottom;
}

.curtain-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: pulse 2s infinite;
}

.curtain-logo img {
    width: 280px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.curtain-text {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.curtain-text span {
    display: inline-block;
    animation: typing 3s steps(20, end), blink 0.75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: rgba(255, 255, 255, 0.75);
    }
}

/* Prevent content from being visible during curtain */
body.loading {
    overflow: hidden;
}

/* Smooth transition for curtain removal */
.page-curtain.removing .curtain-top {
    transform: translateY(-100%);
}

.page-curtain.removing .curtain-bottom {
    transform: translateY(100%);
}

.page-curtain.removing .curtain-content {
    animation: content-fade 1s forwards;
}

@keyframes content-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Container that defines how long the scroll/pin lasts */
/* Reserve space for the scroll so the page doesn't jump */
.video-wrapper {
    width: 100%;
    height: 100vh;
    background: transparent;
    position: relative;
    /* Ensure no margins interfere with the trigger */
    margin: 0;
    padding: 0;
}

.video {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform;
}

.video .container {
    width: 100%;
    height: 100%;
    max-width: 100% !important;
    /* Forces the video to fill the screen width */
    padding: 0;
}

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}