/* ===================================
   ENERGY HIVE - MODERN CSS STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables */
:root {
    --primary-green: #16A34A;
    --primary-green-bright: #34D399;
    --solar-yellow: #FACC15;
    --accent-cyan: #38BDF8;
    --accent-purple: #8B5CF6;
    --white: #FFFFFF;
    --dark-gray: #111827;
    --light-gray: #F3F4F6;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --card-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --navbar-height: 76px;
    --navbar-height-mobile: 60px;
    --bg-section-a: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(240, 253, 244, 0.3) 100%);
    --bg-section-b: linear-gradient(135deg, rgba(240, 253, 244, 0.45) 0%, rgba(248, 250, 252, 0.35) 100%);
}

/* Dark Mode Variables */
body.dark-mode {
    --white: #FFFFFF;
    --light-gray: #FFFFFF;
    --text-dark: #FFFFFF;
    --text-light: #E5E7EB;
    --border-color: #64748B;
    --surface: rgba(15, 23, 42, 0.88);
    --surface-strong: rgba(15, 23, 42, 0.96);
    --bg-section-a: linear-gradient(135deg, rgba(15, 23, 42, 0.45) 0%, rgba(26, 58, 26, 0.35) 100%);
    --bg-section-b: linear-gradient(135deg, rgba(26, 58, 26, 0.45) 0%, rgba(15, 23, 42, 0.35) 100%);
    background: #020617;
    color: var(--text-dark);
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 24%), radial-gradient(circle at top right, rgba(250, 204, 21, 0.16), transparent 26%), linear-gradient(135deg, #f5fff7 0%, #ffffff 40%, #f4fbff 100%);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 0.01em;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
    animation: blobMove 16s ease-in-out infinite alternate;
}

body::before {
    top: -5rem;
    left: -8rem;
    background: var(--primary-green-bright);
}

body::after {
    bottom: -6rem;
    right: -7rem;
    background: var(--accent-cyan);
    animation-duration: 18s;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION BAR
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(34, 197, 94, 0.08);
}

body.dark-mode .navbar {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .contact-note,
body.dark-mode .contact-note h4,
body.dark-mode .contact-note p,
body.dark-mode .info-panel li {
    color: var(--text-dark) !important;
}

body.dark-mode .contact-note {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: rgba(134, 239, 172, 0.3) !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.active {
    color: var(--primary-green);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
    background: var(--primary-green);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.theme-toggle {
    background: rgba(34, 197, 94, 0.12);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.16);
    flex-shrink: 0;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    background: var(--primary-green);
    color: white;
    transform: rotate(20deg);
    outline: none;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.24);
}

.theme-toggle i {
    font-size: 1rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover i {
    transform: rotate(360deg) scale(1.15);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Ensure hamburger stays clickable on top of nav-menu */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
    background: var(--bg-section-a);
}

body.dark-mode .hero {
    box-shadow: inset 0 -60px 120px rgba(0, 0, 0, 0.16);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.solar-animation {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.16) 0%, rgba(34, 197, 94, 0.05) 45%, transparent 75%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    top: 16%;
    right: 8%;
    filter: blur(1px);
}

.energy-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(34, 197, 94, 0.8), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(250, 204, 21, 0.75), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(34, 197, 94, 0.7), transparent);
    background-size: 220px 220px;
    animation: drift 24s linear infinite;
    opacity: 0.8;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-50px); }
}

@keyframes drift {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.icon-float {
    position: absolute;
    font-size: 3rem;
    opacity: 0.13;
    animation: float 4.2s ease-in-out infinite;
    animation-delay: var(--delay);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.icon-float:nth-child(1) { top: 10%; left: 10%; }
.icon-float:nth-child(2) { top: 60%; right: 15%; }
.icon-float:nth-child(3) { bottom: 15%; left: 20%; }
.icon-float:nth-child(4) { top: 40%; right: 5%; }

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.7rem);
    font-weight: 900;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 40%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    text-shadow: 0 8px 30px rgba(34, 197, 94, 0.12);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 40px;
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.12);
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-green);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.18);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.18);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
}

