/* Palette Name: aqua-amber */
/* #005C60, #007B82, #E8A020, #ECF9FA */
:root {
    --color-primary: #005C60;
    --color-secondary: #007B82;
    --color-accent: #E8A020;
    --bg-tint: #ECF9FA;
    
    /* Dark Mode Canvas */
    --bg-dark: #111618;
    --bg-card: #192225;
    --bg-card-alt: #202c30;
    --text-light: #f0f6f7;
    --text-muted: #9eb1b5;
    
    /* Design tokens: bold-editorial, pill, subtle shadow */
    --font-heading: 'Georgia', serif;
    --font-body: 'Helvetica Neue', Arial, sans-serif;
    --border-radius-pill: 50px;
    --border-radius-card: 32px;
    --shadow-subtle: 0 4px 20px rgba(0,0,0,0.15);
}

/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 800;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Scale (Clamp) */
h1 {
    font-size: clamp(38px, 7vw, 76px);
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    font-size: clamp(16px, 1.8vw, 18px);
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.max-width-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-padding {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 100px 0;
    }
}

/* Buttons (Pill style) */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: bold;
    border-radius: var(--border-radius-pill);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--bg-dark);
}

.btn-accent:hover {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Tags and Badges */
.section-tag, .hero-badge {
    display: inline-block;
    background-color: rgba(232, 160, 32, 0.15);
    color: var(--color-accent);
    padding: 8px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 999px;
    margin-bottom: 20px;
}

/* Header & Hamburger Menu */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--text-light);
    z-index: 100;
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--bg-dark);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    display: block;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

.page-title-section {
    padding: 30px 0;
}

/* Hero Diagonal-Split Layout */
.hero-diagonal {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
    align-items: center;
    background-color: var(--bg-card);
}

.hero-content {
    padding: 48px 24px;
}

.hero-image-side {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

@media (min-width: 992px) {
    .hero-diagonal {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content {
        padding: 80px 60px;
    }
    .hero-image-side {
        height: 100%;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Benefits Timeline Section */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 60px;
    position: relative;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(255,255,255,0.02);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.timeline-content h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

@media (min-width: 768px) {
    .timeline-item {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }
    .timeline-icon {
        margin-bottom: 0;
    }
}

/* Stats Bar */
.stats-bar-section {
    background-color: var(--color-primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: clamp(48px, 6vw, 72px);
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-unit {
    font-size: 24px;
    color: var(--text-light);
}

.stat-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Split Highlight Section */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.rounded-img {
    border-radius: var(--border-radius-card);
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-subtle);
}

@media (min-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* CTA Banner */
.cta-banner-section {
    background-color: var(--color-secondary);
    padding: 80px 24px;
    text-align: center;
}

.cta-banner-section h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
}

.cta-banner-section p {
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Quote Section */
.quote-section {
    background-color: var(--bg-card);
    padding: 80px 24px;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 120px;
    line-height: 1;
    color: var(--color-accent);
    display: block;
    height: 40px;
    margin-bottom: 20px;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 36px);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 24px;
}

.quote-author {
    font-size: 16px;
    color: var(--color-accent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Grid */
.feature-bg {
    background-color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background-color: var(--bg-card-alt);
    padding: 40px 32px;
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255,255,255,0.02);
    box-shadow: var(--shadow-subtle);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Numbered Sections (program.html) */
.numbered-section-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.number-badge {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

@media (min-width: 768px) {
    .numbered-section-item {
        grid-template-columns: 120px 1fr;
    }
}

/* Program Visual Grid */
.program-visual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 24px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-card);
}

@media (min-width: 992px) {
    .program-visual-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* FAQ Layout */
.faq-bg {
    background-color: var(--bg-dark);
}

.faq-item {
    background-color: var(--bg-card-alt);
    padding: 32px;
    border-radius: var(--border-radius-card);
    margin-top: 24px;
}

.faq-item h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

/* Story/Team Layout (mission.html) */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .story-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* Values Section */
.values-section {
    background-color: var(--bg-card);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 60px;
}

.value-card {
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: var(--border-radius-card);
    position: relative;
    border: 1px solid rgba(255,255,255,0.02);
}

.value-num {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-details-panel {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-card);
}

.contact-info-list {
    margin: 40px 0;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 24px;
}

.contact-hours {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.contact-form-panel {
    background-color: var(--bg-card-alt);
    padding: 40px;
    border-radius: var(--border-radius-card);
}

.site-form .form-group {
    margin-bottom: 24px;
}

.site-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.site-form input, .site-form textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-pill);
    color: var(--text-light);
    font-family: var(--font-body);
}

.site-form textarea {
    border-radius: 20px;
}

.site-form input:focus, .site-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

/* Legal Content Page */
.legal-content h1 {
    margin-bottom: 32px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.disclaimer-box {
    background-color: rgba(232, 160, 32, 0.1);
    border-left: 4px solid var(--color-accent);
    padding: 24px;
    border-radius: 12px;
    margin: 32px 0;
}

.disclaimer-box strong {
    color: var(--color-accent);
}

/* Thank You Page Styling */
.thank-section {
    padding: 120px 0;
}

.thank-icon {
    font-size: 80px;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.next-steps-panel {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-card);
    margin-top: 48px;
}

.thank-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Footer (Strictly Hardcoded Colors for auto-translate safety) */
.site-footer {
    background-color: #0e1315 !important;
    color: #9eb1b5 !important;
    padding: 80px 0 40px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h2, .footer-brand .logo {
    color: #f0f6f7 !important;
}

.footer-links h4, .footer-legal h4, .footer-contact h4 {
    color: #f0f6f7 !important;
    font-family: 'Georgia', serif !important;
    margin-bottom: 24px !important;
}

.footer-links ul, .footer-legal ul {
    list-style: none !important;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px !important;
}

.footer-links a, .footer-legal a {
    color: #9eb1b5 !important;
}

.footer-links a:hover, .footer-legal a:hover {
    color: #E8A020 !important;
}

.footer-mail {
    color: #E8A020 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    padding-top: 32px !important;
    text-align: center !important;
    font-size: 14px !important;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background-color: var(--bg-card-alt);
    border-top: 2px solid var(--color-accent);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    color: var(--text-light);
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--bg-dark);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}