/* --- CSS VARIABLES (Aapki Color Palette) --- */
:root {
    --primary-blue: #034BA2;     /* Professional Industrial Blue */
    --secondary-blue: #0066FF;   /* Bright Blue for links/hover */
    --accent-orange: #DD8615;    /* Action Buttons / Highlights */
    --dark-bg: #1D1E1E;          /* Footer and Dark Sections */
    --text-main: #212529;        /* Main Body Text */
    --text-muted: #434343;       /* Subtitles / Paragraphs */
    --light-gray: #F8F8F8;       /* Section Backgrounds */
    --border-color: #D7D7D7;     /* Lines and Borders */
    --white: #FFFFFF;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ✨ Lenis Fix: Mobile aur Desktop dono par scrolling maintain karne ke liye */
html.lenis,
body.lenis {
    height: auto !important;
}

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

/* Horizontal scroll prevent karne ke liye extra safety */
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    
    /* 🛠️ THE BIG FIX 🛠️ */
    overflow: hidden;
    overflow-x: hidden !important; /* Sirf side scroll rokega */
    overflow-y: scroll;   /* ✅ Ise 'auto' kiya taaki mobile scroll chalu ho jaye */
    
    /* Mobile smooth scrolling support */
    -webkit-overflow-scrolling: touch; 
    position: relative;
}


a {
    text-decoration: none;
    transition: 0.3s ease;
    color: inherit;
}

ul {
    list-style: none;
}

/* Image scaling fix taaki layout mobile par break na ho */
img {
    max-width: 100%;
    height: auto;
    display: block;
}



/* ====================================
              NAV-BAR
==================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

/* Important: Body ko navbar height ka offset do */
body {
    padding-top: 80px;
}

/* ---------- Logo ---------- */

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ---------- Desktop Nav Links ---------- */

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s ease;
}

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

.btn-nav {
    background: var(--primary-blue);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 4px;
}

.btn-nav:hover {
    background: var(--accent-orange);
}

/* ---------- Hamburger ---------- */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    /* padding-right: 40px; */
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}


/* ====================================
        MOBILE RESPONSIVE
==================================== */

@media (max-width: 992px) {

    .navbar {
        padding: 0 20px;
    }

    .hamburger {
        margin-right: 20px;
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 0;
        transition: left 0.4s ease;
    }

    .nav-links li {
        width: 100%;
        padding: 20px 0;
        text-align: center;
    }

    .nav-links.active {
        left: 0;
    }

    /* Burger to X animation */

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
}



/* ====================================
          PREMIUM HERO SECTION
==================================== */
.legal-hero {
    height: 500px;
    background: linear-gradient(135deg, #012a5a 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.accent-text { color: var(--accent-orange); }

.sub-title {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #9abfff;
}

.hero-content p { font-size: 18px; opacity: 0.9; }


/* ====================================
   LEGAL HERO RESPONSIVE
   (Tablet + Mobile Only)
   ==================================== */

/* 📱 Tablet (768px – 991px) */
@media (max-width: 991px) {

    .legal-hero {
        height: 420px;
        padding: 100px 5% 0;
    }

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

    .hero-content p {
        font-size: 16px;
    }

}


/* 📱 Mobile (Below 768px) */
@media (max-width: 767px) {

    .legal-hero {
        height: auto;
        min-height: 70svh; /* Mobile safe viewport */
        padding: 120px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 14px;
        margin-top: 10px;
    }

    .sub-title {
        font-size: 12px;
        letter-spacing: 2px;
    }

}




/* ====================================
       LEGAL WRAPPER & GLASS CARD
==================================== */
.legal-wrapper {
    padding: 0 8% 100px;
    margin-top: -100px; /* Pull content over hero */
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--white);
    padding: 80px;
    border-radius: 30px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.08);
}

.update-tag {
    display: inline-block;
    padding: 8px 20px;
    background: #eef4ff;
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* Legal Items Styling */
.legal-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.item-num {
    font-size: 3rem;
    font-weight: 800;
    color: #d87a16;

    line-height: 1;
}

.item-info h3 {
    font-size: 26px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.item-info p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}

.styled-list { margin-top: 20px; }
.styled-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
}

.styled-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.contact-box {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    border-left: 5px solid var(--primary-blue);
}

/* ====================================
   LEGAL CONTENT RESPONSIVE
   (Tablet + Mobile Only)
   ==================================== */

