/* 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-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.07);
    --border-radius-card: 24px;
    --border-radius-btn: 12px;
}

/* --- Global Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: var(--text-light);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
    background-color: var(--text-light);
}

.section:nth-of-type(even) {
    background-color: var(--bg-tint);
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    color: #666;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 10px;
    position: sticky;
    top: 0;
    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: 24px;
    font-weight: bold;
    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 a {
    font-weight: 600;
    color: var(--color-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
    background-color: #ffffff;
    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;
    text-align: center;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-btn);
    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-primary);
    color: var(--text-light);
}
.btn-primary:hover {
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(12, 15, 36, 0.2);
}

.btn-secondary {
    background-color: var(--bg-tint);
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}
.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.btn-accent:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

/* --- Cards --- */
.card {
    background-color: #fff;
    border-radius: var(--border-radius-card);
    padding: 28px;
    box-shadow: 0 2px 12px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.card-title {
    margin-bottom: 12px;
}
.card-text {
    color: #555;
    font-size: 0.95rem;
}

/* --- Hero Section (Asymmetric) --- */
.hero-section.hero-asymmetric {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--bg-tint) 0%, #ffffff 100%);
}
.hero-asymmetric-container {
    display: flex;
    align-items: center;
    gap: 30px;
}
.hero-content {
    flex: 1;
    max-width: 50%;
    z-index: 2;
}
.hero-title {
    margin-bottom: 24px;
}
.hero-subtitle {
    margin-bottom: 32px;
    font-size: 1.1rem;
    color: #555;
}
.hero-image-wrapper {
    flex: 1;
    position: relative;
    right: -15%;
}
.hero-image {
    border-radius: var(--border-radius-card);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}

/* --- Benefits H-Scroll --- */
.benefits-hscroll-section {
    padding-bottom: 0;
}
.hscroll-container {
    overflow-x: auto;
    padding: 24px 0 60px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.hscroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.hscroll-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 0 20px;
}
.hscroll-card {
    width: 320px;
    flex-shrink: 0;
}

/* --- CTA Banner --- */
.cta-banner-section {
    background: linear-gradient(45deg, var(--color-secondary), #8e2248);
    color: var(--text-light);
    text-align: center;
}
.cta-banner-section h2, .cta-banner-section p {
    color: var(--text-light);
}
.cta-title {
    margin-bottom: 16px;
}
.cta-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* --- Numbered Steps --- */
.numbered-steps-grid {
    display: grid;
    gap: 40px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    opacity: 0.5;
}
.step-title {
    margin-bottom: 8px;
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-card);
}
.gallery-item.placeholder {
    background-color: var(--bg-tint);
    border-radius: var(--border-radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border: 2px dashed var(--border-light);
}
.placeholder-text {
    font-size: 2rem;
    font-weight: bold;
    color: #ccc;
}

/* --- Icon Features --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}
.feature-card {
    background-color: var(--bg-tint);
    padding: 24px;
    border-radius: var(--border-radius-card);
    text-align: center;
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1;
}
.feature-title {
    font-size: 1rem;
    color: var(--text-dark);
}

/* --- Program Page --- */
.page-hero {
    background-color: var(--bg-tint);
    text-align: center;
}
.page-title { margin-bottom: 16px; }
.page-subtitle { max-width: 700px; margin: 0 auto; color: #666; }

.program-grid {
    display: grid;
    gap: 24px;
}
.program-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-split {
    background-color: var(--bg-tint);
}
.split-container {
    display: grid;
    align-items: center;
    gap: 40px;
}
.split-image img {
    border-radius: var(--border-radius-card);
}

/* --- Mission Page --- */
.mission-container {
    display: grid;
    gap: 40px;
    align-items: center;
}
.mission-image {
    border-radius: var(--border-radius-card);
}
.values-section {
    background-color: var(--bg-tint);
}
.values-grid {
    display: grid;
    gap: 24px;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    gap: 48px;
}
.contact-form-wrapper .section-title,
.contact-info-wrapper .section-title {
    text-align: left;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-btn);
    font-size: 1rem;
    background-color: var(--bg-tint);
    box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--color-accent);
    border-color: var(--color-accent);
}
.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block h3 {
    color: var(--color-secondary);
}
.contact-info-block p {
    margin: 0;
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
}
.legal-page h1, .legal-page h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}
.legal-page section:first-of-type h2 {
    margin-top: 24px;
}
.thank-you-icon {
    font-size: 4rem;
    color: var(--color-secondary);
}
.thank-you-actions {
    margin: 32px 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.what-next {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}
.quick-links {
    list-style: none;
    padding: 0;
}
.quick-links li {
    margin-bottom: 12px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-primary) !important;
    color: var(--text-light) !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h3, .site-footer p, .site-footer a {
    color: var(--text-light) !important;
}
.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.footer-about p {
    opacity: 0.8;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-links a:hover, .footer-legal a:hover {
    color: var(--color-accent) !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 24px;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- 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(--color-primary);
    color: var(--text-light);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    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: 0.9rem; }
#cookie-banner a { text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

/* --- Responsive Design --- */
@media (min-width: 768px) {
    .numbered-steps-grid { grid-template-columns: 1fr 1fr; }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .split-container { grid-template-columns: 1fr 1fr; }
    .mission-container { grid-template-columns: 40% 1fr; }
    .contact-layout { grid-template-columns: 3fr 2fr; }
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

@media (min-width: 1024px) {
    .program-grid { grid-template-columns: repeat(3, 1fr); }
}


@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-asymmetric-container { flex-direction: column; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-image-wrapper { right: 0; margin-top: 30px; }
    
    .footer-container { grid-template-columns: 1fr; }
    .footer-about, .footer-links, .footer-legal, .footer-contact { text-align: center; }
}

@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; }
}