/* Complete CSS styling with custom properties */
:root {
    --color-primary-blue: #3B82F6;
    --color-primary-purple: #C7A472;
    --color-dark-bg: #4b4a4a;
    --color-dark-accent: #242038;
    --color-light-bg: #FFFFFF;
    --color-light-gray-bg: #F8F9FA;
    --color-text-light: #FFFFFF;
    --color-text-light-secondary: #E0E0E0;
    --color-text-golden: #C7A472;
    --color-text-dark: #121212;
    --color-text-dark-secondary: #4A4A4A;
    --font-family-primary: 'Poppins', sans-serif;
    --max-width: 1200px;

    --product-card-bg: #ffffff;
    --product-card-card: #ffffff;
    --product-card-card-2:#f9fafc;
    --product-card-text:#000000;
    --product-card-muted:#5e6572;
    --product-card-accent:#C7A472; /* gold accent */
    --product-card-divider:#e9ecf2;
    --product-card-shadow: 0 10px 30px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.6);
    --product-card-radius: 18px;
    /* --swiper-navigation-sides-offset: -10px */


    --modal-max-w: 560px;
    --gutter: clamp(12px, 3vw, 28px);
    --radius: clamp(10px, 3vw, 16px);
}

/* --- Global Styles & Resets --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
}

@media (max-width:1920px) {
    .container{
        max-width: 1600px;
    }
    
}



.section-title {
    font-size: clamp(2rem, 4vw, 2.625rem); /* 42px */
    
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- Header --- */
.main-header {
    background-color: #ffffff;
    padding: 1rem 5rem;
    position: absolute;
    box-shadow: white 2px 1px 2px;
    width: 100%;
    z-index: 10;
}

.logo {
    height: 55px;
    width: auto;
}

/* --- Hero Section --- */
.hero-section {
    background-image: url("./images/hero_bg4.jpg");
    background-size: cover;
    color: var(--color-text-golden);
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 40rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* max-width: 60vw; */
    margin-top: 3rem;
}

.hero-content h1 {
    margin-top: 3rem;
    font-size: clamp(4rem, 5vw + 1rem, 5rem); /* ~64px */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 2vw, 1.5rem); /* ~20px */
    font-weight: bold;    
    line-height: 3rem;
    color: var(--color-text-light-secondary);
    /* max-width: 48vw; */
    margin-bottom: 5rem;
}

.btn-cta {
    width: fit-content;
    padding: 0.8rem 2rem;
    border: 2px solid var(--color-text-light);
    font-size: 1.5rem;
    border-radius: 50px;
    border-color: var(--color-primary-purple);
    color: var(--color-text-golden);
    text-decoration: none;
    /* font-weight: 600; */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* --- Product Suite Section --- */
.product-suite {
    padding: 6rem;

}

.product-selector {
    margin-top: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem 3rem;
}

.product-item{
    max-width: 12rem;
    height: 100%;
}

.product-item input[type="radio"] {
    display: none;
}

.product-item label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.product-item label::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-item .product-name {
    display: block;
    font-weight: 600;
    color: var(--color-text-golden);
    font-size: 20px;
}

.product-item .product-desc {
    display: block;
    font-size: 1.2rem;
    color: var(--color-text-dark-secondary);
}

.product-item input[type="radio"]:checked + label::before {
    background-color: var(--color-primary-purple);
    border-color: var(--color-primary-purple);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}


/* Card */
.product-card-card{
    width:min(360px, 92vw);
    height: 33rem;
    display: flex;
    flex-direction: column;
    background:
    linear-gradient(180deg, rgba(0,0,0,.00), rgba(0,0,0,0) 22%),
    radial-gradient(180px 60px at 30% 0%, rgba(0,0,0,.03), transparent 60%),
    var(--product-card-card);
    border:1px solid #e6eaf1;
    border-radius:var(--product-card-radius);
    box-shadow:var(--product-card-shadow);
    padding:24px;
    position:relative;
    overflow:hidden;
}


/* Pill */
.product-card-pill{
    display:inline-block;
    font-weight:600;
    font-size:12px;
    letter-spacing:.3px;
    color:#000;
    background: linear-gradient(180deg, #f7f8fb, #eef1f6);
    border:1px solid #e1e5ec;
    padding:6px 10px;
    border-radius:999px;
    margin-bottom:14px;
}


/* Title zone */
.product-card-title{
    font-size:28px;
    line-height:1.1;
    font-weight:700;
    margin:2px 0 6px;
    letter-spacing:.2px;
    color: var(--product-card-accent);
}
.product-card-subtitle{
    color:var(--product-card-muted);
    margin:0 0 18px;
    font-size:14px;
}


/* Divider line (subtle) */
.product-card-divider{
    height:1px;
    background: linear-gradient(90deg, transparent, var(--product-card-divider), transparent);
    margin:14px 0 8px;
}


/* Feature list */
.product-card-features{
    list-style:none; 
    margin:0; 
    padding:0;
    flex: 1;
}
.product-card-features li{
    display:flex;
    gap:10px;
    align-items:flex-start;
    padding:10px 0;
    color:#111;
    border-top:1px solid #f0f2f7;
}
.product-card-features li:first-child{border-top:none}


/* Check icon */
.product-card-check{
    width:22px; height:22px; flex:0 0 22px;
    border-radius:50%;
    background: radial-gradient(circle at 30% 30%, #e9d9b8 0%, #C7A472 50%, #b6905f 100%);
    display:grid; place-items:center;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.7);
}

.product-card-check svg{
    width:14px; height:14px; display:block;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,.35));
}


