:root {
    --primary: #0a3d91;
    --secondary: #1565c0;
    --light: #f4f8ff;
    --white: #ffffff;
}

html, body {
    margin: 0;
    font-family: Segoe UI, Arial, sans-serif;
    background: var(--light);
    padding-top: 0px;
    overflow-x: hidden;
    width: 100%;
}

/* Smooth scroll padding/offset for fixed header */
#setting,
#energy,
#waste,
#water,
#transportation,
#education,
#event,
#news,
#write-ups,
#financial-report {
    scroll-margin-top: 140px;
}

@media (max-width: 992px) {
    #setting,
    #energy,
    #waste,
    #water,
    #transportation,
    #education,
    #event,
    #news,
    #write-ups,
    #financial-report {
        scroll-margin-top: 90px;
    }
}

/* HEADER WITH GRADIENT */
.header {
    display: flex;
    flex-direction: column;
    padding: 15px 40px;
    background: linear-gradient(to bottom, #ffffff, #0a3d91);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}


.header-hidden {
    transform: translateY(-100%);
}

/* TOP ROW: Logos + Burger */
.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Group logos */
.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* LOGOS */
.logo,
.logo1 {
    height: 60px;
    width: auto;
}

/* HEADER BOTTOM */
.header-bottom {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* NAVBAR */
.navbar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
}

/* NAVBAR LINKS */
.navbar a,
.navbar-static {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s;
    padding: 5px 0;
}

.navbar-static {
    cursor: default;
    user-select: none;
}

/* Underline effect */
.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: #cfe8ff;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown trigger link */
.dropdown-trigger {
    cursor: pointer;
}

.dropdown-trigger .arrow {
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .dropdown-trigger .arrow {
    transform: rotate(180deg);
}

/* Dropdown content container (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #08347d; /* Slightly darker than main blue for depth */
    min-width: 260px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    padding: 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dropdown links */
.dropdown-content a {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Hover effects for dropdown links */
.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding-left: 24px; /* subtle micro-animation sliding in slightly */
}

/* Avoid underline effect for sub-items */
.dropdown-content a::after {
    display: none !important;
}

/* Show the dropdown menu on hover for desktop */
@media (min-width: 993px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Burger Button - hidden on desktop by default */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 6px;
    position: absolute;
    top: 45px;
    right: 40px;
    z-index: 2000;
}

/* Burger lines */
.burger span {
    width: 30px;
    height: 3px;
    background: white;
    display: block;
    border-radius: 2px;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 992px) {
    .header {
        padding: 12px 20px;
    }

    .logo,
    .logo1 {
        height: 38px;
    }

    body {
        padding-top: 110px;
    }

    .burger {
        display: flex;
        top: 30px;
        right: 20px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        transition: max-height 0.4s ease;
    }

    .navbar.active {
        max-height: 800px;
        margin-top: 15px;
    }

    /* ✅ Smaller navbar links for mobile */
    .navbar a,
    .navbar-static {
        font-size: 14px;
        padding: 6px 0;
    }

    /* Mobile Dropdown styles */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-trigger {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-content {
        display: none; /* hidden by default on mobile unless active */
        position: static;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.15);
        border: none;
        margin-top: 5px;
        width: 100%;
        border-radius: 6px;
        box-sizing: border-box;
        padding: 5px 0;
    }

    /* When dropdown is active on mobile, show it */
    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        text-align: center;
        padding: 8px 15px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.85);
    }
    
    .dropdown-content a:hover {
        padding-left: 15px; /* disable the left padding transition on mobile */
        background-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown.active .dropdown-trigger .arrow {
        transform: rotate(180deg);
    }

}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 400px;
    overflow: hidden;
    margin-top: 120px;
}

/* HERO VIDEO BACKGROUND */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* HERO OVERLAY WITH GRADIENT */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 61, 145, 0.2) 0%, rgba(10, 61, 145, 0.5) 100%);
    z-index: 2;
}

