/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

: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;        /* 🔥 key fix */
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 20;
}

.nav-spacer {
    flex: 1;
}

.logo img {
    width: 300px;
    border-radius: 12px;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links > li > a {
    position: relative;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: .4s ease;
    box-shadow: 0 0 10px #0047aa40;
}

/* RIPPLE */
.nav-links > li > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--g2);
    opacity: .85;
    border-radius: inherit;
    transform: scale(0);
    transition: .5s ease;
    z-index: -1;
}

.nav-links > li > a:hover::after {
    transform: scale(1);
}

/* DROPDOWN */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 170%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    padding: .75rem;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .35s ease;

    display: grid;
    grid-template-columns: 1fr; /* default: single column */
    gap: .25rem;
    min-width: 160px;
}

/* 🔥 If dropdown has MORE THAN 3 items → 2 columns */
.dropdown:has(a:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    min-width: 340px;
}


/* ✅ ONLY JS CONTROLS VISIBILITY */
.nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: .75rem 1.25rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: .3s ease;
}

.dropdown a:hover {
    background: var(--g2);
    transform: translateX(4px);
}

/* HERO WRAPPER */
.sustainability-hero {
    width: 100%;
    height: 800px;
    background: #a9cf45;

    border-radius: 0 0 64px 64px; /* 🔥 bottom-left & bottom-right only */

    padding: 5rem 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}


/* LEFT TEXT */
.sustainability-hero-text {
    max-width: 680px;
}

.sustainability-hero-text h1 {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.sustainability-hero-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
}

.sustainability-hero-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.3rem;
    color: #000;
}

/* RIGHT VISUAL */
.sustainability-hero-visual {
    flex-shrink: 0;
}

.sustainability-hero-visual img {
    width: 460px;
    max-width: 100%;
    display: block;
}

/* SECTION WRAPPER */
.carbon-impact {
    margin-top: -5rem;
    position: relative;
    background: #000;
    color: #fff;
    padding: 5rem 4.5rem;
    overflow: hidden;
    z-index: -2;
}

/* CONTENT */
.carbon-content {
    position: relative;
    max-width: 900px;
    z-index: 2;
}

/* TITLE */
.carbon-impact h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

/* YELLOW UNDERLINE */
.section-underline {
    display: block;
    width: 90px;
    height: 4px;
    background: #d7d83c;
    border-radius: 3px;
    margin-bottom: 2rem;
}

/* PARAGRAPHS */
.carbon-impact p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.9);
}

.carbon-impact .subheading {
    margin-top: 2rem;
    font-weight: 600;
}

/* LISTS */
.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.4rem;
}

/* FOOTNOTE */
.carbon-impact .footnote {
    margin-top: 1.8rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

/* DECORATIVE WAVES */
.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.35;
    z-index: 5;
}

/* TOP WAVE */
.wave-top {
    top: -120px;
    left: -20%;
    transform: rotate(8deg);
}

/* BOTTOM WAVE */
.wave-bottom {
    bottom: -140px;
    right: -20%;
    transform: rotate(-12deg);
}

/* SECTION WRAPPER */
.esg-section {
    background: #000;
    padding: 4.5rem;

}

/* MAIN PANEL */
.esg-panel {
    position: relative;
    border-radius: 36px;
    padding: 4rem 4.5rem;

    background:
        radial-gradient(circle at top, rgba(170,200,60,0.65), rgba(0,0,0,0.85) 65%),
        linear-gradient(180deg, rgba(0,0,0,0.75), rgba(0,0,0,0.9));

    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);
}

/* 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;
}

/* CERTIFICATION GRID */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* CERT CARD */
.cert-card {
    max-height: 340px;
    background: #e0e0e0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE INSIDE CARD */
.cert-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 1rem;
    z-index: 2;
}

/* PLACEHOLDER CROSS (ONLY WHEN EMPTY) */
.cert-card:empty::before,
.cert-card:empty::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.cert-card:empty::before {
    background: linear-gradient(
        to bottom right,
        transparent 49%,
        rgba(0,0,0,0.15) 50%,
        transparent 51%
    );
}

.cert-card:empty::after {
    background: linear-gradient(
        to top right,
        transparent 49%,
        rgba(0,0,0,0.15) 50%,
        transparent 51%
    );
}

/* ===========================
   SDG MAPPING SECTION
=========================== */

#sdg-mapping {
    background: #ffffff;
    padding: 80px 100px;
    position: relative;
}

#sdg-mapping p {
    max-width: 950px;
    margin: 20px auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(0,0,0,0.8);
    text-align: center;
}

/* GRID */
.sdg-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* CARD */
.sdg-card {
    background: linear-gradient(180deg, #f9fbf9, #eef6ee);
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* subtle accent strip */
.sdg-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #4caf50;
    border-radius: 20px 0 0 20px;
}

/* TITLE */



.sdg-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f3d2e;
}

.sdg-card h1 {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000000;
}


/* TEXT */
.sdg-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(0,0,0,0.78);
    text-align: left;
}

/* HOVER */
.sdg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.14);
}

/* FOOTNOTE */
.sdg-footnote {
    margin-top: 60px;
    font-size: 0.95rem;
    color: rgba(0,0,0,0.65);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}



/* PROMISE TEXT */
.promise p {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    color: rgba(255,255,255,0.9);
}

        /* Overall Footer */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 50px 80px;
    background: linear-gradient(145deg, #0047a5, #003579);
    color: #fff;
    font-family: "Poppins", sans-serif;
    position: relative;
}

/* LEFT SIDE */
.footer-left h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #00d063;
    border-radius: 50%;
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    font-size: 15px;
    line-height: 1.9;
}

.footer-links li {
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-links li:hover {
    opacity: 0.7;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.85;
}

/* RIGHT SIDE */
.footer-right {
    width: 40%;
    text-align: right;
    margin-right: 60px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 50px;
}

.footer-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: #fff;
    color: #003579;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: 0.3s;
}

.footer-btn:hover {
    transform: translateX(3px);
}

.arrow {
    margin-left: 6px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 20px 0;
}

.footer-logo img {
    width: 250px;
    margin-right: 15px;
    border-radius: 12px;
}

.footer-logo-text h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.footer-logo-text p {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.85;
}

.footer-legal {
    margin-top: 25px;
}

.footer-legal a {
    color: #fff;
    font-size: 13px;
    margin-left: 20px;
    text-decoration: none;
    opacity: 0.85;
}

.footer-legal a:hover {
    opacity: 1;
}

/* FLOATING ICONS */
.footer-floating-icons {
    position: absolute;
    right: 40px;
    top: 80px;
}

.circle-btn {
    width: 45px;
    height: 45px;
    background: #004fbb;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    margin-bottom: 15px;
}

.side-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #003f96;
    padding: 12px;
    border-radius: 30px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    background: #0051c5;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}