/* =========================================
   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;
}


/* 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;
    background: transparent !important;
}

.logo {
    display: inline-flex;
    align-items: center;
    padding: 0; /* Removed padding */
    border-radius: 0; /* Removed radius */
    
    /* REMOVED: background */
    background: transparent !important; 
    
    /* REMOVED: blur and borders */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important; 
    
    transition: all 0.3s ease;
}

.logo img {
    width: 360px; 
    height: auto;
    display: block;
    
    /* Keeps the transparency trick for your renamed JPG */
    mix-blend-mode: multiply; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    padding: .6rem 2rem;
    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);

    transition: .4s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.35);
}

/* Add this to your existing CSS so dropdowns work with the pills */
.nav-item {
    position: relative;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 1. THE DROPDOWN BOX: Forces vertical stacking */
.dropdown {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 35, 5, 0.95); /* Your dark green */
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1rem;
    min-width: 220px; /* Slightly wider for better text fit */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* 👈 ADD THESE TO FIX OVERLAP */
    display: flex;
    flex-direction: column; 
    gap: 8px; 
}

/* 2. THE DROPDOWN LINKS: Removes the "Pill" style */
.dropdown a {
    background: transparent !important; /* Removes the white pill color */
    border: none !important;            /* Removes the pill border */
    backdrop-filter: none !important;   /* Removes the extra blur */
    padding: 0.6rem 1rem !important;    /* Tighter padding */
    border-radius: 8px !important;      /* Subtle corners */
    display: block !important;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* 3. HOVER EFFECT: For individual links inside */
.dropdown a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #a8e08a !important; /* Green highlight on hover */
}

.hero-cta {
    position: absolute;
    bottom: 4rem;
    right: clamp(3rem, 8vw, 8rem);
    display: flex;
    align-items: center;
    gap: 1.2rem;          /* 👈 THIS is the spacing you want */
    z-index: 5;
}


.glass-tile {
    position: relative;   /* ❌ no absolute anymore */
    padding: 2rem 3rem;
    max-width: 520px;

    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;

    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 28px;

    transition: opacity .4s ease, transform .4s ease;
}

.scroll-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);

    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;

    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

.scroll-icon img {
    width: 18px;
    height: auto;
    pointer-events: none;
}

.scroll-icon:hover {
    transform: translateY(4px);
    background: rgba(255,255,255,0.2);
}

/* =========================================
   PREMIUM REDESIGN: HERO SECTION
========================================= */
.contact-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Cinematic vignette gradient overlay */
    background: 
        radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(10, 15, 30, 0.85) 100%),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.8)),
        url("assets/images/contact.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #ffffff;
    overflow: hidden;
    padding-left: clamp(40px, 8vw, 120px);
}

.contact-hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: left;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: premiumFadeInUp 1.4s var(--premium-ease) 0.2s forwards;
}

.contact-hero-text h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    transition: transform 0.6s var(--premium-ease), filter 0.6s ease;
}

.contact-hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.85);
    max-width: 600px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: color 0.4s ease, transform 0.6s var(--premium-ease);
}

/* Hero Hover Interactivity */
.contact-hero-text:hover h1 {
    transform: translateY(-5px) scale(1.01);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
}
.contact-hero-text:hover p {
    color: #ffffff;
    transform: translateY(-2px);
}

@keyframes premiumFadeInUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(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: transparent;
    backdrop-filter: blur(5px) saturate(100%);
    -webkit-backdrop-filter: blur(80px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 1px solid #ffffff;
    border-left: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 20px 40px -10px rgba(0, 30, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* 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: #ffffff;
    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 {
    align-self: flex-start;
    padding: 1.2rem 3rem;
    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);
}

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);
}

button {
    position: relative;
    z-index: 0;
}

button::after {
    z-index: -1; /* move background behind text */
}

/* =========================================
   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;
}

/* Card Image Header created via CSS without touching HTML */
/* =========================================
   LOCATION CARD IMAGE FIX (FINAL)
========================================= */

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 230px;

    /* IMPORTANT FIX */
    background-color: transparent; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.8s ease;
    z-index: 1;

    /* Smooth fade into card */
    -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%);
}
/* Interactive Card Glow & Image Zoom */
.location-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 0 transparent;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 4;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 30, 80, 0.12);
    border-color: rgba(76, 175, 80, 0.3); 
}

