/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}
/* SCROLL PROGRESS BAR */
.scroll-progress {
    position: fixed; 
    top: 0; 
    left: 0;
    height: 4px; 
    width: 0%;
    background: linear-gradient(90deg, #0047aa, #8cb500);
    z-index: 10000;
    transition: width 0.1s linear;
}
:root {
--g2: linear-gradient(45deg, #8cb500, #0047aa);
}

/* HERO SECTION WITH BLACK TINT */
.hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: 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;
    font-size: 0.95rem;
    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);
}
/* =========================================
   ENHANCED SUSTAINABILITY HERO SECTION
   ========================================= */

/* HERO WRAPPER */
.sustainability-hero {
    width: 100%;
    min-height: 800px;
    
    /* Enhanced Background: Smooth vibrant gradient replacing flat color */
   background: url(assets/images/hero_3.webp) no-repeat center/cover;
    border-radius: 0 0 0 0; /* Softer, more modern bottom curve */

    padding: 10rem 6rem 6rem; /* Adjusted top padding to prevent nav overlap */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;

    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -20px 60px rgba(0,0,0,0.05),
                0 20px 40px rgba(140, 181, 0, 0.15); /* Soft outer glow */
}

/* Decorative background light flare */
.sustainability-hero::before {
    content: '';
    position: absolute;
    inset: 0;

    /* 🔥 DARK OVERLAY */
    background: rgba(0, 0, 0, 0.55);

    z-index: 0;
}

/* LEFT TEXT */
.sustainability-hero-text {
    max-width: 680px;
    position: relative;
    z-index: 1;
    animation: fadeUpText 1s ease-out forwards;
}

.sustainability-hero-text h1 {
    font-size: clamp(3.5rem, 5vw, 4.8rem); /* Fluid responsive typography */
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    color: #ffffff; /* Deep, rich green-black for high contrast */
    letter-spacing: -1.5px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Soft text depth */
}

.sustainability-hero-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    color: #9dd19d;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

/* Interactive underline on H3 hover */
.sustainability-hero-text h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--g2);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sustainability-hero-text:hover h3::after {
    width: 100%;
}

.sustainability-hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.3rem;
    color: rgba(251, 255, 251, 0.85); /* Slightly muted dark tone for readability */
    max-width: 90%;
}

/* RIGHT VISUAL */
.sustainability-hero-visual {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    perspective: 1000px; /* Preps the container for 3D tilt effects */
}

.sustainability-hero-visual {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

/* 🔥 GLASS BACK PANEL */
.sustainability-hero-visual::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: 40px;

    /* GLASS EFFECT */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        inset 0 0 30px rgba(255,255,255,0.1);

    z-index: -1;
     pointer-events: none;   /* 🔥 prevents hover glitch */
}

.sustainability-hero-visual img {
    width: 460px;
    max-width: 100%;
    display: block;
    border-radius: 28px;

    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 6px rgba(255,255,255,0.15);

    transition: all 0.5s ease;
     will-change: transform;
    backface-visibility: hidden;
}
.sustainability-hero-visual img {
    transform-origin: center center;
}
/* Interactive 3D Hover on the Image */
.sustainability-hero-visual:hover img {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.25),
                0 0 0 12px rgba(255, 255, 255, 0.3);
    animation-play-state: paused; /* Pause floating when user interacts */
}

.sustainability-hero-visual::before {
    animation: glassGlow 6s ease-in-out infinite;
}

@keyframes glassGlow {
    0%,100% { opacity: 1; }
    50% { opacity: 0.85; }
}
/* =========================================
   KEYFRAME ANIMATIONS & RESPONSIVE DESIGN
   ========================================= */

