/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --nav-bg: #ffffff;
    --nav-text: #333333;
    --nav-hover: #007bff;
    --section-bg: #f8f9fa;
    --footer-bg: #2c3e50;
    --footer-text: #ffffff;
    --donate-btn-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --donate-btn-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --donate-btn-text: #ffffff;
}

[data-theme="dark"] {
    --bg-color: #0a1929;
    --text-color: #e0e0e0;
    --nav-bg: #132f4c;
    --nav-text: #e0e0e0;
    --nav-hover: #4a9eff;
    --section-bg: #1a3a5c;
    --footer-bg: #0a1929;
    --footer-text: #e0e0e0;
    --donate-btn-bg: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --donate-btn-hover: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    background-color: var(--nav-bg);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    width: 100%;
}
[data-theme="dark"] .navbar {
    background-color: #132f4c !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-logo-wrap {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navbar logo: show light or dark by theme */
.navbar .logo-dark {
    display: none;
}
[data-theme="dark"] .navbar .logo-light {
    display: none;
}
[data-theme="dark"] .navbar .logo-dark {
    display: block;
}

/* Dark mode: wrapper + link + img all get navbar color so nothing can show through */
[data-theme="dark"] .navbar .navbar-logo-wrap {
    background-color: #132f4c !important;
}
[data-theme="dark"] .navbar .logo-link {
    background-color: #132f4c !important;
    background-image: none !important;
}
[data-theme="dark"] .navbar .logo-dark {
    background-color: #132f4c !important;
    background-image: none !important;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--nav-hover);
}

/* Donate Button Styles */
.donate-btn {
    background: var(--donate-btn-bg);
    color: var(--donate-btn-text) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.donate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.donate-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: lightSweep 8s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes lightSweep {
    0% {
        left: -100%;
    }
    20% {
        left: 150%;
    }
    21%, 100% {
        left: 150%;
    }
}

.donate-btn:hover {
    background: var(--donate-btn-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.donate-btn:hover::before {
    left: 100%;
}

.donate-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
}

.donate-btn.active {
    background: var(--donate-btn-hover);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

/* Donate modal — enhanced UI */
.donate-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.donate-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.donate-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.donate-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2rem;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
[data-theme="dark"] .donate-modal-card {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.donate-modal.is-open .donate-modal-card {
    transform: scale(1);
}
.donate-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
[data-theme="dark"] .donate-modal-close {
    background: rgba(255, 255, 255, 0.1);
}
.donate-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}
.donate-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    background: var(--donate-btn-bg);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}
.donate-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.donate-modal-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1rem;
}
.donate-modal-cta {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nav-hover);
    margin-bottom: 1.5rem;
}
.donate-modal-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--donate-btn-bg);
    color: var(--donate-btn-text);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.donate-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--nav-text);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background-color: var(--nav-text);
    color: var(--nav-bg);
    transform: rotate(15deg);
}

.theme-icon {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: var(--bg-color);
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

/* Hero Content */
.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: -250px 0 0 2rem;
    padding: 0 2rem 3rem 0;
    padding-right: 450px;
    text-align: left;
    flex: 1;
    position: relative;
    z-index: 5;
}

.hero-right {
    position: absolute;
    top: 5rem;
    right: -150px;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--text-color);
}

.hero-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

.hero-content p:last-child {
    margin-bottom: 0;
}

.hero-chart {
    width: 550px;
    max-width: none;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero-framework-text {
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0;
    width: 550px;
    max-width: none;
    box-sizing: border-box;
}

.carousel-arrow {
    position: absolute;
    top: 25%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

/* Contact Hero Section — two-column, cards, gradients */
.contact-hero {
    --contact-icon-grad-start: #c7d2fe;
    --contact-icon-grad-end: #6366f1;
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: var(--section-bg);
    padding: 2rem 0 4rem;
}

.contact-hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding: 0 2rem;
}

.contact-left {
    flex: 1;
    max-width: 420px;
    text-align: left;
}

.contact-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact info cards with gradient accent */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--donate-btn-bg);
    border-radius: 12px 0 0 12px;
}

[data-theme="dark"] .contact-card {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] .contact-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Gradient definition for Get In Touch contact card icons (hidden) */
.contact-icon-gradient-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

[data-theme="dark"] .contact-hero {
    --contact-icon-grad-start: #93c5fd;
    --contact-icon-grad-end: #3b82f6;
}

.contact-card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: var(--donate-btn-bg);
    padding: 10px;
}

.contact-card-icon-svg {
    width: 24px;
    height: 24px;
    display: block;
}

.contact-card-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Follow Us */
.contact-follow-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Contact section Follow Us: match footer circular style */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    overflow: hidden;
}

[data-theme="dark"] .social-link {
    border-color: rgba(255, 255, 255, 0.25);
}