.stat p {
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ===================================
   GENERAL SECTION STYLES
   =================================== */

.section {
    padding: 5.5rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    font-size: 1.15rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   IMPACT SIMULATOR SECTION
   =================================== */

.simulator-section {
    background: var(--bg-section-b);
}

.simulator-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

body.dark-mode .simulator-shell {
    background: rgba(15, 23, 42, 0.8);
}

.simulator-controls {
    flex: 1 1 320px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scenario-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.scenario-pill {
    border: 1px solid rgba(34, 197, 94, 0.22);
    background: rgba(34, 197, 94, 0.08);
    color: var(--text-dark);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.scenario-pill.active,
.scenario-pill:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.control-label {
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.simulator-results {
    flex: 1 1 320px;
    min-width: 280px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.result-card {
    background: linear-gradient(135deg, rgba(34,197,94,0.14), rgba(56,189,248,0.12));
    border-radius: 18px;
    padding: 1.25rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.result-card-accent {
    background: linear-gradient(135deg, rgba(250,204,21,0.18), rgba(34,197,94,0.16));
    grid-column: span 2;
}

.result-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.result-card h3 {
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.result-card span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   PROBLEM SECTION
   =================================== */

.problem-section {
    background: var(--bg-section-b);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.problem-card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.12);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: var(--card-shadow);
}

body.dark-mode .problem-card {
    background: rgba(30, 40, 60, 0.8);
    border-color: rgba(34, 197, 94, 0.2);
}

.problem-card:hover,
.feature-card:hover,
.impact-card:hover,
.sdg-card:hover,
.process-step:hover,
.timeline-item:hover,
.contact-form-wrapper:hover,
.mission-statement:hover,
.competition-info:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--primary-green);
    box-shadow: 0 22px 50px rgba(34, 197, 94, 0.16);
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.7rem;
    color: var(--primary-green);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(56, 189, 248, 0.14));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    animation: pulseSoft 3.2s ease-in-out infinite;
}

.problem-icon i {
    display: inline-block;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   SOLUTION SECTION
   =================================== */

.solution-section {
    background: var(--bg-section-a);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 244, 0.75) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.16);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: var(--card-shadow);
}

body.dark-mode .feature-card {
    background: linear-gradient(135deg, rgba(30, 40, 60, 0.8) 0%, rgba(26, 58, 26, 0.5) 100%);
}

.feature-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-bar {
    height: 8px;
    width: min(100%, 240px);
    margin: 0 auto;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

body.dark-mode .feature-bar {
    background: rgba(255, 255, 255, 0.1);
}

.feature-fill {
    height: 100%;
    width: var(--fill-width, 100%);
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--solar-yellow) 100%);
    border-radius: 10px;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works {
    background: var(--bg-section-b);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    align-items: center;
}

.process-step {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,253,244,0.95));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 22px;
    padding: 1.25rem;
    width: 100%;
    min-height: 210px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

body.dark-mode .process-step {
    background: rgba(30, 40, 60, 0.8);
}

.process-step:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: bold;
    text-align: center;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===================================
   IMPACT SECTION
   =================================== */

.impact-section {
    background: var(--bg-section-a);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 244, 0.72) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.16);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

body.dark-mode .impact-card {
    background: linear-gradient(135deg, rgba(30, 40, 60, 0.8) 0%, rgba(26, 58, 26, 0.5) 100%);
}

.impact-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
    transform: translateY(-10px);
}

.impact-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
}

.impact-unit {
    font-size: 1.5rem;
    color: var(--solar-yellow);
    font-weight: bold;
}

.impact-card h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-dark);
}

.impact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   SDG SECTION
   =================================== */

.sdg-section {
    background: var(--bg-section-b);
}

.sdg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.sdg-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(244,251,247,0.95));
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 18px;
    border: 2px solid rgba(34, 197, 94, 0.14);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    box-shadow: var(--card-shadow);
}

body.dark-mode .sdg-card {
    background: rgba(30, 40, 60, 0.8);
}

.sdg-card:hover {
    border-color: var(--primary-green);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.2);
}

.sdg-image {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto 0.75rem;
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.08);
    padding: 0.5rem;
}