/* 📱 Tablet (768px – 991px) */
@media (max-width: 991px) {

    .legal-wrapper {
        padding: 0 5% 80px;
        margin-top: -70px;
    }

    .glass-card {
        padding: 50px;
        border-radius: 25px;
    }

    .legal-item {
        gap: 25px;
        margin-bottom: 50px;
        padding-bottom: 30px;
    }

    .item-num {
        font-size: 2.5rem;
    }

    .item-info h3 {
        font-size: 22px;
    }

    .item-info p {
        font-size: 15px;
    }

}


/* 📱 Mobile (Below 768px) */
@media (max-width: 767px) {

    .legal-wrapper {
        padding: 0 20px 70px;
        margin-top: -40px; /* Reduce overlap */
    }

    .glass-card {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .update-tag {
        font-size: 12px;
        margin-bottom: 30px;
    }

    /* Stack Layout */
    .legal-item {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
        padding-bottom: 25px;
    }

    .item-num {
        font-size: 2rem;
    }

    .item-info h3 {
        font-size: 18px;
    }

    .item-info p {
        font-size: 14px;
        line-height: 1.6;
    }

    .styled-list li {
        font-size: 14px;
        padding-left: 20px;
    }

    .contact-box {
        padding: 20px;
        border-radius: 12px;
    }

}


/* ====================================
              FOOTER
   ==================================== */

   .footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 18px;
    color: var(--accent-orange);
}

.footer-col p {
    color: #ababab;
    max-width: 300px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ababab;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* --- FOOTER BOTTOM UPDATED --- */
.footer-bottom-container {
    display: flex;
    justify-content: space-between; /* Text left mein, links right mein */
    align-items: center;
    flex-wrap: wrap; /* Mobile par stack ho jayenge */
    gap: 15px;
}

.footer-legal-links a {
    color: #767676; /* Same as copyright text */
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-legal-links a:hover {
    color: var(--white); /* Hover par chamkega */
}

.separator {
    color: #434343;
    margin: 0 10px;
}

/* Mobile Fix */
@media (max-width: 600px) {
    .footer-bottom-container {
        justify-content: center;
        text-align: center;
    }
}

/* Mobile Responsiveness for Logo */
@media (max-width: 768px) {
    .logo img { height: 45px; }
    .footer-logo img { height: 55px; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
}



/* --- Contact Links Styling --- */
.contact-link {
    color: #ababab !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

/* WhatsApp Icon Color */
.whatsapp-style i {
    color: #25D366; 
    font-size: 1.2rem;
}

/* Email/Gmail Icon Color */
.email-style i {
    color: #EA4335; /* Gmail Red Color */
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--white) !important;
    transform: translateX(5px); /* Chhota sa slide effect */
}


/* ====================================
   FOOTER RESPONSIVE UPGRADE
   (Tablet + Mobile Only)
   ==================================== */

/* 📱 Tablet (768px – 991px) */
@media (max-width: 991px) {

    .footer {
        padding: 70px 5% 20px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col p {
        max-width: 100%;
    }

}


/* 📱 Mobile (Below 768px) */
@media (max-width: 767px) {

    .footer {
        padding: 60px 20px 20px;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h3 {
        margin-bottom: 15px;
    }

    .footer-col p {
        margin: 0 auto;
        margin-top: 10px;
        max-width: 100%;
        font-size: 14px;
    }

    .footer-col ul {
        padding: 0;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .footer-col ul li a:hover {
        padding-left: 0; /* Mobile pe slide effect remove */
    }

    /* Footer Bottom */
    .footer-bottom-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .footer-legal-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .separator {
        display: none; /* Mobile pe clean look */
    }

    .footer-logo img {
        height: 50px;
    }

}






/* ====================================
         BUTTON ANIMATION LOGIC 
   ==================================== */


/* Saare buttons ke liye common transition */
.btn-main, .btn-outline, .btn-nav, #openModal {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yeh bezier curve 'pop' effect deta hai */
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hover par Zoom aur Shadow effect */
.btn-main:hover, .btn-outline:hover, .btn-nav:hover, #openModal:hover {
    transform: scale(1.1); /* Button 10% bada ho jayega */
    box-shadow: 0 10px 25px rgba(3, 75, 162, 0.3); /* Blue shadow (aapki palette se) */
    filter: brightness(1.1); /* Halka sa chamkega */
}

/* Jab button click ho (Active state) */
.btn-main:active, .btn-outline:active, .btn-nav:active {
    transform: scale(0.95); /* Click karne par halka sa dabega */
}