/* HERO CONTENT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 95%;
    max-width: 1100px;
}

/* HERO TITLE */
.hero-title {
    color: #ffffff;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* HERO SUBTITLE */
.hero-subtitle {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-top: 0;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* BUTTON */
.discover-btn {
    background: transparent;
    color: white;
    padding: 12px 35px;
    border: 1.5px solid white;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discover-btn:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.05);
}

/* ----------------- MEDIA QUERIES ----------------- */

/* Tablets / Medium Screens */
@media (max-width: 992px) {
    .hero {
        height: 60vh;
        min-height: 350px;
        margin-top: 0;
    }

    .hero-content {
        top: 50%;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }

    .discover-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .hero {
        height: 60vh;
        /* slightly taller to avoid zooming out */
        min-height: 300px;
    }

    .hero-content {
        top: 50%;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
    }

    .discover-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Setting */
.section1 {
    padding: 60px 40px;
    background: #ffffff;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
    text-align: center;
}

.section1 h2 {
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #0a3d91;
}

/* Main Image */
.section1 img {
    display: block;
    margin: 20px auto 50px auto;
    max-width: 750px;
    width: 100%;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section1 img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Two Column Layout */
.setting-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
    text-align: left;
    flex-wrap: wrap;
}

.setting-col {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    padding-left: 40px;
}

.setting-col h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #3d3d3d;
}

.setting-link {
    font-size: 18px;
    color: #0a3d91;
    text-decoration: underline;
    line-height: 1.6;
    display: inline-block;
}

/* ✅ Mobile Optimization */
@media (max-width: 768px) {

    .section1 {
        padding: 40px 15px;
    }

    .section1 h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .setting-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .setting-col {
        padding-left: 0;
        max-width: 100%;
    }

    .setting-col h3 {
        font-size: 22px;
    }

    .setting-link {
        font-size: 16px;
    }
}

/* ===== ENERGY SECTION ===== */
.section2 {
    padding: 60px 40px;
    background: #f2f2f2;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
}

/* Title */
.section2 h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 600;
    color: #0a3d91;
}

/* Layout */
.energy-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* LEFT IMAGE */
.energy-image-container {
    flex: 1;
}

.energy-image-container img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.energy-image-container img:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

/* RIGHT SIDE (Stats) */
.energy-stats {
    flex: 1.2;
    padding-left: 20px;
    /* space from image */
}

/* Each row */
.energy-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: start;
    margin-bottom: 45px;
    column-gap: 25px;
}

/* Numbers */
.energy-row h3 {
    font-size: 25px;
    font-weight: 600;
    color: #444;
    margin: 0;
    padding-top: 4px;
}

/* Links */
.energy-row a {
    font-size: 16px;
    color: #0a58ca;
    text-decoration: underline;
    line-height: 1.6;
    display: block;
}

.energy-row a:hover {
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .energy-wrapper {
        flex-direction: column;
    }

    .energy-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section2 h2 {
        font-size: 20px;
    }
}

/* ===== WASTE SECTION ===== */
.section3 {
    padding: 60px 40px;
    background: #ffffff;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
}

/* Title */
.section3 h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 600;
    color: #0a3d91;
}

/* Layout wrapper */
.waste-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* LEFT SIDE (Stats) */
.waste-stats {
    flex: 1.2;
}

/* Each row */
.waste-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    margin-bottom: 40px;
}

/* Big numbers */
.waste-row h3 {
    font-size: 28px;
    font-weight: 600;
    color: #444;
}

/* Links */
.waste-row a {
    font-size: 16px;
    color: #0a58ca;
    text-decoration: underline;
    line-height: 1.4;
}

.waste-row a:hover {
    opacity: 0.7;
}

/* RIGHT SIDE (Images) */
.waste-images {
    flex: 1;
}

.waste-images img {
    width: 100%;
    max-width: 600px;
    border-radius: 6px;
    margin-bottom: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover */
.waste-images img:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .waste-wrapper {
        flex-direction: column;
    }

    .waste-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section3 h2 {
        font-size: 20px;
    }
}

/* SECTION 4: Water */
.section4 {
    padding: 60px 30px;
    background: #f9f9f9;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
    text-align: center;
}

.section4 h2 {
    font-size: clamp(24px, 5vw, 42px);
    margin-bottom: 50px;
    font-weight: 600;
    color: #0a3d91;
}

.section4 img {
    display: block;
    margin: 20px auto;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section4 img:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.water-item a {
    text-decoration: none;
    font-weight: 600;
    color: #0a58ca;
    transition: 0.3s;
}

.water-item a:hover {
    text-decoration: underline;
}


/* ✅ Mobile Optimization */
@media (max-width: 768px) {

    .section4 {
        padding: 40px 15px;
        margin: 20px 10px;
    }

    .section4 h2 {
        margin-bottom: 20px;
    }

    .section4 img {
        max-width: 100%;
    }


    .section4 img:hover {
        transform: none;
        box-shadow: none;
    }

    .water-item a {
        font-size: 16px;
    }
}

/* ===== SECTION 5 TRANSPORTATION ===== */
.section5 {
    padding: 60px 40px;
    background: #f2f2f2;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
}

/* Title */
.section5 h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 600;
    color: #0a3d91;
}

