/* =========================================
   RESET & BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --premium-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hover-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --brand-blue: #0047aa;
    --brand-blue-dark: #002c6b;
    --brand-green: #4caf50;
    --brand-green-dark: #2e7d32;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-page: #f8fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    overflow-x: hidden;
}


/* HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden; 
    z-index: 1;
    perspective: 1000px; 
    transform-style: preserve-3d; /* Added for better 3D child rendering */
}

/* VIDEO */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* ADD THIS LINE: 1 is normal, values below 1 make it darker */
    filter: brightness(0.3);
    transform: scale(1.02);
    /* Smoothed out the ambient zoom */
    animation: ambientZoom 25s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
    will-change: transform;
}

/* DARK TINT - Upgraded to a Cinematic Vignette */
.video-overlay {
   position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 1;
}

/* NAV */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.logo img {
    width: 360px;
}

/* ── NAV PILLS (Main Links) ── */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-links .nav-item > a {
    padding: 0.5rem 1.0rem;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    display: block;
    transition: .4s ease;
}

.nav-links .nav-item > a:hover {
    background: rgba(255,255,255,0.35);
}

/* ── DROPDOWN MENU ── */
.dropdown {
    position: absolute;
    top: 110%; /* Adjusted for better spacing */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 35, 5, 0.92); /* Deep Bhumi Green */
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column; 
    gap: 8px; 
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Links (No Pills) */
.dropdown a {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 0.6rem 1rem !important;
    border-radius: 8px !important;
    display: block !important;
    width: 100%;
    color: #fff;
    text-decoration: none;
    text-align: left;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #a8e08a !important; /* Light green accent */
}

/* ========================================= */

/* HERO TEXT SECTION */
.hero-text {
    position: absolute;
    top: 50%;
    left: 6vw;
    transform: translateY(-50%);
    max-width: 830px;
    color: #ffffff;
    z-index: 3;
    animation: fadeUpText 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-text h1 {
    font-size: clamp(2.6rem, 4.5vw, 4.2rem); 
    font-weight: 800; /* Bolder for modern aesthetic */
    line-height: 1.05;
    letter-spacing: -1.5px; /* Tighter tracking for premium feel */
    margin-bottom: 1.5rem;
    /* Layered text shadow for cinematic depth */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 
                 0 12px 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                text-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-text h1:hover {
    transform: translateY(-4px) scale(1.01);
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 
                 0 20px 50px rgba(0, 0, 0, 0.9);
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* --- PREMIUM KEYFRAME ANIMATIONS --- */

@keyframes ambientZoom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.10); } /* Slightly reduced for a more subtle cinematic feel */
}

@keyframes fadeUpText {
    0% {
        opacity: 0;
        transform: translateY(calc(-50% + 50px));
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%);
        filter: blur(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================
   PREMIUM REDESIGN: INFO STRIP CARDS
========================================= */
.contact-info-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: -7rem auto 6rem;
    padding: 0 2rem;
    z-index: 10;
    position: relative;
    perspective: 1000px;
}

.info-card {
    padding: 5rem 2.5rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.6s var(--premium-ease);
    animation: cardFloatUp 1s var(--premium-ease) forwards;
    opacity: 0;
    transform: translateY(50px);
}

/* Stagger animations for cards */
.contact-info-strip .info-card:nth-child(1) { animation-delay: 0.4s; }
.contact-info-strip .info-card:nth-child(2) { animation-delay: 0.55s; }
.contact-info-strip .info-card:nth-child(3) { animation-delay: 0.7s; }

/* Apple-style ultra-refined glassmorphism */
.glass {
    background: #ffffff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border: 1px solid rgba(0, 0, 0, 0.08);
box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.20),
    0 10px 25px rgba(0, 0, 0, 0.10);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* Sweeping light reflection */
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-30deg);
    transition: left 0.8s var(--premium-ease);
    z-index: 1;
    pointer-events: none;
}