/* CTA */
.product-card-cta{
    display:block;
    justify-self: flex-end;
    width:100%;
    margin-top:18px;
    padding:12px 14px;
    text-align:center;
    border-radius:12px;
    border:1px solid #d9dde6;
    background: linear-gradient(180deg, #ffffff, #f6f8fb);
    color:#000;
    font-weight:600;
    letter-spacing:.2px;
    text-decoration:none;
    transition: transform .08s ease, border-color .2s ease, background .2s ease;
}
.product-card-cta:hover{ border-color:#cfd4df; background: linear-gradient(180deg, #ffffff, #eef2f8);}
.product-card-cta:active{ transform: translateY(1px); }


/* Small screen tweaks */
@media (max-width:380px){
.product-card-title{font-size:28px}
}


/* --- Legacy Section --- */


.legacy-header {
    margin-bottom: 2rem;
    color: var(--color-primary-purple);
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.legacy-subtitle {
    color: var(--color-primary-purple);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.legacy-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: center;
    gap: 4rem;
}

.legacy-title{
    /* color: var(--color-text-light); */
    color: var(--color-primary-purple);
}

.legacy-text {
    font-size: 1.4rem;
    color: var(--color-text-light);
}
.legacy-text p {
    margin-bottom: 1.5rem;
}
.legacy-text p:last-child {
    margin-bottom: 0;
}

.legacy-map img {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

/* --- Brands Section --- */
.brands-section {
    background-color: var(--color-light-gray-bg);
    padding: 6rem ;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.brand-title{
    color: var(--color-text-dark-secondary);
}

.brands-grid {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.brands-grid img {
    max-height: 100px;
    width: auto;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.brands-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* css for design changes  */
.hero-demo-form{
    width: 60%;
    margin-left: auto;
    background-color: #86d5c317;
    backdrop-filter: blur(15px);
    .bg-transparent {
        background-color: #0000007d !important;
    }
    input::placeholder{
        color: #fff;
    }
    input, input:focus {
        color: #ffffff !important;
        font-weight: 400;
        font-size: 14px;
        border: 1px solid #21252938;
        

    }
    select{
        background-image: url('./images/dropdwon-icon.svg');
        color: #ffffff !important;
        font-weight: 400;
        font-size: 14px;
        border: 1px solid #21252938;
    }
    option{
        color: #000;
    }
    .capcha-code{
        border-radius: .3rem 0 0rem .3rem;
    }
    .capcha-btn{
        border-radius: 0 ;
    }
    .capcha-input{
        border-radius: 0rem .3rem .3rem 0;
    }
    .btn-cta{
        font-size: 14px;
    }
}
.modal{
   
    .close-btn{
        border-radius: 50px;
    }
    .modal-content{
        border-radius: 32px;
    }
}
.request-demo-form{
    border-radius: 32px;
    h4{
        letter-spacing: 7px;
    }
    input, select,.btn-select{
        border: 0;
        border-radius: 0;
        border-bottom: 1px solid gray;
        padding-inline: 5px;
        color: #3D3D3D;
    }
    input::placeholder{
        color:#3D3D3D;
    }
    
    input:focus, select:focus{
        box-shadow: none;
    }
    
    .btn-demo{
        width: 200px;
        height: 49px;
        font-size: 16px;
        color: #fff;
        border: 0;
        background: #29368B;
        background: linear-gradient(430deg,rgba(41, 54, 139, 1) 0%, rgba(24, 33, 64, 1) 100%);
        border-radius: 50px;

    }
    .btn-select::after{
        float: right;
        margin-top: 10px;
    }
    .selected-items div{
        background-color: rgb(236, 236, 236);
        border-radius: 50px;
        padding: 2px 7px;
        margin-top: 4px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
    
    }
    .capcha-code{
        margin-inline: auto;
        p{
            width: 163px;
            background-color: #D9D9D9;
            color: #4C4C4C;
            height: 37px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        input{
            background-color: #F8F8F8;
            color: #D9D9D9 ;
            width: 185px;
            border:1px solid #D9D9D9;
            padding-left: 1rem;
        }
    }
}



.header-sticky{
    position: sticky;
    z-index: 999;
    top: 0;
    .main-header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
       
        .btn-cta {
            border: 2px solid var(--color-primary-purple);
            color: var(--color-primary-purple);
            font-size: 1.2rem;
        }
        .btn-cta:hover {
            background-color: #ebe8f9;
        }
    }
    .main-header.scrolled{
        -webkit-backdrop-filter: blur(21px);
        backdrop-filter: blur(15px);
        background-color: #ffffffa6;
    }
}

.hero-section {
        padding: 8rem 0px 4rem;
        
        .hero-subtitle {
                margin-bottom: 4rem;
        }
}
.product-suite {
    padding: 2rem 6rem;
    padding-bottom: 3rem;
    
}
.legacy-section {
    padding: 2rem 6rem;
    padding-bottom: 0;
    background-color: #272727;
}
.product-selector {
    margin-top: 2rem;
    .product-item{
        max-width: none;
        border: 1px solid #b899db61;
        padding: 8px 14px;
        border-radius: 10px;
      
            label::before {
                border: 3px solid #ccc;
            }
            label {
                display: flex !important;
                flex-direction: unset !important;
                flex-wrap: wrap !important;
                gap: 1rem;
                text-align: left;
                align-items: center;
            }
            .product-desc{
                width: 100%;
                font-size: 18px;
            }
    
    }
}
.brands-section {
    padding: 2rem 6rem;
    .brands-grid {
        margin-top: 0rem;
    }

    .brands-grid img {
        border: 1px solid #80007538;
        padding: 10px;
        border-radius: 10px;
        max-height: 100px; 
        width: auto; 
        transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    }
    .swiper {
      width: 100%;
      height: 100%;
      margin-left: auto;
      margin-right: auto;
    }
    .swiper-slide{
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto !important;
         padding: 0 20px; /* controls equal gap between logos */
    }
    .swiper-slide img {
        height: auto;
        object-fit: contain;
        max-width:10rem;
        display: block;
    }
}

.footer-section{
   /* background: linear-gradient(135deg, #0d0c1d, #1f1a30, #2d223f, #1a172b); */
   /* background: linear-gradient(135deg, #0d0c1d, #1f1a30e6, #2d223f, #1a172b94); */
   background-color: #121212;
    padding: 2rem 0;
    .ft_contact_left .ft_brand {
        padding: 0.5rem 0;
        margin: 0 0 1rem;
        img {
            width: auto;
            height: auto;
        }
    }
    .ft_contact_left .ft_contactinfo {
        padding-bottom: 13px;
        ul{
                list-style: none;
                margin: 0;
                padding: 0;
                li p {
                    font-size: 14px;
                    line-height: 1.75;
                    font-weight: 400;
                    font-family: "Inter", sans-serif;
                    color: hsl(0, 0%, 100%);
                    margin: 0;
                    text-align: start;
                    a{
                        font-size: 14px;
                        line-height: 1.75;
                        font-weight: 400;
                        font-family: "Inter", sans-serif;
                        color: hsl(0, 0%, 100%);
                        margin: 0;
                        text-align: start;
                        text-decoration: none;
                    }
                }
        } 
    }
    #ft_social ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        li{
            margin: 0;
            padding: 0;
            margin-right: 5px;
        }
    }

    .ft_contact_middle {
        flex: 0 0 40%;
        display: flex;
        flex-direction: row;
        position: relative;
        transition: all 0.5s;
        align-items: flex-start;
        .ft_contact_middle_top h3 {
            position: relative;
            font-size: 18px;
            line-height: 1.75;
            font-weight: 500;
            font-family: "Inter", sans-serif;
            color: hsl(0, 0%, 100%);
            margin: 0;
            text-align: start;
            display: inline;
            padding-bottom: 0px;
        }
       
    }
     .ft_contact_middle {
            .ft_contact_middle_top{
             ul {
            list-style: none;
            margin: 19.71px 0;
            padding: 0;
            display: flex;
            width: 100%;
            flex-direction: column;
             li {
                /* flex: 0 0 0; */
                margin: 0 0 7px;
                padding: 0;
                a {
                    font-size: 14px;
                    line-height: 1.75;
                    font-weight: 400;
                    color: hsl(0, 0%, 100%);
                    margin: 0;
                    text-align: start;
                    text-decoration: none;
                    transition: all 0.5s;
                }
            }
            li a:hover {
                border-bottom: 2px solid #fff;
                padding-bottom: 3px;
            }
        }
        }
    }
    .ft_contact_middle_bottom{
        h3 {
            position: relative;
            font-size: 18px;
            line-height: 1.75;
            font-weight: 500;
            font-family: "Inter", sans-serif;
            color: hsl(0, 0%, 100%);
            margin: 0;
            text-align: start;
            display: inline;
            padding-bottom: 0px;
        }
            ul {
                list-style: none;
                margin: 19.71px 0;
                padding: 0;
                display: flex;
                width: 100%;
                flex-direction: column;
                li {
                    /* flex: 0 0 0; */
                    margin: 0 0 7px;
                    padding: 0;
                    a {
                        font-size: 14px;
                        line-height: 1.75;
                        font-weight: 400;
                        color: hsl(0, 0%, 100%);
                        margin: 0;
                        text-align: start;
                        text-decoration: none;
                        transition: all 0.5s;
                    }
                }
                li a:hover {
                    border-bottom: 2px solid #fff;
                    padding-bottom: 3px;
            }
        }
    }
    .ft_contact_right{
        .ft_contact_right_bottom {
            width: 70%;
            p {
                font-size: 14px;
                line-height: 1.75;
                font-weight: 500;
                color: hsl(0, 0%, 100%);
                margin: 10px 0;
                text-align: start;
                padding: 0;
            }
            ul{
                list-style: none;
                margin: 8px 0;
                padding: 0;
                width: 100%;
                li {
                    #Form2 {
                        display: flex;
                        position: relative;
                        align-items: center;
                        input.sub_field{
                            font-size: 13px;
                            line-height: 3;
                            color: var(--color-text-light-secondary);
                            position: relative;
                            display: inline-block;
                            width: 100%;
                            background-color: var(--color-dark-bg);

                            padding: 8px 10px;
                            margin: 8px 0;
                            transition: all 0.5s;
                            box-sizing: border-box;
                            height: 38px;
                            margin-top: 0;
                            border: none;
                            border-radius: 6px;
                        }
                        input.sub_field::-webkit-input-placeholder {
                            font-size: 13px;
                            line-height: 3;
                            color: #ffffff;
                        }
                    }
                    button.sub_bt {
                        position: absolute;
                        right: 11px;
                        top: 10px;
                        display: inline-block;
                        border: none;
                        cursor: pointer;
                        background-image: url('./images/subscribe_icon.png');
                        background-repeat: no-repeat;
                        background-size: cover;
                        background-position: center;
                        width: 18px;
                        height: 18px;
                        background-color: transparent;
                    }
                }
            }
        }
    }
}



    /* Overlay (renamed root class from .modal to .thankyoumodel) */
    .thankyoumodel {
    position: fixed; inset: 0; display: none;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,.5); z-index: 1000;
    padding: var(--gutter); /* keeps space from screen edges on mobile */
}
.thankyoumodel[aria-hidden="false"] { display: flex; }

    /* Card */
.modal__card {
    position: relative; background: #fff;
    width: min(100%, var(--modal-max-w));
    max-height: calc(100vh - (var(--gutter) * 2)); /* fallback */
    padding: var(--gutter); border-radius: var(--radius); text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow: auto; /* scroll if content gets tall on small screens */
}
@supports (height: 100svh) {
    .modal__card { max-height: calc(100svh - (var(--gutter) * 2)); }
}

.modal__logo { height: clamp(28px, 6vw, 48px); margin-bottom: clamp(10px, 2.5vw, 16px); }
.modal__close {
    position: absolute; top: 8px; right: 10px; border: 0; background: transparent;
    font-size: clamp(22px, 5vw, 28px); line-height: 1; cursor: pointer;
}
.modal__ok {
    margin-top: 14px; padding: 12px 16px; border: 0; border-radius: 8px; cursor: pointer;
    background: #1a4dab; color: #fff; font-weight: 600; width: 100%;
}










@media (max-width:1280px) {
    .hero-content {
        max-width: none;
        .hero-subtitle {
            max-width: none;
        }
    }
    .product-selector {
        /* flex-wrap: wrap; */
        justify-content: center;
    }
    .brands-grid {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}
@media (max-width:768px) {
     body {
        font-size: 15px;
    }
    .container , .main-header,.product-suite,.legacy-section,.brands-section{
        padding: 1rem 1.5rem;
    }
    .hero-content {
        margin: 0 1.5rem;
        padding: 1rem 0;
    }
    .product-item {
        width: 100% !important;
    }
    .product-selector {
        gap: 1rem 3rem;
    }
    .btn-cta{
        width: 131px;
        display: block;
        font-size: 14px !important;
        padding: 5px !important;
        text-align: center;
    }
   .legacy-grid {
        gap: 0rem;
    }
    .hero-content{
        h1{
            font-size: 2rem;
        }
        .hero-subtitle{
            font-size: 15px;
        }
        
    }
    .section-title{
        
        font-size: 1.5rem !important;
    }
    .legacy-text{
        p, ul{
            font-size: 15px !important;
        }
    }
}


/* css for design changes  end */

/* custom multi select */
.dropdown-content{
    list-style: none;
    padding: 10px;
    li{
        margin: 0.3rem 0;
    }
}


/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .legacy-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .legacy-map {
        order: -1;
        margin-bottom: 2rem;
    }
}
@media (min-width: 768px) {
      .modal__ok { width: auto; padding: 10px 18px; }
}

@media (max-width: 480px) {
    .modal__close { top: 6px; right: 8px; }
    textarea { min-height: 120px; }
}

/* Optional subtle pop-in when motion is allowed */
@media (prefers-reduced-motion: no-preference) {
    .thankyoumodel[aria-hidden="false"] .modal__card { animation: pop .18s ease-out both; }
    @keyframes pop { from { transform: translateY(6px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
}



