/* 🔥 GLOBAL FONT FIX: Space Grotesk applied for Premium AI/Tech Vibe */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&family=Space+Grotesk:wght@400;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
/* FIX: overflow-x: hidden hata diya body se taaki badge na kate */
body { 
    font-family: 'Space Grotesk', 'Inter', sans-serif; /* Space Grotesk set as Primary */
    background-color: #ffffff; 
    color: #0f172a; 
    line-height: 1.6; 
}

/* Ensure all headings use the premium tech font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR GLASSMORPHISM */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
    z-index: 99999 !important; /* 🔥 MASTER FIX: Head always stays on top on page load */
}
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo .logo-text { font-size: 24px; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }
.logo .highlight { color: #2563eb; }

/* MOBILE MENU TOGGLE (HIDDEN ON DESKTOP) */
.mobile-menu-toggle { display: none; cursor: pointer; align-items: center; justify-content: center; z-index: 100000 !important; } /* 🔒 SAFE Z-INDEX ADDED */

.nav-links { display: flex; gap: 35px; }
.nav-links a { font-size: 15px; font-weight: 600; color: #64748b; font-family: 'Space Grotesk', sans-serif; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; }

/* =========================================
   🚀 BUTTON SWAP EFFECT & RECTANGLE SHAPE
   ========================================= */
.btn-primary {
    padding: 12px 24px; 
    font-size: 15px; font-weight: 600; box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 0px !important; /* Square / Rectangle edges */
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #2563eb !important;
    transition: color 0.4s ease-in-out !important;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #2563eb;
    z-index: -1;
    transform-origin: right;
    transform: scaleX(1);
    transition: transform 0.4s ease-in-out;
}
.btn-primary:hover { 
    color: #2563eb !important; 
    background-color: transparent !important; 
    transform: translateY(-2px); 
}
.btn-primary:hover::before {
    transform-origin: left;
    transform: scaleX(0);
}

/* PREMIUM GRADIENT TEXT */
.text-gradient {
    background: linear-gradient(to right, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HERO SECTION (UPDATED FOR PARTICLES) */
.hero { 
    padding: 60px 0 100px; 
    position: relative; /* z-index context ke liye zaroori */
    /* FIX: overflow: hidden hata diya taaki agar image/badge bahar nikle to kate nahi */
    background-color: #ffffff; /* Base background */
}
.hero-inner { 
    display: flex; align-items: center; justify-content: space-between; gap: 40px; 
    position: relative; /* Taaki particles iske peeche rahein */
    z-index: 2; /* Content aage rahega */
}
.hero-content { flex: 1; max-width: 650px; }

/* 🔥 MAIN HEADLINE FONT FIX (DATA ANNOTATION STYLE) */
.hero-content h1 { 
    font-size: 52px; 
    color: #0f172a; 
    line-height: 1.15; 
    margin-bottom: 24px; 
    font-weight: 900 !important; /* Ultra Bold */
    letter-spacing: -2.5px !important; /* Very tight spacing */
}

.hero-content p { font-size: 18px; color: #475569; margin-bottom: 40px; font-weight: 400; }
.hero-buttons { display: flex; gap: 20px; }
.btn-secondary {
    background-color: transparent; color: #0f172a; padding: 12px 24px; border-radius: 8px;
    font-size: 15px; font-weight: 600; border: 2px solid #cbd5e1; transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}
.btn-secondary:hover { border-color: #0f172a; background-color: rgba(15, 23, 42, 0.05); }
.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-image img { max-width: 100%; height: auto; border-radius: 20px; animation: float 6s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ABOUT SECTION (WHO WE ARE) */
.about-section { padding: 100px 0; background-color: #ffffff; overflow: visible; } /* FIX: overflow visible kiya badge ke liye */
.about-inner { display: flex; align-items: center; gap: 80px; }
.about-content { flex: 1; }
.sub-heading { color: #2563eb; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.about-content h2 { font-size: 40px; font-weight: 800; color: #0f172a; margin-bottom: 20px; }
.about-content p { font-size: 16px; color: #475569; margin-bottom: 20px; line-height: 1.7; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.about-features li { display: flex; align-items: center; font-weight: 600; color: #0f172a; font-size: 15px; }
.about-features li svg { margin-right: 10px; }

/* ABOUT SECTION: OVERLAPPING IMAGE & BADGE LOGIC */
.about-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; } /* FIX: added relative for badge positioning */
.image-wrapper { position: relative; display: inline-block; }
.main-team-image { width: 100%; max-width: 500px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); display: block; }
.badge-overlay {
    position: absolute;
    /* FIX: Half-inside, Half-outside (Left side, middle) */
    top: 50%;
    left: -70px; 
    transform: translateY(-50%); 
    width: 150px;
    height: 150px;
    background: #ffffff; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); 
    z-index: 10; /* Make sure it stays on top of text if it overlaps */
}
.rotating-badge-small { width: 100%; height: 100%; border-radius: 50%; animation: spin 15s linear infinite; }

@keyframes spin { 100% { transform: rotate(360deg); } }

/* SERVICES SECTION */
.services { padding: 100px 0; background-color: #f4f7fb; } 
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header h2 { font-size: 40px; font-weight: 800; color: #0f172a; margin-bottom: 15px; }
.section-header p { font-size: 16px; color: #64748b; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* =========================================
   UPDATE: DARK CINEMATIC SERVICES CARD
   ========================================= */
.service-card { 
    border-radius: 16px; 
    transition: all 0.4s ease; 
    position: relative; 
    overflow: hidden; 
    /* Image sizing */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Soft shadow */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Dark Gradient Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
    z-index: 1;
    transition: all 0.4s ease;
}

/* Content needs to be above overlay */
.card-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* HOVER EFFECT ON CARD */
.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2); 
}

/* Zoom image slightly and lighten overlay on hover */
.service-card:hover {
    background-size: 110%; /* Subtle zoom */
}
.service-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(37, 99, 235, 0.85));
}

/* Updated Colors for Dark Theme */
.icon-box { 
    width: 60px; height: 60px; 
    background: rgba(255, 255, 255, 0.1); /* Frosted glass box */
    backdrop-filter: blur(5px);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: all 0.4s ease; 
}
.service-card:hover .icon-box { background: #2563eb; }
.service-card:hover .icon-box svg { stroke: #ffffff; }

.service-card h3 { font-size: 22px; font-weight: 700; color: #ffffff; margin-bottom: 15px; } /* White text */
.service-card p { font-size: 15px; color: #e2e8f0; line-height: 1.7; margin-bottom: 20px; flex-grow: 1;} /* Light grey text */

/* NEW ANIMATED ARROW LOGIC */
.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1); /* Frosted glass arrow box */
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translateX(0);
    margin-top: auto; /* Push to bottom */
}

.service-card:hover .service-arrow {
    background: #ffffff; /* White background on hover */
    transform: translateX(10px); 
}

.service-card:hover .service-arrow svg {
    stroke: #2563eb; /* Blue arrow on hover */
}

/* MOBILE RESPONSIVE TABLET */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { flex-direction: column; text-align: center; }
    
    /* FIX: Vision & Mission Point Alignment */
    .about-features { 
        grid-template-columns: 1fr; 
        justify-items: start; /* Left align items */
        width: max-content;   /* Shrink box to content size */
        margin: 30px auto 0;  /* Center the box dynamically */
        text-align: left;
    }
    
    .image-wrapper { margin-top: 40px; }
}

/* =========================================
   5. INDUSTRIES SECTION (NEW PREMIUM LOOK)
   ========================================= */
.industries-section {
    padding: 100px 0;
    background-color: #f8fafc; 
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.industry-card {
    background-color: #ffffff; 
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 6px solid #2563eb; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.industry-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-left-width: 10px; 
}

.industry-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* Mobile Responsive adjustment for Industries */
@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   6. CLIENT LOGOS MARQUEE (UPDATED COLOR)
   ========================================= */
.client-logos-section {
    padding: 50px 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trusted-text {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.client-logo {
    height: 45px; 
    width: auto;
    max-width: 160px;
    margin: 0 45px;
    object-fit: contain;
    filter: grayscale(20%) opacity(80%); 
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(100%) drop-shadow(0px 4px 8px rgba(37, 99, 235, 0.2)); 
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Mobile View adjustments for Logos */
@media (max-width: 768px) {
    .client-logo {
        height: 35px; 
        margin: 0 25px; 
    }
}

/* =========================================
   7. PARTICLES JS BACKGROUND (NEW)
   ========================================= */
#particles-js {
    position: absolute; /* Hero section ke absolute peeche */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Text/Image ke peeche rahega */
    pointer-events: auto; /* Taaki mouse hover pakad sake */
}

/* =========================================
   8. PREMIUM WIPE REVEAL ANIMATION (CINEMATIC)
   ========================================= */
.reveal-image[data-aos="fade-in"] {
    opacity: 1 !important; 
    /* transform: none !important; REMOVED to allow 3D Float animation to work */
    clip-path: inset(0 100% 0 0); /* Image reveal logic */
    transition: clip-path 3.0s cubic-bezier(0.25, 1, 0.5, 1) !important; /* Extremely smooth 3s reveal */
}

.reveal-image[data-aos="fade-in"].aos-animate {
    clip-path: inset(0 0 0 0); /* Fully revealed */
}

/* =========================================
   9. TEXT ANIMATION (FADE & SLIDE UP)
   ========================================= */
/* Applying this to hero and about text to slide gently upwards */
.text-slide-up[data-aos="fade-in"] {
    opacity: 0 !important;
    transform: translateY(30px) !important; /* Start 30px lower */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out !important; /* Gentle slide up */
}

.text-slide-up[data-aos="fade-in"].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important; /* Settle into original place */
}


/* =========================================
   10. WHY CHOOSE US SECTION (UPDATED FOR IMAGES)
   ========================================= */
.why-choose-us {
    padding: 100px 0;
    background-color: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Why-card ab service-card ki class share kar raha hai,
   isliye conflicts ko clear kiya gaya hai 100% safety ke sath */
.why-card {
    background-color: transparent; /* Removed #f8fafc taaki background image dikhe */
    padding: 0; /* Changed from 40px 30px to prevent double padding with card-wrapper */
    border-radius: 16px;
    border: none; /* Changed for seamless image */
    transition: all 0.3s ease;
    text-align: center;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff; /* Pehle #0f172a tha */
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    color: #e2e8f0; /* Pehle #475569 tha */
    line-height: 1.6;
}

/* Since HTML now uses .icon-box like services, we center it */
.why-card .icon-box {
    margin: 0 auto 20px;
}

/* Kept old .why-icon for 100% data safety guarantee, even if replaced by .icon-box */
.why-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}
.why-card:hover .why-icon { background-color: #2563eb; }
.why-card:hover .why-icon svg { stroke: #ffffff; }

/* =========================================
   11. SEO FAQ SECTION (NEW ACCORDION)
   ========================================= */
.faq-section {
    padding: 100px 0;
    background-color: #f4f7fb;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%; /* FIX 3: Ensures FAQ doesn't break screen width on mobile */
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    list-style: none; /* Removes default triangle */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom Arrow for FAQ */
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: #2563eb;
    transition: transform 0.3s ease;
}

/* When FAQ is open */
.faq-item[open] {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
}

.faq-item[open] summary {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #2563eb;
}

.faq-item[open] summary::after {
    content: '−'; /* Minus sign when open */
    transform: rotate(180deg);
}

.faq-content {
    padding: 20px 25px;
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    background-color: #fafbfc;
}

/* =========================================
   12. PREMIUM FOOTER (NEW)
   ========================================= */
.site-footer {
    background-color: #0f172a !important; /* FIX 4: Ensures dark background forces on mobile */
    color: #e2e8f0;
    padding: 80px 0 0 0;
    width: 100%; /* Ensures footer takes full width */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a svg {
    stroke: #94a3b8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.social-links a:hover svg {
    stroke: #ffffff;
}

.footer-links h3, .footer-contact h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #2563eb;
    transform: translateX(5px); /* Slide arrow effect */
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 15px;
}

.footer-contact ul li svg {
    stroke: #2563eb;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 14px;
}

/* Footer Mobile Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   13. NAVBAR DROPDOWN (NEW)
   ========================================= */
.nav-links li {
    position: relative; /* For dropdown positioning */
}

.nav-links li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.98); /* Premium dark glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 260px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.nav-links li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    color: #cbd5e1; /* Light grey text */
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap; /* FIX: Prevents text from jumping to the second line on hover */
}

.dropdown-menu a:hover {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.15);
    padding-left: 32px; /* Smooth slide right on hover */
    border-left: 3px solid #2563eb;
}

/* =========================================
   14. MOBILE RESPONSIVE FIXES (SMARTPHONE)
   ========================================= */
@media (max-width: 768px) {
    /* Navbar & Mobile Menu fixes */
    .mobile-menu-toggle { display: flex; }
    .nav-cta { display: none; } /* Hide desktop CTA to save space */
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%; /* Hidden off-screen by default */
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center; 
        text-align: center;
        padding: 30px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        transition: left 0.4s ease;
        z-index: 99998 !important; /* 🔒 SAFE Z-INDEX ADDED */
    }
    
    .nav-links.active {
        left: 0; /* Slide in when active */
    }
    
    /* Ensure list items inside nav-links also stretch and center correctly */
    .nav-links li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }
    
    .nav-links li.has-dropdown > a {
        justify-content: center; /* Center the "Services" text and arrow */
    }
    
    /* FIX 1: Mobile Dropdown Visible & Readable via JavaScript Click */
    .dropdown-menu {
        position: static;
        background: rgba(15, 23, 42, 0.05); /* Slight dark background to distinguish from main menu */
        box-shadow: none;
        border: none;
        border-radius: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 90%; /* Take up most of the screen width */
        padding: 10px 0;
        margin-top: 10px;
        display: none; 
    }
    
    /* This class is added by the JS in main.js when clicked */
    .open-mobile-dropdown .dropdown-menu {
        display: block;
    }
    
    /* Remove hover behavior for mobile to prevent glitching */
    .nav-links li.has-dropdown:hover .dropdown-menu {
        display: none;
    }
    .nav-links li.has-dropdown.open-mobile-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        white-space: normal; /* Mobile par wrap ho jaye agar screen choti ho taaki bahar na nikle */
        color: #0f172a; /* Make text dark so it's visible on white mobile menu */
        padding: 12px 20px;
        text-align: center; /* Center text inside dropdown */
    }
    
    .dropdown-menu a:hover {
        background: rgba(37, 99, 235, 0.1); /* Lighter blue background on mobile hover */
        color: #2563eb; /* Make text blue on mobile hover */
        padding-left: 20px; /* Disable the jumping effect entirely for mobile */
        border-left: none; /* Remove left border on mobile hover */
    }

    .services-grid { grid-template-columns: 1fr; }
    
    /* FIX: REDUCED GAPS BETWEEN SECTIONS FOR MOBILE */
    .hero { padding-top: 0px; padding-bottom: 50px; } 
    .about-section { padding: 50px 0; }
    .services { padding: 50px 0; }
    .industries-section { padding: 50px 0; }
    .why-choose-us { padding: 50px 0; }
    .faq-section { padding: 50px 0; }
    
    .hero-inner { flex-direction: column; text-align: center; margin-top: 0px; }
    
    /* Hero Heading Fix for Mobile */
    .hero-content h1 { font-size: 34px; line-height: 1.25; margin-bottom: 15px; }
    .hero-content p { font-size: 16px; margin-bottom: 25px; }
    
    .hero-buttons { justify-content: center; }
    .hero-image { margin-top: 30px; }
    
    /* FIX: Mobile badge shifted to BOTTOM-CENTER line of the image */
    .badge-overlay { 
        left: 50%; 
        top: auto; 
        bottom: -50px; 
        transform: translateX(-50%); 
        width: 110px; 
        height: 110px; 
    } 
    
    /* FIX 2: OVERLAPPING BOXES FIX (Why Choose Us) */
    .why-card {
        margin-bottom: 25px; /* Adds gap between stacked boxes */
    }
    
    /* Footer adjustments for mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .site-footer {
        padding: 60px 0 0 0;
    }
}