/* Floating Hover State */
.info-card.glass:hover {
    transform: translateY(-15px) rotateX(4deg) rotateY(-2deg) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%);
    box-shadow: 
        0 40px 80px -15px rgba(0, 30, 80, 0.25),
        0 0 20px rgba(255,255,255,0.5),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: #ffffff;
    z-index: 11;
}

.info-card.glass:hover::before { left: 200%; }

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    transform: translateZ(20px);
    transition: transform 0.5s ease;
}

.info-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #0f1109;
    font-weight: 400;
    position: relative;
    z-index: 2;
    transform: translateZ(10px);
}

.info-card:hover h3 { transform: translateZ(30px) translateY(-2px); color: black;}
.info-card:hover p { color: var(--text-main); }

@keyframes cardFloatUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   PREMIUM REDESIGN: FORM SECTION
========================================= */
.contact-form-section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 20% 30%, rgba(27, 89, 189, 0.538), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(29, 241, 36, 0.493), transparent 50%),
        linear-gradient(135deg, #eef4ff 0%, #eaf7ee 100%);
}

.contact-form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4.5rem 5rem;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 
        0 30px 60px -15px rgba(0, 30, 80, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: transform 0.5s var(--premium-ease), box-shadow 0.5s var(--premium-ease);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 40px 80px -20px rgba(0, 30, 80, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.02);
}

.contact-form h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--text-main), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-subtext {
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

input, textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 2px solid transparent;
    background: #f1f5f9;
    font-size: 1.05rem;
    color: var(--text-main);
    font-family: inherit;
    transition: all 0.4s var(--premium-ease);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

input:hover, textarea:hover {
    background: #e2e8f0;
}

input:focus, textarea:focus {
    background: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 
        0 0 0 4px rgba(0, 71, 170, 0.1),
        0 10px 20px -5px rgba(0, 71, 170, 0.05);
    outline: none;
    transform: translateY(-2px);
}

/* Premium Button */
button {
    padding: 1.2rem 1.2rem;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--premium-ease);
    box-shadow: 0 10px 25px -5px rgba(0, 71, 170, 0.4);
    z-index: 0;
}

button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

button span {
    position: relative;
    z-index: 2;
}

button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 71, 170, 0.6);
}

button:hover::after { opacity: 1; }

button:active {
    transform: translateY(1px) scale(0.98);
}

/* =========================================
   PREMIUM REDESIGN: CTA & LOCATIONS
========================================= */
.contact-cta {
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.contact-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.contact-cta p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.locations-section {
    padding: 6rem 10vw 10rem;
    background: linear-gradient(180deg, var(--bg-page) 0%, #ffffff 100%);
    text-align: center;
}

.section-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-green);
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50px;
}

.locations-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