@keyframes fadeUpText {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* Responsive adjustments for mobile/tablets */
@media (max-width: 1024px) {
    .sustainability-hero {
        flex-direction: column;
        text-align: center;
        padding: 8rem 2rem 4rem;
        border-radius: 0 0 50px 50px;
        gap: 3rem;
    }

    .sustainability-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Centering the interactive underline on mobile */
    .sustainability-hero-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sustainability-hero-text:hover h3::after {
        transform: translateX(-50%);
    }

    .sustainability-hero-text p {
        max-width: 100%;
    }
}

/* SECTION WRAPPER */
.carbon-impact {
    margin-top: -5rem;
    position: relative;

    background: linear-gradient(135deg, #002b36, #005c6e, #008f7a);
    background-size: 200% 200%;
    animation: gradientMove 12s ease infinite;

    color: #fff;
    padding: 5rem 4.5rem;

    display: flex;              /* 🔥 ADD THIS */
    justify-content: center;    /* 🔥 CENTER HORIZONTALLY */

    overflow: hidden;
    z-index: 1;
}

/* Background Animation */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CONTENT - Added Glassmorphism & Hover Physics */
.carbon-content {
    position: relative;
    max-width: 900px;
    width:100%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.carbon-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

/* TITLE */
.carbon-impact h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* YELLOW UNDERLINE - Interactive Expansion */
.section-underline {
    display: block;
    width: 90px;
    height: 4px;
    background: #d7d83c;
    border-radius: 3px;
    margin-bottom: 2rem;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
}

.carbon-content:hover .section-underline {
    width: 150px; /* Expands when user hovers over the content area */
    background: #f1f25e;
}

/* PARAGRAPHS */
.carbon-impact p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s ease;
}

.carbon-content:hover p {
    color: rgba(255,255,255,1);
}

.carbon-impact .subheading {
    margin-top: 2rem;
    font-weight: 600;
    color: #fff;
}

/* LISTS - Interactive list items */
.carbon-impact ul {
    margin-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.carbon-impact li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
}

.carbon-impact li:hover {
    color: #fff;
    transform: translateX(8px); /* Shifts right slightly on hover */
    text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* FOOTNOTE */
.carbon-impact .footnote {
    margin-top: 1.8rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

/* DECORATIVE WAVES - Added Parallax/Floating Animation */
.wave {
    position: absolute;
    width: 140%;
    height: 300px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 1) 1px,
        transparent 1px,
        transparent 10px
    );
    opacity: 0.15; /* Softened slightly to match the brighter background */
    z-index: 0;
    pointer-events: none; /* Prevents waves from blocking mouse hovers */
}

/* TOP WAVE */
.wave-top {
    top: -120px;
    left: -20%;
    transform: rotate(8deg);
    animation: floatWaveTop 8s ease-in-out infinite alternate;
}

@keyframes floatWaveTop {
    0% { transform: rotate(8deg) translateY(0); }
    100% { transform: rotate(10deg) translateY(20px); }
}

/* BOTTOM WAVE */
.wave-bottom {
    bottom: -140px;
    right: -20%;
    transform: rotate(-12deg);
    animation: floatWaveBottom 10s ease-in-out infinite alternate;
}

@keyframes floatWaveBottom {
    0% { transform: rotate(-12deg) translateY(0); }
    100% { transform: rotate(-14deg) translateY(-20px); }
}

/* SECTION WRAPPER */
.esg-section {
    position: relative;
    padding: 4.5rem;

    /* ✅ BACKGROUND IMAGE */
    background: url("assets/images/esg-bg.jpg") no-repeat center/cover;

    overflow: hidden;
}

.esg-section::before {
    content: "";
    position: absolute;
    inset: 0;

    /* DARK OVERLAY FOR READABILITY */
    background: rgba(171, 211, 86, 0.65);

    z-index: 0;
}

.esg-panel {
    position: relative;
    z-index: 1;
}

/* MAIN PANEL */
.esg-panel {
    position: relative;
    border-radius: 36px;
    padding: 4rem 4.5rem;

    /* Updated to Blue-Green Gradient */
    background:
        radial-gradient(circle at top, rgba(0, 160, 140, 0.5), rgba(0, 25, 40, 0.85) 65%),
        linear-gradient(180deg, rgba(0, 30, 45, 0.8), rgba(0, 10, 15, 0.95));

    color: #fff;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.6);
}

/* TITLE */
.esg-panel h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

/* UNDERLINE */
.esg-underline {
    display: block;
    width: 90px;
    height: 4px;
    background: #000;
    margin: 0.6rem auto 2rem;
    border-radius: 3px;
}

/* INTRO TEXT */
.esg-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.esg-sub {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

/* CARDS GRID */
.esg-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* CARD */
.esg-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
    border-radius: 26px;
    padding: 2rem 2.2rem;

    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        inset 0 0 30px rgba(255,255,255,0.06),
        0 20px 50px rgba(0,0,0,0.7);
        
    /* Added transition for smooth hover effects */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* CARD HOVER HIGHLIGHT EFFECT */
.esg-card:hover {
    transform: translateY(-10px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow:
        inset 0 0 40px rgba(255,255,255,0.15),
        0 25px 60px rgba(0,0,0,0.8),
        0 0 25px rgba(0, 160, 140, 0.3); /* Subtle blue-green glow */
}

/* CARD TITLES */
.esg-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.env { color: #b6e240; }
.soc { color: #9fd3ff; }
.gov { color: #caa6ff; }

/* LIST */
.esg-card ul {
    padding-left: 1.2rem;
}

.esg-card li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.9);
}

/* SECTION WRAPPER */
.compliance-section {
    background: #000;
    padding: 5rem 4.5rem 6rem;
    color: #fff;
}

/* GENERIC BLOCK */
.block {
    margin-bottom: 4.5rem;
}

/* HEADINGS */
.block h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

/* YELLOW UNDERLINE */
.yellow-underline {
    display: block;
    width: 90px;
    height: 4px;
    background: #d7d83c;
    border-radius: 3px;
    margin-bottom: 2.2rem;
}

/* ==========================================================================
   CERTIFICATIONS & COMPLIANCE SECTION
   ========================================================================== */

/* SECTION WRAPPER */
.compliance-section {
    /* Premium dark gradient instead of flat black */
    background: radial-gradient(circle at top right, #1f2937 0%, #0f172a 50%, #020617 100%);
    padding: 6rem 4.5rem 7rem;
    color: #fff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

/* GENERIC BLOCK */
.block {
    margin-bottom: 4.5rem;
    max-width: 1200px;
    margin-inline: auto; /* Centers the content on large screens */
}

/* HEADINGS */
.heading-wrapper {
    margin-bottom: 3.5rem;
}

.block h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* YELLOW UNDERLINE - Enhanced with glow */
.yellow-underline {
    display: block;
    width: 90px;
    height: 5px;
    background: #d7d83c;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(215, 216, 60, 0.4);
    transition: width 0.4s ease;
}

.compliance-section:hover .yellow-underline {
    width: 120px; /* Expands slightly when the section is interacted with */
}

/* CERTIFICATION GRID - Made completely responsive */
.cert-grid {
    display: grid;
    /* Auto-fit ensures it drops to 2 or 1 columns on smaller screens seamlessly */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* CERT CARD - Premium Glassmorphism & Interaction */
.cert-card {
    height: 380px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    
    /* Smooth transitions for hover effects */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Shine overlay effect */
.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 10;
    pointer-events: none;
}

/* Hover States for the Card */
.cert-card:hover {
    transform: translateY(-12px);
    border-color: rgba(215, 216, 60, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(215, 216, 60, 0.15); /* Brand colored ambient glow */
}

/* Trigger shine sweep on hover */
.cert-card:hover::before {
    left: 150%;
}

/* IMAGE WRAPPER & IMAGE INSIDE CARD */
.cert-image-wrapper {
    width: 100%;
    height: 100%;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
    z-index: 2;
}

.cert-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Adding a subtle drop shadow to the document itself */
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

/* Image scaling inside on hover */
.cert-card:hover .cert-image-wrapper {
    transform: scale(1.05);
}

/* INTERACTIVE OVERLAY - Slides up on hover */
.cert-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 3rem 1.5rem 1.5rem;
    z-index: 5;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cert-card:hover .cert-overlay {
    transform: translateY(0);
}

.cert-content h3 {
    color: #d7d83c;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.cert-content p {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* PLACEHOLDER CROSS (ONLY WHEN EMPTY) - Updated to match premium theme */
.cert-card:empty::before,
.cert-card:empty::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
}

.cert-card:empty::before {
    background: linear-gradient(to bottom right, transparent 49%, rgba(255,255,255,0.05) 50%, transparent 51%);
}

.cert-card:empty::after {
    background: linear-gradient(to top right, transparent 49%, rgba(255,255,255,0.05) 50%, transparent 51%);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .compliance-section {
        padding: 4rem 1.5rem;
    }
    .cert-card {
        height: 320px;
    }
    /* Make overlay slightly visible on mobile so users know it's there */
    .cert-overlay {
        transform: translateY(85%);
    }
    .cert-card:hover .cert-overlay,
    .cert-card:active .cert-overlay {
        transform: translateY(0);
    }
}

/* ===========================
   SDG MAPPING SECTION (PRO UI)
=========================== */

#sdg-mapping {
    background: linear-gradient(135deg, #f4fbf4, #e6f5e6);
    padding: 90px 100px;
    position: relative;
    overflow: hidden;
}

/* BACKGROUND GLOW */
#sdg-mapping::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76,175,80,0.15), transparent 70%);
    top: -200px;
    right: -150px;
    z-index: 0;
}

/* GRID */
.sdg-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    position: relative;
    z-index: 1;
}

/* CARD */
.sdg-card {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 20px 20px 26px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.4);
}

/* IMAGE BLOCK USING BEFORE */
.sdg-card::before {
    content: "";
    display: block;
    width: 100%;
    height: 160px;
    border-radius: 14px;
    margin-bottom: 16px;
    background-size: cover;
    background-position: center;
}

/* DIFFERENT IMAGES FOR EACH CARD */
.sdg-card:nth-child(1)::before {
    background-image: url(assets/images/clean_water.jpg);
}

.sdg-card:nth-child(2)::before {
    background-image: url(assets/images/clean_energy.jpg);
}

.sdg-card:nth-child(3)::before {
    background-image: url(assets/images/sustainable_cities.jpg);
}

.sdg-card:nth-child(4)::before {
    background-image: url(assets/images/consumption.jpg);
}

.sdg-card:nth-child(5)::before {
    background-image: url(assets/images/climate_action.jpg);
}

.sdg-card:nth-child(6)::before {
    background-image: url(assets/images/life_on_land.jpg);
}

/* LEFT GREEN STRIP */
.sdg-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #4caf50, #2e7d32);
    border-radius: 20px 0 0 20px;
}

/* TEXT */
.sdg-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1b5e20;
}

.sdg-card h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #2e7d32;
}

.sdg-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(0,0,0,0.7);
    text-align: left;
}

/* HOVER EFFECT */
.sdg-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.18),
        0 0 25px rgba(76,175,80,0.25);
    border: 1px solid rgba(76,175,80,0.3);
}

/* IMAGE ZOOM (SIMULATED) */
.sdg-card:hover::before {
    transform: scale(1.08);
    transition: 0.4s ease;
}

/* FOOTNOTE */
.sdg-footnote {
    margin-top: 70px;
    font-size: 0.95rem;
    color: rgba(0,0,0,0.6);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sdg-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .sdg-grid {
        grid-template-columns: 1fr;
    }

    #sdg-mapping {
        padding: 70px 20px;
    }
}

 /* ==========================================================================
   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: 40px; /* 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;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}