.sdg-number {
    display: inline-block;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #10B981 100%);
    color: white;
    border-radius: 10px;
    line-height: 56px;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.sdg-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.sdg-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery-section {
    background: var(--bg-section-a);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(250, 204, 21, 0.12) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(34, 197, 94, 0.4);
    border-radius: 18px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(250, 204, 21, 0.2) 100%);
    border-color: var(--solar-yellow);
    transform: scale(1.05);
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===================================
   ROADMAP SECTION
   =================================== */

.roadmap-section {
    background: var(--bg-section-b);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--solar-yellow) 100%);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 3rem;
    width: 45%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.14);
    border-radius: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

body.dark-mode .timeline-item {
    background: rgba(30, 40, 60, 0.8);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

.timeline-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
    transform: translateY(-5px);
}

.timeline-marker {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-item p {
    color: var(--text-light);
}

/* ===================================
   TEAM SECTION
   =================================== */

.team-section {
    background: var(--bg-section-a);
}

.team-content {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(250, 204, 21, 0.12) 100%);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body.dark-mode .team-content {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(250, 204, 21, 0.05) 100%);
}

.team-info {
    flex: 1;
    min-width: 250px;
}

.team-info h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.team-desc {
    color: var(--text-dark);
}

.team-divider {
    width: 2px;
    height: 100px;
    background: var(--primary-green);
}

.mission-statement {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 197, 94, 0.14);
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
}

body.dark-mode .mission-statement {
    background: rgba(30, 40, 60, 0.8);
}

.mission-statement h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.mission-statement p {
    color: var(--text-dark);
    line-height: 1.8;
}

.competition-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 197, 94, 0.14);
    box-shadow: var(--card-shadow);
}

body.dark-mode .competition-info {
    background: rgba(30, 40, 60, 0.8);
}