/* Wrapper */
.section5-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* LEFT SIDE */
.transpo-images {
    flex: 1;
}

.transpo-img {
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

/* ✨ HOVER EFFECT */
.transpo-img:hover {
    transform: scale(1.06) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* RIGHT SIDE */
.transpo-content {
    flex: 1.2;
}

/* ===== STATS GRID ===== */
.transpo-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 30px;
    margin-bottom: 40px;
}

/* Each stat */
.stat-box h3 {
    font-size: 36px;
    color: #0a58ca;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-box p {
    font-size: 16px;
    color: #444;
    line-height: 1.4;
}

/* ===== LINK LIST ===== */
.transpo-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transpo-links a {
    color: #0a58ca;
    font-size: 15px;
    text-decoration: underline;
}

.transpo-links a:hover {
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .section5-wrapper {
        flex-direction: column;
    }

    .transpo-stats {
        grid-template-columns: 1fr;
    }

    .section5 h2 {
        font-size: 20px;
    }

    .stat-box h3 {
        font-size: 28px;
    }
}

/* ===== SECTION 6 EDUCATION ===== */
.section6 {
    padding: 60px 30px;
    background: #ffffff;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
}

/* Title */
.section6 h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 600;
    color: #0a3d91;
}

.education-logo {
    max-width: 60px;
    height: auto;
    vertical-align: middle;
    margin-left: 10px;
}

/* Wrapper for flex layout */
.education-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

/* Left: stats & links */
.education-left {
    flex: 1 1 300px;
    text-align: left;
}

.educ-item {
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.4;
}

.educ-item strong {
    font-size: 20px;
    color: #0a3d91;
}

.educ-item a {
    text-decoration: none;
    font-weight: 600;
    color: #0a58ca;
    transition: 0.3s;
}

.educ-item a:hover {
    text-decoration: underline;
}

.education-left p a {
    font-weight: bold;
}

/* Right: images */
.education-right {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.section6 .education1,
.section6 .education2 {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section6 img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Sustainability Button */
.sustain-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #0a58ca;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
}

/* Hover Effect */
.sustain-btn:hover {
    background-color: #084298;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .education-wrapper {
        flex-direction: column-reverse;
        align-items: center;
    }

    .education-left {
        text-align: center;
        margin-top: 20px;
    }

    .education-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .section6 .education1,
    .section6 .education2 {
        max-width: 90%;
    }

    /* ✅ Smaller title */
    .section6 h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    /* ✅ Smaller paragraph text */
    .educ-item {
        font-size: 14px;
    }

    /* ✅ Smaller numbers */
    .educ-item strong {
        font-size: 17px;
    }

    /* ✅ Smaller links */
    .educ-item a {
        font-size: 14px;
    }

    /* ✅ Smaller button */
    .sustain-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
}

/* ===== WRITE-UPS SECTION ===== */
.section-writeups {
    padding: 60px 40px;
    background: #ffffff;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
}

.section-writeups h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #0a3d91;
}

.writeups-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    max-width: 1000px;
    margin: 0 auto;
}

.writeups-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #0a3d91;
    margin: 0 0 10px 0;
}

/* 1. Image Container (Centered Top) */
.writeups-image-container {
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: center;
}

.writeups-img {
    width: 100%;
    max-width: 850px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
    cursor: pointer;
    object-fit: cover;
}

.writeups-img:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

