/*
  Color Palette: Terracotta & Cream
  --dark-bg: #1a1a1a
  --light-bg: #fdf8f0
  --primary-color: #D35400
  --accent-color: #E67E22
  --text-light: #f5f5f5
  --text-dark: #1a1a1a
*/

:root {
    --dark-bg: #1a1a1a;
    --light-bg: #fdf8f0;
    --primary-color: #D35400;
    --accent-color: #E67E22;
    --text-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --border-color-light: #e0e0e0;
    --border-color-dark: #333333;
    --font-family-sans: 'Helvetica Neue', 'Arial', sans-serif;
}

/* --- Global Resets & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-sans);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Typography (Bold Editorial) --- */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(35px, 9vw, 90px);
}

h2 {
    font-size: clamp(26px, 6vw, 56px);
}

h3 {
    font-size: clamp(20px, 4vw, 28px);
}

p {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 1em;
}

/* --- Layout Helpers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.section-light {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.text-dark {
    color: var(--text-dark);
}

.text-light {
    color: var(--text-light);
}

.centered-content {
    text-align: center;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    border-bottom: 2px solid var(--primary-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    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 a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.desktop-nav a:hover {
    border-bottom-color: var(--accent-color);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--dark-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

@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 (Pill) --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* --- Hero Section (Diagonal Split) --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.hero-container.diagonal-split-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    gap: 0;
}

.hero-content {
    padding: 60px 32px 40px 32px;
    box-sizing: border-box;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 32px;
}

.hero-image-wrapper {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 80vh;
        align-items: stretch;
    }

    .hero-container.diagonal-split-layout {
        flex-direction: row;
        align-items: stretch;
        min-height: 80vh;
    }

    .hero-content {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 80px 48px 80px 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-image-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
        max-height: none;
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 24px;
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}
.section-title-left {
    text-align: left;
    margin-bottom: 24px;
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.benefit-card {
    background-color: var(--light-bg);
    padding: 32px;
    border: 2px solid var(--border-color-light);
    border-radius: 32px;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Icon Features Section --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}
.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}
.feature-title {
    margin-bottom: 8px;
    color: var(--accent-color);
}
@media (min-width: 576px) {
    .icon-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .icon-features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Two Column Layout --- */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.responsive-image {
    border-radius: 32px;
}
.styled-list {
    list-style: none;
    padding-left: 0;
}
.styled-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}
.styled-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}
@media (min-width: 992px) {
    .two-col-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Testimonials Section --- */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial-card {
    background-color: #2c2c2c;
    padding: 24px;
    border-radius: 32px;
    border: 2px solid var(--border-color-dark);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: var(--accent-color);
    flex-shrink: 0;
}
.testimonial-name {
    margin: 0;
    font-weight: bold;
}
.testimonial-rating {
    margin: 0;
    color: #F4D03F;
}
@media (min-width: 768px) {
    .testimonials-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Quote Highlight Section --- */
.quote-highlight-wrapper {
    padding: 48px 24px;
}
.quote-highlight {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 40px;
}
.quote-highlight::before {
    content: '“';
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 120px;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}
.quote-text {
    font-size: clamp(24px, 4vw, 36px);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 24px;
}
.quote-author {
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
}

/* --- Page Header --- */
.page-header {
    text-align: center;
    padding: 80px 0;
}
.page-title {
    margin-bottom: 16px;
}
.page-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(18px, 2.5vw, 22px);
    opacity: 0.9;
}

/* --- Program Page (Numbered Sections) --- */
.numbered-section-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}
.numbered-section-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.section-number-wrapper {
    text-align: left;
}
.section-number {
    font-size: 100px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.4;
}
.section-content-title {
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .numbered-section-item {
        grid-template-columns: 120px 1fr;
        gap: 40px;
        align-items: flex-start;
    }
    .section-number-wrapper {
        text-align: right;
    }
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
}
.cta-title {
    margin-bottom: 16px;
}
.cta-text {
    max-width: 600px;
    margin: 0 auto 32px auto;
}

/* --- Mission Page (Split Layout & Values) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.split-image-wrapper img {
    border-radius: 32px;
}
@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr 1.2fr;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background-color: #2c2c2c;
    padding: 32px;
    border-radius: 32px;
    border: 2px solid var(--border-color-dark);
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-title {
    color: var(--primary-color);
    margin-bottom: 8px;
}
.contact-info-block p {
    margin: 0;
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 60% 40%;
    }
}

/* --- Form Styles --- */
.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: 14px;
    border: 2px solid var(--border-color-light);
    border-radius: 28px;
    font-size: 16px;
    background-color: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form textarea {
    resize: vertical;
}

/* --- Legal & Thank You Pages --- */
.page-title-legal {
    font-size: clamp(28px, 7vw, 64px);
    text-align: center;
    margin-bottom: 32px;
}
.content-section {
    max-width: 800px;
    margin: 0 auto;
}
.content-section h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary-color);
}
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.next-steps {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color-light);
}
.thank-you-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light) !important;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-heading {
    color: var(--accent-color) !important;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light) !important;
}

.footer-links a:hover {
    color: var(--accent-color) !important;
}

.footer-column p, .footer-column a {
    color: var(--text-light) !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color-dark);
}

@media (min-width: 576px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-container { grid-template-columns: repeat(4, 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(--dark-bg);
    color: var(--text-light);
    border-top: 2px solid var(--primary-color);
    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; }
#cookie-banner a { color: var(--accent-color); 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-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.cookie-btn-decline {
    background-color: #444;
    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; }
}