/*
 * Color Palette: midnight-rose
 * Primary: #0C0F24
 * Secondary: #B22B5B
 * Accent: #F39C12
 * BG Tint: #F5F5F5
*/

:root {
    --color-primary: #0C0F24;
    --color-secondary: #B22B5B;
    --color-accent: #F39C12;
    --bg-tint: #F5F5F5;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --border-light: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.22);
}

/* --- Global Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-tint);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem 0;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Utility & Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.section-light {
    background-color: var(--bg-tint);
    color: var(--text-dark);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: inherit;
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-primary);
    color: var(--text-light);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--text-light);
}
.logo:hover {
    color: var(--color-accent);
}

.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;
    position: relative;
    padding-bottom: 5px;
}
.desktop-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}
.desktop-nav .nav-list a:hover::after {
    width: 100%;
}

.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(--color-primary);
}

.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.1);
}
.mobile-nav a {
    color: var(--text-light);
    display: block;
    width: 100%;
}

@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); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* --- Hero Section (Grid Overlap) --- */
.hero-overlap-grid {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-overlap-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
}
.hero-image-container {
    border-radius: 36px;
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-card {
    background-color: rgba(12, 15, 36, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 36px;
    color: var(--text-light);
    box-shadow: 0 24px 64px var(--shadow-color);
}
.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    color: var(--text-light);
}
.hero-subtitle {
    margin: 20px 0 30px 0;
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.9;
}

@media (min-width: 992px) {
    .hero-overlap-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content-container {
        margin-left: -100px;
        z-index: 2;
    }
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.benefit-card {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 24px 64px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.30);
}
.card-title {
    font-size: 22px;
    color: var(--color-secondary);
}
.card-text {
    font-size: 16px;
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Checklist Section --- */
.checklist-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.checklist {
    padding-left: 30px;
}
.checklist-item {
    position: relative;
    padding: 8px 0;
    font-size: 18px;
}
.checklist-item::before {
    content: '✔';
    position: absolute;
    left: -30px;
    color: var(--color-accent);
    font-weight: bold;
}

@media (min-width: 768px) {
    .checklist-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Testimonials Section --- */
.testimonials-stack {
    display: grid;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 64px var(--shadow-color);
}
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}
.testimonial-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 700;
    font-size: 18px;
}
.testimonial-rating {
    color: var(--color-accent);
    font-size: 20px;
}
.testimonial-text {
    font-style: italic;
    color: #555;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.gallery-item {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 64px var(--shadow-color);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-item-placeholder {
    background-color: var(--color-secondary);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Banner --- */
.cta-banner-section {
    background-color: var(--color-secondary);
    color: var(--text-light);
    padding: 80px 0;
}
.cta-banner-content {
    text-align: center;
}
.cta-title {
    font-size: clamp(28px, 5vw, 40px);
}
.cta-text {
    max-width: 600px;
    margin: 16px auto 32px auto;
}
.cta-btn {
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* --- Footer --- */
.site-footer {
    padding: 60px 0 20px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: var(--color-primary) !important;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-heading {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}
.footer-links a:hover {
    color: var(--color-accent);
}
.footer-column p a {
    color: rgba(255, 255, 255, 0.8);
}
.footer-column p a:hover {
    color: var(--color-accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* --- Page Specific: Program --- */
.page-header {
    padding: 80px 0;
    text-align: center;
}
.page-title {
    font-size: clamp(36px, 6vw, 56px);
}
.page-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    max-width: 700px;
    margin: 16px auto 0 auto;
    opacity: 0.9;
}
/* Horizontal Tabs */
.tabs {
    max-width: 900px;
    margin: 0 auto;
}
input[name="tabs"] { display: none; }
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}
.tabs-nav label {
    padding: 15px 10px;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    width: 50%;
    text-align: center;
}
.tab-panel { display: none; }
#t1:checked ~ #p1, #t2:checked ~ #p2, #t3:checked ~ #p3, #t4:checked ~ #p4 { display: block; }

#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}
.tab-title {
    font-size: 24px;
    color: var(--color-primary);
}
/* Image Callout */
.image-callout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.image-callout-image-wrapper {
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 24px 64px var(--shadow-color);
}

@media (min-width: 992px) {
    .image-callout-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Page Specific: Mission --- */
.text-content {
    max-width: 800px;
    margin: 0 auto;
}
/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-secondary);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--text-light);
    border: 4px solid var(--color-secondary);
    top: 15px;
    left: 6px;
    z-index: 1;
}
.timeline-year {
    color: var(--color-accent);
}
/* Vision Section */
.vision-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.vision-image-wrapper {
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 24px 64px var(--shadow-color);
}

@media (min-width: 992px) {
    .timeline-container::after { left: 50%; margin-left: -1.5px; }
    .timeline-item { width: 50%; }
    .timeline-item:nth-child(odd) { left: 0; padding-right: 80px; text-align: right; }
    .timeline-item:nth-child(even) { left: 50%; padding-left: 80px; }
    .timeline-dot { display: none; }
    .vision-container { grid-template-columns: 1fr 1fr; }
}

/* --- Page Specific: Contact --- */
.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-family: inherit;
    font-size: 16px;
}
.contact-form textarea {
    border-radius: 28px;
    resize: vertical;
}
.form-btn {
    width: 100%;
    margin-top: 10px;
}
.contact-info-wrapper {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 24px 64px var(--shadow-color);
}
.contact-details .contact-item {
    margin-bottom: 24px;
}
.contact-details h3 {
    font-size: 18px;
    color: var(--color-secondary);
}

@media (min-width: 992px) {
    .contact-layout-split {
        grid-template-columns: 3fr 2fr;
        gap: 60px;
    }
}

/* --- Page Specific: Thank You --- */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-title {
    font-size: clamp(40px, 8vw, 72px);
    color: var(--color-secondary);
}
.thank-you-message {
    max-width: 600px;
    margin: 16px auto 40px auto;
}
.next-steps h2 {
    margin-bottom: 24px;
}
.next-steps-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* --- 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-primary);
    color: var(--text-light);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
#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 20px;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--text-light);
}

@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; }
}