.competition-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.competition-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.competition-badge {
    background: linear-gradient(135deg, var(--primary-green) 0%, #10B981 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: var(--bg-section-b);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 197, 94, 0.14);
    box-shadow: var(--card-shadow);
}

body.dark-mode .contact-form-wrapper {
    background: rgba(30, 40, 60, 0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.08), 0 0 0 4px rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(15, 23, 42, 0.9);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #10B981 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(8deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.28);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--dark-gray);
    color: var(--light-gray);
    padding: 4rem 0 1rem;
}

body.dark-mode .footer {
    background: #0a0f1a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #10B981 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.38);
}

.notification {
    position: fixed;
    top: 96px;
    right: 20px;
    min-width: 280px;
    max-width: min(92vw, 420px);
    padding: 14px 16px;
    border-radius: 14px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    z-index: 10000;
    animation: slideInDown 0.25s ease-out;
}

.notification-success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.notification-error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

body.dark-mode .notification {
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.scroll-to-top.show {
    display: flex;
}

/* ===================================
   LEGAL PAGES
   =================================== */

.legal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f7fff9 0%, #ffffff 100%);
}

body.dark-mode .legal-page {
    background: linear-gradient(135deg, #07110b 0%, #0f172a 100%);
}

.legal-hero {
    padding: 7rem 0 2rem;
}

.legal-card {
    background: var(--surface-strong);
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

body.dark-mode .legal-card {
    background: rgba(15, 23, 42, 0.92);
}

.legal-card h2,
.legal-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.legal-card p,
.legal-card li {
    color: var(--text-light);
    line-height: 1.75;
}

.legal-list {
    padding-left: 1.25rem;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

.legal-back-link:hover {
    text-decoration: underline;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1.5rem 0;
        gap: 0;
    }

    body.dark-mode .nav-menu {
        background-color: rgba(15, 23, 42, 0.95);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1rem;
    }

    .process-flow {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 3rem auto 0;
        gap: 1.5rem;
    }

    .process-arrow {
        display: none;
    }

    .timeline {
        position: relative;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 80px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0 !important;
    }

    .simulator-shell {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .team-content {
        flex-direction: column;
    }

    .team-divider {
        width: 100%;
        height: 2px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .problem-grid,
    .features-grid,
    .impact-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sdg-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .problem-card,
    .feature-card,
    .impact-card,
    .sdg-card {
        padding: 1.5rem;
    }

    .process-step {
        width: 100%;
    }

    .simulator-results {
        grid-template-columns: 1fr;
    }

    .result-card-accent {
        grid-column: span 1;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */

.reveal-item {
    opacity: 0 !important;
    transform: translateY(24px) !important;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease,
                background 0.3s ease !important;
    will-change: transform, opacity;
}

.reveal-item.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.25);
    }
    50% {
        box-shadow: 0 0 24px rgba(34, 197, 94, 0.5);
    }
}

@keyframes pulseSoft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blobMove {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(3rem, 2rem, 0) scale(1.08); }
}

/* Smooth scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

body.dark-mode ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10B981;
}

/* ===================================
   3D HOME EXPERIENCE
   =================================== */

.nav-logo { text-decoration: none; }

.hero-layout {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    gap: 3rem;
    align-items: center;
    padding-top: 3rem;
}

.hero-layout .hero-content { text-align: left; max-width: 760px; padding: 2rem 0; }
.hero-layout .hero-title { font-size: clamp(3.5rem, 7vw, 6.8rem); }
.hero-layout .hero-subtitle { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero-layout .hero-buttons, .hero-layout .hero-stats { justify-content: flex-start; }
.hero-layout .hero-stats { gap: 2.25rem; margin-top: 3rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.9rem; border: 1px solid rgba(22, 163, 74, 0.25); border-radius: 999px; color: var(--primary-green); background: rgba(255, 255, 255, 0.62); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.35rem; }
.hive-scene { --tilt-x: 0deg; --tilt-y: 0deg; position: relative; width: min(100%, 520px); aspect-ratio: 1 / 0.9; justify-self: end; transform-style: preserve-3d; perspective: 1000px; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform 180ms ease-out; }
.hive-scene::before { content: ''; position: absolute; inset: 18% 11% 8%; border-radius: 50%; background: radial-gradient(ellipse, rgba(250, 204, 21, 0.42), rgba(34, 197, 94, 0.13) 52%, transparent 70%); filter: blur(18px); transform: translateZ(-50px); animation: sceneGlow 4s ease-in-out infinite; }
.scene-orbit { position: absolute; border: 1px solid rgba(22, 163, 74, 0.34); border-radius: 50%; transform-style: preserve-3d; }
.orbit-one { inset: 9% 3%; transform: rotateX(68deg) rotateZ(-14deg); animation: orbitSpin 12s linear infinite; }
.orbit-two { inset: 21% 12%; border-color: rgba(250, 204, 21, 0.55); transform: rotateX(68deg) rotateZ(42deg); animation: orbitSpin 9s linear infinite reverse; }
.solar-panel { position: absolute; width: 36%; height: 32%; top: 32%; border: 7px solid #0f3d52; border-radius: 9px; background: linear-gradient(135deg, #164e63, #0e7490); display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 3px; box-shadow: 0 23px 26px rgba(15, 23, 42, 0.25); transform-style: preserve-3d; }
.solar-panel span { background: linear-gradient(135deg, #38bdf8, #075985); border-radius: 2px; opacity: 0.9; }
.panel-left { left: 4%; transform: rotateY(38deg) rotateZ(-13deg) translateZ(20px); animation: panelFloat 5s ease-in-out infinite; }
.panel-right { right: 4%; transform: rotateY(-38deg) rotateZ(13deg) translateZ(20px); animation: panelFloat 5s ease-in-out 0.5s infinite reverse; }
.hive-core { position: absolute; width: 42%; height: 48%; top: 25%; left: 29%; transform-style: preserve-3d; animation: coreFloat 5s ease-in-out infinite; }
.core-top { position: absolute; width: 72%; height: 24%; top: 0; left: 14%; border-radius: 50%; background: linear-gradient(140deg, #fde047, #f59e0b); box-shadow: inset -12px -8px 12px rgba(146, 64, 14, 0.2), 0 10px 25px rgba(245, 158, 11, 0.25); transform: translateZ(24px); }
.core-light { position: absolute; z-index: 2; width: 80%; height: 62%; top: 15%; left: 10%; border-radius: 28% 28% 38% 38%; display: grid; place-items: center; color: white; font-size: 2.6rem; background: linear-gradient(135deg, #15803d, #22c55e 48%, #86efac); border: 4px solid #14532d; box-shadow: inset 9px 4px 12px rgba(255,255,255,0.25), 0 18px 26px rgba(22, 101, 52, 0.28); transform: translateZ(32px); }
.core-light i { filter: drop-shadow(0 0 12px #fef08a); animation: boltPulse 2.4s ease-in-out infinite; }
.core-base { position: absolute; width: 100%; height: 36%; bottom: 0; border-radius: 28% 28% 40% 40%; background: linear-gradient(135deg, #134e4a, #065f46); box-shadow: inset -13px -10px 12px rgba(0,0,0,0.16), 0 22px 28px rgba(15,23,42,0.3); transform: translateZ(12px); }
.scene-label { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.75rem; border-radius: 999px; color: #14532d; background: rgba(255,255,255,0.9); box-shadow: 0 10px 22px rgba(15,23,42,0.14); font-size: 0.8rem; font-weight: 800; animation: labelFloat 4s ease-in-out infinite; }
.scene-label i { color: var(--primary-green); }.label-energy { top: 15%; right: 1%; }.label-cooling { bottom: 13%; left: 2%; animation-delay: 1.2s; }
@keyframes orbitSpin { to { transform: rotateX(68deg) rotateZ(346deg); } } @keyframes panelFloat { 50% { margin-top: -12px; } } @keyframes coreFloat { 50% { transform: translateY(-13px) rotateZ(1deg); } } @keyframes boltPulse { 50% { transform: scale(1.16); filter: drop-shadow(0 0 20px #fef08a); } } @keyframes sceneGlow { 50% { opacity: 0.65; transform: scale(1.08); } } @keyframes labelFloat { 50% { transform: translateY(-9px); } }

@media (max-width: 1024px) { .hero-layout { grid-template-columns: 1fr; padding-top: 1rem; text-align: center; } .hero-layout .hero-content { margin: 0 auto; text-align: center; } .hero-layout .hero-buttons, .hero-layout .hero-stats { justify-content: center; } .hive-scene { justify-self: center; width: min(88vw, 470px); margin-top: 1.5rem; } }
@media (max-width: 600px) { .hero-layout .hero-title { font-size: clamp(3rem, 16vw, 4.6rem); } .hive-scene { margin-top: 1rem; } .eyebrow { font-size: 0.7rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }

/* Linked content pages */
.page-banner { padding: 10.5rem 0 5rem; text-align: center; color: #f8fafc; background: radial-gradient(circle at 70% 20%, rgba(250,204,21,0.18), transparent 24%), radial-gradient(circle at 20% 90%, rgba(34,197,94,0.22), transparent 32%), linear-gradient(135deg, rgba(5, 46, 22, 0.9), rgba(20, 83, 45, 0.85) 55%, rgba(6, 78, 59, 0.9)); overflow: hidden; }
.page-banner-impact { background: radial-gradient(circle at 78% 20%, rgba(56,189,248,0.22), transparent 25%), radial-gradient(circle at 18% 90%, rgba(34,197,94,0.2), transparent 34%), linear-gradient(135deg, rgba(8, 47, 73, 0.9), rgba(20, 83, 45, 0.85) 58%, rgba(6, 78, 59, 0.9)); }
.page-banner .eyebrow { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); color: #dcfce7; }
.page-banner h1 { max-width: 920px; margin: 0 auto 1rem; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: 1.04; letter-spacing: -0.05em; }
.page-banner p:not(.eyebrow) { max-width: 720px; margin: 0 auto; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(248,250,252,0.83); }
.page-cta, .page-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; text-align: center; }
.footer-bottom a { color: #86efac; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.content-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: 3rem; align-items: center; }
.content-split h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 1rem 0; line-height: 1.12; }
.content-split p { color: var(--text-light); margin-bottom: 1rem; font-size: 1.05rem; }
.info-panel { padding: 2rem; border-radius: 22px; color: var(--text-dark); background: linear-gradient(145deg, rgba(34,197,94,0.16), rgba(250,204,21,0.13)); border: 1px solid rgba(34,197,94,0.22); box-shadow: var(--card-shadow); }
.info-panel h3 { color: var(--primary-green); font-size: 1.4rem; margin-bottom: 1rem; }
.info-panel li { margin-bottom: 0.85rem; color: var(--text-dark); }
.project-story { margin-top: 2rem; }
@media (max-width: 768px) { .content-split { grid-template-columns: 1fr; gap: 1.5rem; } .page-banner { padding: 8.5rem 0 4rem; } }

/* Site-wide 3D depth and motion */
.section { position: relative; overflow: clip; }
.section::before { content: ''; position: absolute; width: 18rem; height: 18rem; border-radius: 50%; top: 10%; right: -12rem; background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 68%); pointer-events: none; animation: ambientDrift 14s ease-in-out infinite alternate; }
.section:nth-of-type(even)::before { right: auto; left: -12rem; background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 68%); animation-delay: -5s; }
.section > .container { position: relative; z-index: 1; }
.tilt-card { --card-rotate-x: 0deg; --card-rotate-y: 0deg; transform-style: preserve-3d; will-change: transform; transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out; }
.tilt-card:hover { transform: perspective(1000px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateY(-10px) !important; box-shadow: 0 25px 46px rgba(15, 23, 42, 0.2) !important; }
.tilt-card > * { transform: translateZ(14px); }
.feature-card .feature-icon, .problem-card .problem-icon, .sdg-number, .step-number { transform: translateZ(30px); }
.impact-card .impact-number { text-shadow: 0 10px 24px rgba(22, 163, 74, 0.22); animation: numberFloat 3.8s ease-in-out infinite; }
.feature-card:nth-child(2n) .feature-icon, .problem-card:nth-child(2n) .problem-icon { animation-delay: 0.6s; }
.page-banner { position: relative; isolation: isolate; }
.page-banner::before, .page-banner::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,0.24); border-radius: 50%; pointer-events: none; z-index: -1; }
.page-banner::before { width: 36rem; height: 36rem; top: -24rem; right: 8%; animation: bannerOrbit 16s linear infinite; }
.page-banner::after { width: 22rem; height: 22rem; bottom: -14rem; left: 9%; animation: bannerOrbit 12s linear infinite reverse; }
.section-navigator {
    position: sticky;
    top: var(--navbar-height);
    z-index: 100;
    padding: 0.7rem 0;
    background: rgba(255,255,255,0.78);
    border-bottom: 1px solid rgba(22,163,74,0.14);
    backdrop-filter: blur(14px);
}
.section-navigator .container {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}
.section-navigator a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.84rem;
    background: rgba(34,197,94,0.08);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.section-navigator a:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}
body.dark-mode .section-navigator {
    background: rgba(2, 6, 23, 0.82);
    border-color: rgba(134,239,172,0.18);
}
.legal-page section[id] {
    scroll-margin-top: calc(var(--navbar-height) + 60px);
}
body:not(.legal-page) section[id] {
    scroll-margin-top: calc(var(--navbar-height) + 20px);
}
@keyframes ambientDrift { to { transform: translate3d(-2rem, 3rem, 0) scale(1.16); } }
@keyframes numberFloat { 50% { transform: translateY(-5px) scale(1.03); } }
@keyframes bannerOrbit { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
    .section-navigator {
        top: var(--navbar-height-mobile);
    }
    .section-navigator a {
        font-size: 0.76rem;
        padding: 0.38rem 0.65rem;
    }
    .legal-page section[id] {
        scroll-margin-top: calc(var(--navbar-height-mobile) + 60px);
    }
    body:not(.legal-page) section[id] {
        scroll-margin-top: calc(var(--navbar-height-mobile) + 20px);
    }
}

/* ===================================
   HIDE SECTION NAVIGATOR (tabs removed)
   =================================== */
.section-navigator {
    display: none !important;
}

/* ===================================
   3D PERSPECTIVE ENHANCEMENTS
   =================================== */

/* Global 3D perspective wrapper */
.section {
    perspective: 1200px;
}

.section > .container {
    transform-style: preserve-3d;
}

/* 3D reveal animation override */
.reveal-item {
    opacity: 0 !important;
    transform: translate3d(0, 32px, -40px) !important;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease !important;
    will-change: transform, opacity;
}

.reveal-item.reveal-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* Enhanced 3D card tilt */
.tilt-card {
    --card-rotate-x: 0deg;
    --card-rotate-y: 0deg;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.tilt-card:hover {
    transform: perspective(900px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateY(-12px) scale(1.01) !important;
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.22),
                0 0 0 1px rgba(34, 197, 94, 0.25) !important;
}
.tilt-card > * {
    transform: translateZ(18px);
}

/* ===================================
   FLOATING 3D PARTICLES
   =================================== */

.particle-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.7), transparent 70%);
    animation: particleRise var(--p-dur, 8s) ease-in-out var(--p-delay, 0s) infinite;
    opacity: 0;
}

@keyframes particleRise {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    20%  { opacity: 0.6; }
    80%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-120px) scale(1.2); }
}

/* ===================================
   PROGRESS BAR STYLES
   =================================== */

.impact-progress {
    margin-top: 1rem;
    height: 6px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.impact-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--solar-yellow));
    border-radius: 999px;
    width: 0%;
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-card.reveal-visible .impact-progress-fill {
    width: var(--progress-width, 70%);
}

/* ===================================
   TECH SPECS FLIP CARDS
   =================================== */

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.spec-flip-card {
    perspective: 900px;
    height: 220px;
    cursor: pointer;
}

.spec-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spec-flip-card:hover .spec-flip-inner,
.spec-flip-card:focus-within .spec-flip-inner {
    transform: rotateY(180deg);
}

.spec-front,
.spec-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(34, 197, 94, 0.18);
    box-shadow: var(--card-shadow);
}

.spec-front {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,253,244,0.9));
}

body.dark-mode .spec-front {
    background: linear-gradient(145deg, rgba(30, 40, 60, 0.9), rgba(26, 58, 26, 0.7));
}

.spec-back {
    background: linear-gradient(145deg, var(--primary-green), #10b981);
    transform: rotateY(180deg);
    color: white;
    border-color: transparent;
}

.spec-front-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.spec-front h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.spec-front p {
    font-size: 0.88rem;
    color: var(--text-light);
}

.spec-back h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.spec-back p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.spec-back .spec-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--solar-yellow);
    display: block;
    margin-bottom: 0.4rem;
}

/* ===================================
   AVATAR / TEAM CARDS
   =================================== */

.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.team-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,253,244,0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

body.dark-mode .team-card {
    background: linear-gradient(145deg, rgba(30, 40, 60, 0.9), rgba(26, 58, 26, 0.6));
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.18);
    border-color: var(--primary-green);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 1.25rem;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.28);
    animation: avatarFloat 4s ease-in-out infinite;
}

.team-card:nth-child(2) .team-avatar {
    animation-delay: 0.7s;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.team-card .role {
    font-size: 0.88rem;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.team-card .team-bio {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

/* ===================================
   JOURNEY / VALUES TIMELINE
   =================================== */

.journey-timeline {
    position: relative;
    max-width: 780px;
    margin: 2rem auto 0;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-green), var(--solar-yellow), var(--accent-cyan));
    border-radius: 2px;
}

.journey-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 4rem;
}

.journey-dot {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), #10b981);
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
}

body.dark-mode .journey-dot {
    border-color: #0f172a;
}

.journey-content {
    background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(240,253,244,0.8));
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    flex: 1;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

body.dark-mode .journey-content {
    background: rgba(30, 40, 60, 0.8);
}

.journey-content:hover {
    transform: translateX(6px);
    border-color: var(--primary-green);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.14);
}

.journey-content h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.journey-content p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===================================
   GLOBAL STATS / WORLD SECTION
   =================================== */

.global-stats-section {
    background: linear-gradient(135deg, rgba(5, 46, 22, 0.92), rgba(20, 83, 45, 0.88) 55%, rgba(6, 78, 59, 0.92));
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
}

.global-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(250, 204, 21, 0.18), transparent 42%),
                radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.14), transparent 38%);
    pointer-events: none;
}

