/* --- 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,
.nav-links a.active {
    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;
    }
}




/* ====================================
            hero-section
   ==================================== */

.contact-hero {
    height: 40vh;
    /* background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    /* padding-top: 80px; */
}

.hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; }
.hero-content .accent { color: var(--accent-orange); }





/* 1. Hero Section with Blue Gradient (Privacy Policy Style) */
.contact-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #012a5a 0%, var(--primary-blue) 100%);
    text-align: center;
    color: var(--white);
}

.top-tagline {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.8;
    display: block;
    margin-bottom: 15px;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
}

.contact-hero h1 .accent {
    color: var(--accent-orange);
}

/* 2. Overlapping Form Container */
.contact-main-area {
    background-color: #f8fafd;
    padding-bottom: 100px;
    margin-top: -50px; /* White card thoda upar blue gradient par chadhega */
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 40px; /* Rounded corners like image */
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

/* 3. Submit Button Fix (Blue to Orange) */
.submit-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--primary-blue); /* DEFAULT BLUE */
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* HOVER / CLICK STATE (Changes to Orange) */
.submit-btn:hover {
    background-color: var(--accent-orange); /* HOVER PAR ORANGE */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 137, 0, 0.3);
}

/* Form Groups & Inputs */
.quote-form-card {
    padding: 60px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    border: 2px solid #edf2f7;
    background-color: #f8fafd;
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-blue);
    background-color: #fff;
    outline: none;
}


/* ====================================
   CONTACT HERO RESPONSIVE
==================================== */

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

    .contact-hero {
        height: 35vh;
        padding: 100px 5% 0;
    }

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

    .contact-hero p {
        font-size: 15px;
    }
}


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

    .contact-hero {
        height: auto;
        min-height: 65svh; /* safer mobile viewport */
        padding: 120px 20px 60px;
    }

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

    .contact-hero p {
        font-size: 14px;
        margin-top: 10px;
        line-height: 1.6;
    }

}

/* Main Wrapper */
.contact-wrapper {
    background: var(--light-bg);
    padding: 80px 8%;
    margin-top: -30px; /* Overlap effect */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Card: Info */
.contact-info-card {
    background: var(--primary-blue);
    padding: 50px;
    border-radius: 30px;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: center;
    margin-top: 55px;
    gap: 20px;
    margin-bottom: 55px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.info-item h3 { font-size: 1.1rem; margin-bottom: 5px; color: var(--accent-orange); }
.info-item p { font-size: 0.95rem; opacity: 0.9; line-height: 1.5; }

/* Right Card: Form */
.quote-form-card {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group { margin-bottom: 20px; }
.input-group label {
    display: block;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus { border-color: var(--accent-orange); outline: none; }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.submit-btn:hover { background: var(--accent-orange); transform: translateY(-3px); }

/* Responsive */
@media (max-width: 991px) {
    .contact-container { grid-template-columns: 1fr; }
    .contact-hero { height: 30vh; }
}


/* =====================================
   TABLET RESPONSIVE (<= 991px)
=====================================*/
@media (max-width: 991px) {

    .contact-wrapper {
        padding: 60px 6%;
        margin-top: -60px; /* overlap reduce */
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-info-card,
    .quote-form-card {
        padding: 40px;
    }

    .contact-hero {
        height: auto;
        min-height: 45svh;
        padding: 100px 20px 60px;
    }
}

/* =====================================
   MOBILE RESPONSIVE (<= 768px)
=====================================*/
@media (max-width: 768px) {

    .contact-wrapper {
        padding: 50px 20px;
        margin-top: -40px;
    }

    /* Cards Padding Reduce */
    .contact-info-card,
    .quote-form-card {
        padding: 30px 25px;
        border-radius: 20px;
    }

    /* Info Items Stack */
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .info-item h3 {
        font-size: 1rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    /* Form Grid Single Column */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 14px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 1rem;
    }

}

/* =====================================
   SMALL MOBILE (<= 480px)
=====================================*/
@media (max-width: 480px) {

    .contact-info-card,
    .quote-form-card {
        padding: 25px 18px;
    }

    .submit-btn {
        font-size: 0.95rem;
        gap: 8px;
    }

}



/* =====================================
   MAP SECTION BASE
=====================================*/

.map-section {
    padding: 80px 8%;
    background: var(--light-bg);
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* =====================================
   TABLET (<= 991px)
=====================================*/
@media (max-width: 991px) {

    .map-section {
        padding: 60px 6%;
    }

    .map-section iframe {
        height: 380px;
        border-radius: 20px;
    }

}

/* =====================================
   MOBILE (<= 768px)
=====================================*/
@media (max-width: 768px) {

    .map-section {
        padding: 50px 20px;
    }

    .map-section iframe {
        height: 300px;
        border-radius: 18px;
    }

}

@media (max-width: 480px) {

    .map-section iframe {
        height: 250px;
        border-radius: 15px;
    }

}




/* ====================================
              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 */
}