/* Elevated Location Cards */
.location-card {
    text-align: left;
    /* Extra top padding provides space for the background image */
    padding: 16.5rem 2.5rem 3rem;
    border-radius: 28px;
    background: #ffffff;
    border: 2px solid transparent; 
    box-shadow: 
        0 20px 40px -10px rgba(0, 30, 80, 0.12),
        0 8px 20px rgba(0, 30, 80, 0.08);
    transition: all 0.5s var(--premium-ease, ease-out);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

 /* --- FIX FOR BACKGROUND IMAGES NOT SHOWING --- */
    /* Core sizing ensures the background container element is always rendered */
.locations-grid .location-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 230px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.8s ease;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

/* Main Heading */
.location-card h4 {
    margin-bottom: 8px; /* gap between heading & subheading */
}

/* Sub Heading */
.location-card h5 {
    color: #2e7d32; /* premium green */
    margin-bottom: 14px;
    font-weight: 700;
}


.locations-grid .location-card:hover::before {
    transform: scale(1.05);
}

/* Core sizing for the top floating icons */
.locations-grid .location-card .icon {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 18px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
    margin-top: -30px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
    color: transparent;
    font-size: 0;
}

/* INJECTED PERMANENT URLS FOR ALL 14 CARDS - FACTORY/INDUSTRIAL THEMED */
.locations-grid .location-card:nth-child(1)::before { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=800'); } /* Corporate HQ */
.locations-grid .location-card:nth-child(1) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/2942/2942076.png'); }

.locations-grid .location-card:nth-child(2)::before { background-image: url('https://images.unsplash.com/photo-1605600659908-0ef719419d41?auto=format&fit=crop&q=80&w=800'); } /* Waste Processing/Sorting */
.locations-grid .location-card:nth-child(2) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/1892/1892747.png'); }

.locations-grid .location-card:nth-child(3)::before { background-image: url('https://images.unsplash.com/photo-1587825140708-dfaf72ae4b04?auto=format&fit=crop&q=80&w=800'); } /* Factory Exterior */
.locations-grid .location-card:nth-child(3) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/3030/3030312.png'); }

.locations-grid .location-card:nth-child(4)::before { background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&q=80&w=800'); } /* Industrial Pipes/Valves */
.locations-grid .location-card:nth-child(4) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/2432/2432801.png'); }

.locations-grid .location-card:nth-child(5)::before { background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&q=80&w=800'); } /* Factory Interior/Machinery */
.locations-grid .location-card:nth-child(5) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/4148/4148106.png'); }

.locations-grid .location-card:nth-child(6)::before { background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&q=80&w=800'); } /* Industrial Tanks / Unit 5 */
.locations-grid .location-card:nth-child(6) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/2873/2873836.png'); }

.locations-grid .location-card:nth-child(7)::before { background-image: url('https://images.unsplash.com/photo-1565814636199-ae8133055c1c?auto=format&fit=crop&q=80&w=800'); } /* Silos/Structures */
.locations-grid .location-card:nth-child(7) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/2942/2942076.png'); }

.locations-grid .location-card:nth-child(8)::before { background-image: url('https://images.unsplash.com/photo-1496247749665-49cf5b1022e9?auto=format&fit=crop&q=80&w=800'); } /* Refinery/Energy Plant / Unit 7 */
.locations-grid .location-card:nth-child(8) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/1892/1892747.png'); }

.locations-grid .location-card:nth-child(9)::before { background-image: url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?auto=format&fit=crop&q=80&w=800'); } /* Energy Plant at Dusk */
.locations-grid .location-card:nth-child(9) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/3030/3030312.png'); }

.locations-grid .location-card:nth-child(10)::before { background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=800'); } /* Factory Interior Engineering */
.locations-grid .location-card:nth-child(10) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/2432/2432801.png'); }

.locations-grid .location-card:nth-child(11)::before { background-image: url('https://images.unsplash.com/photo-1563770660941-20978e870e26?auto=format&fit=crop&q=80&w=800'); } /* Manufacturing Plant */
.locations-grid .location-card:nth-child(11) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/4148/4148106.png'); }

.locations-grid .location-card:nth-child(12)::before { background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=800'); } /* Tech/Industrial Control Room */
.locations-grid .location-card:nth-child(12) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/2873/2873836.png'); }

.locations-grid .location-card:nth-child(13)::before { background-image: url('https://images.unsplash.com/photo-1604187351574-c75ca79f5807?auto=format&fit=crop&q=80&w=800'); } /* Waste Containers/Facility */
.locations-grid .location-card:nth-child(13) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/2942/2942076.png'); }

.locations-grid .location-card:nth-child(14)::before { background-image: url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?auto=format&fit=crop&q=80&w=800'); } /* Water/Liquid Treatment / Unit 13 */
.locations-grid .location-card:nth-child(14) .icon { background-image: url('https://cdn-icons-png.flaticon.com/512/1892/1892747.png'); }

/* ==========================================================================
   BHUMI GREEN ENERGY - NEW IMPROVED FOOTER CSS
   ========================================================================== */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Increased right padding (140px) to create a safe zone for floating icons */
    padding: 80px 140px 60px 80px; 
    background: linear-gradient(145deg, #0047a5, #003579);
    color: #fff;
    font-family: "Poppins", -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
    gap: 50px;
}

/* --- LEFT COLUMN --- */
.footer-left {
    flex: 1.2;
    min-width: 300px;
}

.footer-left h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-badges {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.dot {
    width: 10px;
    height: 10px;
    background: #00d063;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 12px rgba(0, 208, 99, 0.6);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
    max-width: 450px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #00d063;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.5;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* --- RIGHT COLUMN (FIXED) --- */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Keeps content away from the center */
    text-align: right;
    min-width: 350px;
}

.footer-desc {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 440px; /* Controlled width to avoid hitting social icons */
}

.footer-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 3px;
    min-width: 190px;
    height: 50px;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #003579;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    align-self: flex-end;
}

.footer-btn .arrow {
    font-size: 20px;
    transition: transform 0.35s ease;
}

.footer-btn:hover {
    transform: translateY(-4px);
    background: #f5f5f5;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.footer-btn:hover .arrow {
    transform: translateX(6px);
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
    border-radius: 8px;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-legal a:hover {
    opacity: 1;
}

/* --- FLOATING SOCIAL PANEL (POSITIONED IN SAFE ZONE) --- */
.footer-floating-icons {
    position: absolute;
    right: 10px; /* Positioned inside the 140px padding zone */
    top: 50%;
    transform: translateY(-50%); /* Perfectly centered vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    z-index: 10;
}

.circle-btn {
    width: 48px;
    height: 48px;
    background: #004fbb;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-btn:hover { 
    background: #00d063; 
    transform: translateY(-5px);
}

.side-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
}

.icon-btn {
    width: 42px;
    height: 42px;
    background: #0051c5;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.icon-btn:hover { 
    transform: scale(1.15) rotate(5deg);
    background: #0047a5;
}

/* =========================================
   CAREER SECTION - PREMIUM MATCHED DESIGN
========================================= */
#career {
    position: relative;
}

/* Add slight visual separation from enquiry */
#career::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(76, 175, 80, 0.12), transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(0, 71, 170, 0.10), transparent 60%);
    z-index: 0;
}

#career .contact-form {
    position: relative;
    z-index: 1;
    animation: careerFadeUp 1s ease forwards;
}

/* Heading styling (match premium gradient style) */
#career h2 {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* File upload - PREMIUM (NOT default ugly input) */
#career input[type="file"] {
    width: 100%;
    padding: 1.2rem;
    border-radius: 16px;
    border: 2px dashed rgba(0, 71, 170, 0.25);
    background: linear-gradient(135deg, #f1f5f9, #eaf7ee);
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.4s var(--premium-ease);
}

/* Hover effect */
#career input[type="file"]:hover {
    border-color: var(--brand-green);
    background: #ffffff;
    transform: translateY(-2px);
}

/* Focus effect */
#career input[type="file"]:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 
        0 0 0 4px rgba(0, 71, 170, 0.1),
        0 10px 20px -5px rgba(0, 71, 170, 0.05);
}

/* Make button slightly more powerful for career */
#career button {
    width: 100%;
    justify-content: center;
    font-size: 1.15rem;
    letter-spacing: 0.6px;
}

@keyframes careerFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =======================================================
   RESPONSIVE CSS ADDITIONS (Mobile & Tablet)
   CONSOLIDATED & OPTIMIZED
======================================================= */

/* --- Hamburger Menu Icon Styling --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    transform-origin: left center;
}

/* Hamburger Animation */
.menu-toggle.is-active .bar:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; width: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: rotate(-45deg); }


/* --- Large Desktop / Laptop --- */
@media (max-width: 1200px) {
    .footer { padding: 60px 100px 60px 50px; }
}

@media (max-width: 1100px) {
    .locations-section { padding: 6rem 5vw 8rem; }
    .contact-form { padding: 4rem; }
}


/* --- TABLET & SMALL LAPTOPS (max-width: 1024px) --- */
@media (max-width: 1024px) {
    nav { padding: 1.5rem 2rem; }
    .logo img { width: 220px; max-width: 100%; }
    
    /* Show Hamburger */
    .menu-toggle { display: flex; }
    
    /* Hidden Slide-In Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 35, 5, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 100px;
        padding-left: 30px;
        padding-right: 30px;
        margin: 0;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        overflow-y: auto;
    }
    
    /* Active state for menu */
    .nav-links.nav-active { right: 0; }

    .nav-item { width: 100%; text-align: left; margin: 5px 0; }

    .nav-links .nav-item > a {
        border: none;
        background: transparent;
        font-size: 1.15rem;
        display: block;
        padding: 12px 10px;
        border-radius: 0;
        text-align: left;
    }
    
    .nav-links .nav-item > a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Disable desktop hover interactions on mobile */
    .nav-item:hover .dropdown {
        transform: none;
        opacity: 0;
        visibility: hidden;
    }

    /* Responsive Dropdowns (Accordion Style) */
    .dropdown {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        display: none;
        background: rgba(0,0,0,0.2);
        border-radius: 8px;
        width: 100%;
        padding: 5px 0 5px 15px;
        margin-top: 5px;
        border: none;
    }

    /* Open state triggered by JS */
    .nav-item.mobile-dropdown-open .dropdown {
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        transform: none;
        animation: slideDown 0.3s ease;
    }

    .nav-item.mobile-dropdown-open > a {
        color: #4CAF50;
        background: rgba(255, 255, 255, 0.05);
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .dropdown a {
        font-size: 0.95rem;
        padding: 10px 15px !important;
        text-align: left;
    }

    /* Footer Adjustments */
    .footer {
        flex-direction: column;
        padding: 60px 40px;
        align-items: center;
        text-align: center;
    }

    .footer-left, .footer-right {
        width: 100%;
        align-items: center;
        text-align: center;
        min-width: unset;
        margin-right: 0;
    }

    .footer-badges { justify-content: center; }
    .footer-links { margin: 0 auto 40px; }
    .footer-logo { display: flex; justify-content: center; }
    .footer-legal { justify-content: center; }
    
    /* Move floating icons to the bottom flow */
    .footer-floating-icons {
        position: static;
        transform: none;
        flex-direction: row;
        margin-top: 40px;
        width: 100%;
        justify-content: center;
    }
    .side-icons { flex-direction: row; }
}


/* --- MOBILE SPECIFIC (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links { max-width: 100%; } /* Full width on phones */
    
    /* Hero Adjustments */
    .hero-text {
        left: 5%;
        width: 90%;
        text-align: left; 
        animation: fadeUpTextMobile 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
    @keyframes fadeUpTextMobile {
        0% { opacity: 0; transform: translateY(calc(-50% + 40px)); filter: blur(8px); }
        100% { opacity: 1; transform: translateY(-50%); filter: blur(0); }
    }
    .hero-text h1 { font-size: 2.8rem; }
    
    /* Layout Adjustments */
    .contact-info-strip {
        margin: -4rem auto 4rem;
        gap: 1.5rem;
        grid-template-columns: 1fr; /* Force 1 Column */
    }
    
    .info-card { padding: 2.5rem 2rem; }
    
    /* Contact Form Tweaks */
    .contact-form-section { padding: 5rem 1.5rem; }
    .contact-form { padding: 3rem 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
    
    /* Location Grids */
    .locations-grid { grid-template-columns: 1fr; } /* Force 1 Column to prevent overflow */
    .location-card { padding: 14rem 2rem 2.5rem; } 
    
    /* Career Tweaks */
    #career .contact-form { padding: 2.5rem 1.8rem; }
    #career input[type="file"] { font-size: 0.85rem; padding: 1rem; }
}


/* --- SMALL MOBILE (max-width: 600px & 480px) --- */
@media (max-width: 600px) {
    .footer-left h2 { font-size: 24px; }
    .footer-links { grid-template-columns: 1fr; gap: 15px; }
    .footer-logo img { width: 220px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; }
    
    nav { padding: 1rem 1.5rem; }
    .logo img { width: 180px; }
    
    .contact-form { padding: 2rem 1.5rem; }
    .contact-form h2 { font-size: 2.2rem; }
    
    button { width: 100%; text-align: center; }
    
    .location-card { padding: 12rem 1.5rem 2rem; }
}