/* 2. Text Content & Action (Below Image) */
.writeups-content {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.writeups-text {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 18px;
    text-align: justify;
    width: 100%;
}

.writeups-text:last-of-type {
    margin-bottom: 25px;
}

.writeups-action {
    text-align: center;
    margin-top: 5px;
    width: 100%;
}

@media (max-width: 992px) {
    .section-writeups {
        padding: 40px 20px;
    }
    .section-writeups h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .writeups-wrapper {
        padding: 25px 20px;
        gap: 20px;
    }
    .writeups-text {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }
    .writeups-action {
        text-align: center;
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
#scrollTopBtn {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s, box-shadow 0.3s;
}

#scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}

/* Image inside button */
.scroll-btn-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

/* Hover effect */
#scrollTopBtn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

#scrollTopBtn:hover .scroll-btn-img {
    transform: scale(1.1);
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 576px) {
    #scrollTopBtn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: #0a3d91;
    color: white;
    text-align: center;
    padding: 10px 20px;
    margin-top: 20px;
}

/* Footer text */
.footer p {
    margin: 8px 0;
    font-size: 15px;
}

/* Footer links */
.footer a {
    color: #cfe8ff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.footer a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.fb-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s;
}

.fb-link:hover .fb-icon {
    transform: scale(1.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 15px 10px;
    }

    .footer p {
        font-size: 13px;
        margin: 5px 0;
    }

    .footer a {
        font-size: 13px;
    }

    .fb-icon {
        width: 50px;
        height: 50px;
    }

    .fb-link span {
        font-size: 12px;
    }
}

/* RESPONSIVE */
@media(max-width:900px) {
    .header-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .navbar {
        justify-content: center;
    }

    .get-started {
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        margin: 10px;
        padding: 40px;
    }
}

/* PDF Modal */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.pdf-modal-content {
    background-color: #1269ff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.pdf-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}

.pdf-close:hover {
    color: #ff3939;
}

/* ==========================================================================
   BOOKFLIP PDF VIEWER MODAL
   ========================================================================== */

body.bookflip-open {
    overflow: hidden !important;
}

.bookflip-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10005;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.bookflip-modal.active {
    display: flex;
    opacity: 1;
}

.bookflip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 50, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

.bookflip-container {
    position: relative;
    z-index: 2;
    width: 96%;
    max-width: 1500px;
    height: 92vh;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.bookflip-header {
    height: 60px;
    background: linear-gradient(135deg, #0a3d91, #062b66);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    box-sizing: border-box;
    flex-shrink: 0;
}

.bookflip-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.bookflip-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bookflip-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bookflip-btn:hover {
    background: white;
    color: #0a3d91;
    border-color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bookflip-btn:active {
    transform: translateY(0);
}

.bookflip-btn.download-btn {
    background: #1565c0;
    border-color: #1565c0;
    text-decoration: none;
}

.bookflip-btn.download-btn:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    color: white;
}

.bookflip-page-display {
    font-size: 14px;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.bookflip-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 10px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bookflip-close-btn:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}

.bookflip-view {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: radial-gradient(circle, #0d412d 0%, #061830 100%);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.bookflip-viewport {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookflip-canvas-container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    max-height: 933px;
    margin: auto;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bookflip-canvas-container.loaded {
    opacity: 1;
}

/* StPageFlip custom classes */
.bookflip-page {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: inset 3px 0 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bookflip-page-canvas,
.bookflip-page-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.bookflip-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    border: 4px solid rgba(10, 61, 145, 0.1);
    border-left-color: #1565c0;
    border-radius: 50%;
    animation: bookflip-spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes bookflip-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile responsive fixes */
@media (max-width: 992px) {
    .bookflip-container {
        height: 95vh;
        width: 98%;
    }
}

@media (max-width: 768px) {
    .bookflip-header {
        padding: 0 15px;
        height: 50px;
    }
    .bookflip-title {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 130px;
    }
    .bookflip-controls {
        gap: 6px;
    }
    .bookflip-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .bookflip-btn.download-btn {
        display: none; /* Hide on mobile to save space */
    }
    .bookflip-page-display {
        font-size: 11px;
        min-width: 70px;
        padding: 4px 8px;
    }
    .bookflip-view {
        padding: 10px;
    }
}

/* Fallback Error Card for file:// CORS issue */
.bookflip-error-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(244, 63, 94, 0.4);
    border-radius: 14px;
    padding: 35px 30px;
    max-width: 580px;
    width: 90%;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    z-index: 100;
    margin: auto;
    box-sizing: border-box;
}

.bookflip-error-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.bookflip-error-card h3 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fda4af;
    margin-bottom: 15px;
}

.bookflip-error-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.bookflip-error-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.bookflip-error-actions a.bookflip-btn {
    text-decoration: none;
    background: #1565c0;
    border-color: #1565c0;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    box-sizing: border-box;
}

.bookflip-error-actions a.bookflip-btn:hover {
    background: #0d47a1;
    border-color: #0d47a1;
}

.bookflip-error-actions button.bookflip-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 320px;
    justify-content: center;
    box-sizing: border-box;
}

.bookflip-error-actions button.bookflip-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.bookflip-error-info {
    display: none;
    text-align: left;
    margin-top: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
}

.bookflip-error-info.show {
    display: block;
}

.bookflip-error-info p {
    margin-top: 0;
    color: #cbd5e1;
    font-size: 13.5px;
    margin-bottom: 12px;
}

.bookflip-error-info ul {
    margin: 0;
    padding-left: 20px;
}

.bookflip-error-info li {
    margin-bottom: 12px;
}

.bookflip-error-info li:last-child {
    margin-bottom: 0;
}

.bookflip-error-info code {
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 6px;
    border-radius: 4px;
    font-family: Consolas, Monaco, monospace;
    color: #e2e8f0;
    font-size: 12.5px;
}

/* Native PDF Iframe and Toast Notice fallback styles */
.bookflip-file-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.bookflip-toast-notice {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13.5px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    animation: bookflip-fade-in 0.3s ease-out;
    max-width: 90%;
    box-sizing: border-box;
}

.bookflip-toast-notice code {
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: Consolas, Monaco, monospace;
    font-size: 12.5px;
    color: #38bdf8;
}

@keyframes bookflip-fade-in {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== SECTION 7 FINANCIAL REPORT ===== */
.section7 {
    padding: 60px 40px;
    background: #ffffff;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
}

.section7 h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 600;
    color: #0a3d91;
}

.financial-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.financial-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.financial-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.financial-funding h3 {
    font-size: 20px;
    color: #0a3d91;
    margin-bottom: 12px;
    font-weight: 600;
}

.financial-funding ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.financial-funding li {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.financial-funding li strong {
    color: #333;
}

.financial-action {
    margin-top: 15px;
}

.financial-right {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Table Styling */
.financial-tables h3 {
    font-size: 20px;
    color: #0a3d91;
    margin-bottom: 15px;
    font-weight: 600;
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.financial-table th {
    background-color: #0a3d91;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
}

.financial-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eeeeee;
    color: #444;
}

.financial-table tbody tr:hover {
    background-color: rgba(10, 97, 145, 0.03);
}

.financial-table tr.table-total td {
    font-weight: 700;
    background-color: var(--light);
    color: #0a3d91;
    border-bottom: none;
}

/* Responsive Styles for Section 7 */
@media (max-width: 992px) {
    .section7 {
        padding: 40px 20px;
    }

    .section7 h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .financial-wrapper {
        flex-direction: column;
        gap: 35px;
    }

    .financial-left, .financial-right {
        width: 100%;
    }

    .financial-table th, .financial-table td {
        padding: 10px 12px;
        font-size: 13.5px;
    }
}

/* ===== SECTION EVENT ===== */
.section-event {
    padding: 60px 40px;
    background: #f2f2f2;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 1200px;
    text-align: center;
}

.section-event h2 {
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #0a3d91;
}

.event-video-container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 35px auto;
    border-radius: 14px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 32px rgba(10, 61, 145, 0.18), 0 6px 16px rgba(0, 0, 0, 0.12);
    background: #000000;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.event-video-container:hover {
    transform: translateY(-6px);
    border-color: #0a3d91;
    box-shadow: 0 22px 48px rgba(10, 61, 145, 0.28), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.event-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    outline: none;
}

video::-internal-media-controls-download-button,
video::-webkit-media-controls-save-as-button {
    display: none !important;
}

.event-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.event-col {
    flex: 0 1 380px;
    max-width: 380px;
    min-width: 260px;
    width: 100%;
}

.event-img-container {
    width: 100%;
    aspect-ratio: 2 / 3; /* Matches event2's exact aspect ratio */
    overflow: hidden;
    border-radius: 14px;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 32px rgba(10, 61, 145, 0.15), 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Matches sizes exactly without cropping any info */
    display: block;
    transition: transform 0.4s ease;
}

/* Hover effects */
.event-img-container:hover {
    transform: translateY(-8px);
    border-color: #0a3d91;
    box-shadow: 0 24px 50px rgba(10, 61, 145, 0.28), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.event-img-container:hover .event-img {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .section-event {
        padding: 40px 20px;
    }

    .section-event h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .event-video-container {
        max-width: 100%;
        margin-bottom: 25px;
        border-radius: 8px;
    }

    .event-video {
        border-radius: 8px;
    }

    .event-wrapper {
        gap: 20px;
    }

    .event-col {
        flex: 0 1 380px;
        max-width: 100%;
        width: 100%;
    }
}

/* ===== IMAGE ZOOM MODAL ===== */
.img-modal {
    display: none;
    position: fixed;
    z-index: 10006; /* Above header and bookflip */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 25, 50, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-modal.active {
    display: flex;
    opacity: 1;
}

.img-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 10007;
}

.img-modal-close:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}

.img-modal-content-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-modal-content {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.img-modal.active .img-modal-content {
    transform: scale(1);
}

/* Prevent body scrolling when modal is open */
body.img-modal-open {
    overflow: hidden !important;
}