.location-card:hover::before {
    transform: scale(1.05);
}

.location-card:hover::after {
    box-shadow: inset 0 0 0 3px rgba(76, 175, 80, 0.15); 
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.03) 0%, transparent 100%);
}

/* Ensuring content text stays above the image overlay */
.location-card h4, 
.location-card h5, 
.location-card p {
    position: relative;
    z-index: 3;
}

/* Transform the generic <div class="icon">📍</div> into stunning logos */
.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; /* Pulls logo up to overlap the image border perfectly */
    margin-bottom: 1.5rem;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); 
    position: relative;
    z-index: 3;
    
    /* Hiding the original HTML text "📍" safely */
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.location-card:hover .icon {
    transform: scale(1.15) translateY(-8px) rotate(4deg);
    box-shadow: 0 15px 30px -5px rgba(76, 175, 80, 0.35); 
}

.location-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.location-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================
   DYNAMIC LOCATIONS - CSS INJECTION
   (Targets elements dynamically without HTML edits)
========================================= */

/* 1. Corporate & Registered Office */
.locations-grid .location-card:nth-of-type(1)::before {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=800&q=80');
}
.locations-grid .location-card:nth-child(1) .icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2942/2942076.png');
}

/* 2. Unit No. 1 - Compost Plant */
.locations-grid .location-card:nth-of-type(2)::before {
    background-image: url('https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?auto=format&fit=crop&w=800&q=80');
}
.locations-grid .location-card:nth-child(2) .icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/1892/1892747.png');
}

/* 3. Unit No. 2 - RDF Plant */
.locations-grid .location-card:nth-of-type(3)::before {
    background-image: url('https://images.unsplash.com/photo-1578507065211-1c4e99a5fd24?auto=format&fit=crop&w=800&q=80');
}
.locations-grid .location-card:nth-child(3) .icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/3030/3030312.png');
}

/* 4. Unit No. 3 - Bio Mining Plant */
.locations-grid .location-card:nth-of-type(4)::before {
    background-image: url('https://images.unsplash.com/photo-1578507065211-1c4e99a5fd24?auto=format&fit=crop&w=800&q=80');
}
.locations-grid .location-card:nth-child(4) .icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2432/2432801.png');
}

/* 5. Unit No. 4 - Compost & RDF Plant */
.locations-grid .location-card:nth-of-type(5)::before {
    background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=800&q=80');
}
.locations-grid .location-card:nth-child(5) .icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/4148/4148106.png');
}

/* 6. Unit No. 5 - Compost & RDF Plant */
.locations-grid .location-card:nth-of-type(6)::before {
    background-image: url('https://images.unsplash.com/photo-1509395176047-4a66953fd231?auto=format&fit=crop&w=800&q=80');
}
.locations-grid .location-card:nth-child(6) .icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2873/2873836.png');
}

/* 7. Workshop - Manufacturing Facility */
.locations-grid .location-card:nth-of-type(7)::before {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=800&q=80');
}
.locations-grid .location-card:nth-child(7) .icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/3233/3233483.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 {
    padding: 14px 32px;
    border-radius: 50px;
    background: #ffffff;
    color: #003579;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-btn:hover {
    transform: scale(1.05) translateX(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.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;
}

/* =========================================
   RESPONSIVE DESIGN ADAPTATIONS
========================================= */
@media (max-width: 1100px) {
    .locations-section { padding: 6rem 5vw 8rem; }
    .contact-form { padding: 4rem; }
}

@media (max-width: 768px) {
    .contact-hero { padding-left: 2rem; }
    
    .contact-info-strip {
        margin: -4rem auto 4rem;
        gap: 1.5rem;
    }
    
    .info-card { padding: 2.5rem 2rem; }
    
    .contact-form-section { padding: 5rem 1.5rem; }
    
    .contact-form { padding: 3rem 2rem; }
    
    .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .locations-grid { grid-template-columns: 1fr; }
    
    .location-card { padding: 14rem 2rem 2.5rem; } /* Adaptive padding for images */
}

@media (max-width: 480px) {
    .contact-hero-text h1 { font-size: 2.5rem; }
    button { width: 100%; text-align: center; }
}