.global-stats-section .section-title,
.global-stats-section .section-subtitle {
    color: rgba(248, 250, 252, 0.95) !important;
}

.global-stats-section .section-subtitle {
    color: rgba(248, 250, 252, 0.75) !important;
}

.global-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.global-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.global-stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(250, 204, 21, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.global-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.global-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--solar-yellow);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.global-stat-unit {
    font-size: 1.2rem;
    color: var(--primary-green-bright);
    font-weight: 700;
}

.global-stat-label {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.85);
    margin-top: 0.5rem;
    font-weight: 500;
}

.global-stat-desc {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.6);
    margin-top: 0.35rem;
}

/* ===================================
   TESTIMONIAL / QUOTE SECTION
   =================================== */

.testimonial-section {
    background: var(--bg-section-b);
}

.quote-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 244, 0.85));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
    position: relative;
}

body.dark-mode .quote-card {
    background: linear-gradient(145deg, rgba(30, 40, 60, 0.9), rgba(26, 58, 26, 0.7));
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 2.5rem;
    font-size: 8rem;
    color: rgba(34, 197, 94, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.quote-text {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1rem;
}

/* ===================================
   TECHNOLOGIES USED SECTION
   =================================== */

.tech-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,253,244,0.7));
    backdrop-filter: blur(8px);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-dark);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.1);
    transition: all 0.25s ease;
    cursor: default;
}

