/* 
   Color Palette: midnight-coral
   --color-primary: #0D1B2A;
   --color-secondary: #1B2838;
   --color-accent: #C0415A;
   --bg-tint: #F4F6F8;
   Design Style: soft-organic (border-radius: 28px-36px, dramatic shadows)
   Border Style: pill (border-radius: 50px for buttons)
*/

:root {
    --color-primary: #0D1B2A;
    --color-secondary: #1B2838;
    --color-accent: #C0415A;
    --bg-tint: #F4F6F8;
    --color-text: #2B2D42;
    --color-white: #FFFFFF;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Design tokens */
    --radius-pill: 50px;
    --radius-card: 32px;
    --radius-badge: 999px;
    --shadow-dramatic: 0 24px 64px rgba(13, 27, 42, 0.15);
    --shadow-hover: 0 32px 80px rgba(192, 65, 90, 0.25);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-tint);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-primary);
}
.text-center {
    text-align: center;
}
h1, h2, h3, h4 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    font-size: clamp(15px, 2vw, 17px);
}

.section.compact-hero h1 {
    color: #fff;
}

.values-grid {
    display: flex;
    text-align: center;
}

/* Containers & Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.compact-container {
    max-width: 800px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

.text-center {
    text-align: center;
}

/* Buttons (Pill style) */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-dramatic);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-4px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Hamburger Menu */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    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(--color-primary);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.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(--color-primary);
    font-weight: 600;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
    background-color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav a {
    font-weight: 600;
    color: var(--color-primary);
    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);
    }
}

/* HERO: split-color Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 600px;
}

.hero-text-side {
    background-color: var(--color-secondary);
    color: var(--bg-tint);
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-content-wrapper {
    max-width: 580px;
    margin: 0 auto;
}

.hero-content-wrapper h1 {
    color: var(--color-white);
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(192, 65, 90, 0.2);
    color: var(--color-accent);
    border-radius: var(--radius-badge);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid var(--color-accent);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-actions .btn-secondary {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero-actions .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.hero-image-side {
    background-size: cover;
    background-position: center;
    min-height: 350px;
}

@media (min-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr 1fr;
        min-height: 700px;
    }
    .hero-text-side {
        padding: 80px;
    }
    .hero-image-side {
        min-height: auto;
    }
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header p {
    color: #666;
}

/* TIMELINE SECTION (benefits-timeline) */
.vertical-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background-color: var(--color-accent);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-icon {
    position: absolute;
    left: -35px;
    top: 0;
    width: 44px;
    height: 44px;
    background-color: var(--color-white);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    box-shadow: var(--shadow-dramatic);
}

.timeline-content {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* FEATURES SECTION (icon-features) */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    transition: var(--transition-smooth);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    background-color: var(--bg-tint);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
}

/* STATS BAR */
.stats-bar-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

@media (min-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-number {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--color-accent);
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-dramatic);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 27, 42, 0.9));
    padding: 20px;
    color: var(--color-white);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.placeholder-item {
    background-color: var(--color-secondary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.placeholder-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

/* NUMBERED STEPS */
.numbered-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .numbered-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .numbered-steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(192, 65, 90, 0.15);
    position: absolute;
    top: 20px;
    right: 30px;
}

/* COMPACT HERO */
.compact-hero {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
}

/* PROGRAM PAGE: Grid 6 Cards */
.program-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .program-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .program-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    position: relative;
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(192, 65, 90, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-badge);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.program-features-list {
    list-style: none;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.program-features-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* FAQ ACCORDION */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-card);
    margin-bottom: 20px;
    box-shadow: var(--shadow-dramatic);
    overflow: hidden;
}

.faq-item summary {
    padding: 24px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    outline: none;
    user-select: none;
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: #555;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* MISSION PAGE: story-grid & dates-timeline */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .story-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.text-badge {
    display: inline-block;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.story-image-wrapper {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
    height: 400px;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TIMELINE DATES */
.dates-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-date-node {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.date-badge {
    background-color: var(--color-accent);
    color: var(--color-white);
    font-weight: 800;
    font-size: 20px;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-dramatic);
}

.node-content {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    flex-grow: 1;
}

/* CONTACT PAGE Layout: Form left 60%, Contacts right 40% */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-split-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--bg-tint);
    border-radius: var(--radius-pill);
    outline: none;
    font-family: var(--font-family);
    transition: var(--transition-smooth);
    background-color: var(--bg-tint);
}

.custom-form textarea {
    border-radius: 20px;
    resize: vertical;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: var(--color-accent);
    background-color: var(--color-white);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
}

.warning-card {
    border-left: 6px solid var(--color-accent);
}

/* LEGAL PAGES */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 40px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.alert-text {
    background-color: #FFF3F5;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--color-accent);
}

/* THANK YOU PAGE */
.thank-you-card {
    background-color: var(--color-white);
    padding: 60px 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    margin: 40px auto;
}

.success-icon {
    font-size: 64px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 20px;
}

.next-steps-box {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    text-align: left;
}

.next-steps-links {
    list-style: none;
    margin-top: 15px;
}

.next-steps-links li {
    margin-bottom: 10px;
}

/* 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;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: var(--color-secondary);
    color: var(--color-white);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept,
.cookie-btn-decline {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.cookie-btn-accept:hover {
    background-color: var(--color-primary);
}

.cookie-btn-decline {
    background-color: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.cookie-btn-decline:hover {
    background-color: rgba(255,255,255,0.2);
}

@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;
    }
}

/* FOOTER */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--bg-tint) !important;
    padding: 80px 0 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.site-footer h4 {
    color: var(--color-white) !important;
    margin-bottom: 20px;
}

.site-footer ul {
    list-style: none;
}

.site-footer li {
    margin-bottom: 12px;
}

.site-footer a {
    color: var(--bg-tint) !important;
    opacity: 0.8;
}

.site-footer a:hover {
    color: var(--color-accent) !important;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
}