.social-link:hover {
    transform: scale(1.1);
    border-color: rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .social-link:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

/* Form card (elevated container) */
.contact-right {
    flex: 1;
    max-width: 520px;
    margin-left: auto;
}

.contact-form-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .contact-form-card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    border-color: rgba(255, 255, 255, 0.18);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-color);
    opacity: 0.55;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nav-hover);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.25);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.35);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Submit button with gradient and send icon */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    background: var(--donate-btn-bg);
    color: var(--donate-btn-text);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    align-self: flex-start;
}

.submit-btn-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.submit-btn:hover {
    background: var(--donate-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

[data-theme="dark"] .submit-btn:hover {
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

/* Content Sections */
.content-section {
    padding: 5rem 2rem;
    background-color: var(--section-bg);
    transition: background-color 0.3s ease;
}

.content-section:nth-child(even) {
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* The Luminy App Section */
.app-section {
    --app-icon-grad-start: #c7d2fe;
    --app-icon-grad-end: #6366f1;
    background: linear-gradient(180deg, #ffffff 0%, #add8e6 50%, #ffffff 100%);
}

[data-theme="dark"] .app-section {
    background-color: var(--section-bg);
    --app-icon-grad-start: #93c5fd;
    --app-icon-grad-end: #3b82f6;
}

.app-section-gradient-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.app-section-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.app-section-phone {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.app-phone-frame {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9 / 19.5;
    background: var(--bg-color);
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .app-phone-frame {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.app-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--bg-color);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

[data-theme="dark"] .app-phone-notch {
    background: #1e293b;
}

.app-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1rem 0.75rem;
}

[data-theme="dark"] .app-phone-screen {
    background: #0f172a;
}

.app-screen-status {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

[data-theme="dark"] .app-screen-status {
    color: #94a3b8;
}

.app-screen-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.app-screen-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.app-screen-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

[data-theme="dark"] .app-screen-title {
    color: #e2e8f0;
}

.app-screen-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

[data-theme="dark"] .app-screen-heading {
    color: #e2e8f0;
}

.app-screen-events {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex: 1;
    min-height: 0;
}

.app-event-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .app-event-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

.app-event-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

[data-theme="dark"] .app-event-name {
    color: #e2e8f0;
}

.app-event-date {
    font-size: 0.7rem;
    color: #64748b;
}

.app-screen-view-all {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    cursor: default;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .app-screen-view-all {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.app-screen-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

[data-theme="dark"] .app-screen-nav {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.6rem;
    color: #64748b;
}

[data-theme="dark"] .app-nav-item {
    color: #94a3b8;
}

.app-nav-icon {
    display: block;
    flex-shrink: 0;
}

.app-section-content {
    flex: 1.2;
    min-width: 300px;
    max-width: 560px;
    margin-left: 3rem;
}

.app-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.06);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

[data-theme="dark"] .app-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #000;
}

[data-theme="dark"] .app-section .app-heading,
[data-theme="dark"] .app-section .app-description,
[data-theme="dark"] .app-section .app-feature-text strong,
[data-theme="dark"] .app-section .app-feature-text span {
    color: #000;
}

[data-theme="dark"] .app-section .app-description {
    opacity: 0.95;
}

[data-theme="dark"] .app-section .app-feature-text span {
    opacity: 0.85;
}

.app-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.app-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.app-features {
    list-style: none;
    margin: 0 0 1.75rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.app-feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-feature-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.app-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.app-feature-text strong {
    font-size: 1rem;
    color: var(--text-color);
}

.app-feature-text span {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.app-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.app-store-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .app-store-btn {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

[data-theme="dark"] .app-store-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    color: #f1f5f9;
}

.app-store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.app-store-btn-text span:first-child {
    font-size: 0.65rem;
}

.app-store-btn-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.app-store-google {
    font-size: 1rem;
}

/* About Section — Intro */
.about-section {
    text-align: center;
}

.about-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

[data-theme="dark"] .about-badge {
    border-color: rgba(255, 255, 255, 0.15);
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-title-underline {
    position: relative;
    display: inline-block;
}

.about-title-underline::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--donate-btn-bg);
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    font-weight: 700;
    color: var(--text-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    padding: 0.1em 0.2em;
    border-radius: 4px;
}

[data-theme="dark"] .about-content strong {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.2));
}

/* Mission Section — Card with Rocket Icon */
.mission-section {
    background-color: var(--bg-color);
}

.mission-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--section-bg);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .mission-card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
}

.mission-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.mission-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: var(--donate-btn-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.mission-icon {
    width: 44px;
    height: 44px;
    color: white;
}

.mission-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nav-hover);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .mission-label {
    background: rgba(74, 158, 255, 0.15);
}

.mission-content {
    flex: 1;
}

.mission-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.mission-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.mission-subheading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mission-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    padding-left: 1.75rem;
    position: relative;
    opacity: 0.95;
}

.mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--donate-btn-bg);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .mission-list li::before {
    box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.3);
}

/* Vision Section — Card with Eye Icon */
.vision-section {
    background-color: var(--section-bg);
}

.vision-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .vision-card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
}

.vision-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.vision-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--donate-btn-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.vision-icon {
    width: 44px;
    height: 44px;
    color: white;
}

.vision-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nav-hover);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .vision-label {
    background: rgba(74, 158, 255, 0.15);
}