body.dark-mode .tech-badge {
    background: rgba(30, 40, 60, 0.8);
}

.tech-badge:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: var(--primary-green);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.2);
}

.tech-badge i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* ===================================
   ENERGY FLOW ANIMATED CONNECTOR
   =================================== */

.flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    animation: flowPulse 1.5s ease-in-out infinite;
}

@keyframes flowPulse {
    0%, 100% { opacity: 0.4; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.12); }
}

/* ===================================
   3D BACKGROUND MESH GRID
   =================================== */

.mesh-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 50%, transparent 100%);
    animation: meshDrift 20s linear infinite;
}

@keyframes meshDrift {
    0% { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}

/* ===================================
   ADDITIONAL KEYFRAMES
   =================================== */

@keyframes spinSlow {
    to { transform: rotate(360deg); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.2); }
    50%       { box-shadow: 0 0 32px rgba(34, 197, 94, 0.55), 0 0 60px rgba(34, 197, 94, 0.2); }
}

@keyframes depthPop {
    0%   { transform: translate3d(0, 20px, -50px); opacity: 0; }
    100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Shimmer accent on section titles */
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--solar-yellow), var(--primary-green));
    background-size: 200%;
    border-radius: 2px;
    margin: 0.6rem auto 0;
    animation: shimmer 3s linear infinite;
}

/* ===================================
   3D PAGE BANNER ENHANCEMENTS
   =================================== */

.page-banner {
    perspective: 1000px;
}

.page-banner .container {
    transform-style: preserve-3d;
    animation: depthPop 1s ease-out forwards;
}

/* ===================================
   ENHANCED HERO 3D SCENE RINGS
   =================================== */

.orbit-three {
    position: absolute;
    inset: 35% 18%;
    border: 1px dashed rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    animation: orbitSpin 20s linear infinite;
    transform: rotateX(60deg) rotateZ(80deg);
}

/* ===================================
   RESPONSIVE 3D ADJUSTMENTS
   =================================== */

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .spec-flip-card {
        height: 200px;
    }
    .global-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-cards-grid {
        grid-template-columns: 1fr;
    }
    .journey-timeline::before {
        left: 14px;
    }
    .journey-item {
        padding-left: 3rem;
    }
    .journey-dot {
        left: 0;
        width: 26px;
        height: 26px;
    }
    .quote-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .global-stats-grid {
        grid-template-columns: 1fr;
    }
    .tech-badges-row {
        gap: 0.6rem;
    }
    .tech-badge {
        font-size: 0.82rem;
        padding: 0.6rem 1.1rem;
    }
}