.vision-content {
    flex: 1;
}

.vision-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.vision-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.vision-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vision-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    padding-left: 1.75rem;
    position: relative;
    opacity: 0.95;
}

.vision-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--donate-btn-bg);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .vision-list li::before {
    box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.3);
}

/* Newsletter / Email Subscription Section — two-column flow, app theme */
.newsletter-section {
    background-color: var(--section-bg);
    color: var(--text-color);
}

.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 1.5rem;
    text-align: left;
}

.newsletter-content {
    flex: 1;
    max-width: 560px;
}

.newsletter-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid currentColor;
    border-radius: 6px;
    opacity: 0.9;
}

.newsletter-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.newsletter-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.75rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0.75rem;
}

.newsletter-input {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    padding: 0.85rem 1.1rem;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .newsletter-input {
    border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--nav-hover);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.25);
}

[data-theme="dark"] .newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.35);
}

.newsletter-input::placeholder {
    color: var(--text-color);
    opacity: 0.6;
}

.newsletter-btn {
    padding: 0.85rem 1.75rem;
    background: var(--donate-btn-bg);
    color: var(--donate-btn-text);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .newsletter-btn:hover {
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.4);
}

.newsletter-subtext {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
}

.newsletter-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-visual-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* News Page */
.news-intro-section {
    padding-top: 3rem;
}

.news-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.news-intro-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nav-hover);
    margin-bottom: 1rem;
}

.news-intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-intro-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-color);
    opacity: 0.9;
    margin: 0;
}

.news-announcements-section {
    padding-top: 2rem;
}

.news-section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.news-feature-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-feature-box {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

[data-theme="dark"] .news-feature-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.news-feature-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .news-feature-box:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.news-feature-date {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nav-hover);
    margin-bottom: 0.5rem;
}

.news-feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-feature-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.88;
    margin: 0;
}

.news-events-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.news-event-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-event-row {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

[data-theme="dark"] .news-event-row {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.news-event-coming-soon {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.85;
}

@media (max-width: 768px) {
    .news-feature-boxes {
        grid-template-columns: 1fr;
    }
}

/* Footer */
/* Footer — dark theme, multi-column layout */
.footer {
    --footer-icon-grad-start: #c7d2fe;
    --footer-icon-grad-end: #818cf8;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 2rem 1.5rem;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .footer {
    --footer-icon-grad-start: #93c5fd;
    --footer-icon-grad-end: #60a5fa;
}

.footer-container {
    max-width: 1200px;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* Footer Branding Section */
.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--footer-text);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--footer-text);
    opacity: 0.9;
    margin: 0;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    overflow: hidden;
}

.footer-social-link:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--footer-text);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    opacity: 0.9;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Footer Contact Items */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--footer-text);
    opacity: 0.9;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

/* Gradient definition for footer contact icons (hidden) */
.footer-icon-gradient-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Footer contact icon container (Lucide icons, size 24) */
.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    opacity: 0.95;
}

.footer-contact-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Footer Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .footer-container {
        margin-left: 2rem;
    }
}

.footer-copyright p {
    margin: 0;
    opacity: 0.75;
    font-size: 0.9rem;
    color: var(--footer-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .logo {
        height: 40px;
    }

    .hero-carousel {
        height: 40vh;
        min-height: 300px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }

    .hero-content {
        padding: 0 1rem 1rem;
        padding-right: 1rem;
        margin: -200px auto 0;
    }

    .hero-right {
        position: relative;
        width: 100%;
        right: auto;
        margin-top: 2rem;
    }

    .hero-chart {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .app-section-container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .app-section-phone {
        max-width: 100%;
        justify-content: center;
    }

    .app-section-content {
        text-align: left;
        margin-left: 0;
    }

    .app-heading {
        font-size: 1.85rem;
    }

    .app-store-buttons {
        justify-content: flex-start;
    }

    .newsletter-container {
        flex-direction: column;
        padding: 2rem 1rem;
        text-align: center;
    }

    .newsletter-content {
        max-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-input {
        min-width: 0;
        max-width: none;
    }

    .newsletter-heading {
        font-size: 1.75rem;
    }

    .newsletter-visual-img {
        max-width: 200px;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-description {
        max-width: 100%;
    }

    .contact-hero-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-left {
        max-width: 100%;
    }

    .contact-right {
        max-width: 100%;
        margin-left: 0;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-left h1 {
        font-size: 2rem;
    }

    .contact-intro {
        font-size: 1rem;
    }

    /* About Section Responsive */
    .about-title {
        font-size: 2rem;
    }

    .about-content {
        text-align: left;
    }

    .about-content p {
        font-size: 1rem;
    }

    .mission-card,
    .vision-card {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .mission-visual,
    .vision-visual {
        align-items: center;
    }

    .mission-heading,
    .vision-heading {
        font-size: 1.75rem;
    }

    .mission-text,
    .vision-text {
        font-size: 1rem;
    }
}
