/*
    Indian Spice Palette
    --primary-color: #D95550; (Terracotta Red)
    --secondary-color: #F2A154; (Saffron Orange)
    --dark-bg: #32292F; (Deep Charcoal/Brown)
    --light-text: #F7F5F2; (Off-white)
    --dark-text: #32292F;
    --bg-color: #FEFBF6;
*/

:root {
    --primary-color: #D95550;
    --secondary-color: #F2A154;
    --dark-bg: #32292F;
    --light-text: #F7F5F2;
    --dark-text: #32292F;
    --bg-color: #FEFBF6;
    --border-color: #e0e0e0;
}

/* --- Global Styles & Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--dark-text);
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--dark-bg);
    text-align: center;
    margin-bottom: 40px;
}

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(--secondary-color);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--bg-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px; /* Mobile padding requirement */
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
    text-decoration: none;
}

.navigation ul {
    display: none; /* Hide on mobile */
    list-style: none;
}

.navigation li a {
    color: var(--dark-text);
    font-weight: 600;
    padding: 10px 15px;
    transition: color 0.3s;
}

.navigation li a:hover {
    color: var(--primary-color);
}

.hidden-toggle {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1002;
    margin-left: auto;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-bg);
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav li a {
    color: var(--dark-text);
    font-size: 1.2rem;
    font-weight: 600;
}

#menu-toggle:checked ~ .mobile-nav {
    display: block;
}

#menu-toggle:checked ~ .hamburger .line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
#menu-toggle:checked ~ .hamburger .line:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked ~ .hamburger .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 768px) {
    .hamburger, .mobile-nav {
        display: none;
    }
    .navigation ul {
        display: flex;
        gap: 20px;
    }
    .header-container {
        padding: 0 20px;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #c04843;
    color: var(--light-text);
    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(--light-text);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    padding: 60px 0;
    background-color: #fffaf0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Intro Section --- */
.intro-section {
    text-align: center;
}
.section-intro-text {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Split Section --- */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.split-content .section-title {
    text-align: left;
}

.split-content p {
    margin-bottom: 15px;
}

@media (min-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: #fffaf0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}
.testimonial-author {
    font-weight: 600;
    color: var(--dark-text);
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--dark-bg);
}
.cta-section .section-title, .cta-section .cta-text {
    color: var(--light-text);
}
.cta-text {
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.text-center {
    text-align: center;
}

/* --- Footer --- */
.site-footer-main {
    background-color: var(--dark-bg) !important;
    color: var(--light-text) !important;
    padding: 60px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.site-footer-main a, .site-footer-main p {
    color: var(--light-text) !important;
}
.footer-about .logo {
    color: var(--light-text) !important;
    margin-bottom: 15px;
    display: inline-block;
}
.footer-links h4, .footer-legal h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color) !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #4a4a4a;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* --- 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(--dark-bg);
    color: var(--light-text);
    border-top: 2px solid var(--secondary-color);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--secondary-color); 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;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--light-text); }
.cookie-btn-decline { background-color: #555; color: var(--light-text); }
@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; }
}

/* --- Inner Page Styles --- */
.page-header-section {
    background-color: #fffaf0;
    padding: 60px 0;
    text-align: center;
}
.page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 10px;
}
.page-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Timeline (Program Page) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
@media (max-width: 768px) {
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 10px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 10px; }
}

/* --- Stats Section (Program Page) --- */
.stats-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.stats-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
}
.stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
    color: var(--light-text);
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}
.stat-label {
    font-size: 1.1rem;
}

/* --- FAQ Section (Program Page) --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    list-style: none; /* For Safari */
}
.faq-question::-webkit-details-marker { display: none; } /* For Chrome */
.faq-answer {
    padding: 0 20px 20px 20px;
}

/* --- Mission Page --- */
.mission-grid {
    display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
.mission-image { border-radius: 12px; }
@media (min-width: 992px) {
    .mission-grid { grid-template-columns: 1.2fr 1fr; }
}
.values-section { background-color: #fffaf0; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.value-card { background: #fff; padding: 25px; border-radius: 8px; border: 1px solid var(--border-color); }
.value-title { color: var(--primary-color); margin-bottom: 10px; }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}
.manifesto-section blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    border-left: 5px solid var(--secondary-color);
    padding-left: 30px;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid; grid-template-columns: 1fr; gap: 50px;
}
.info-block { margin-bottom: 25px; }
.info-block h3 { margin-bottom: 5px; color: var(--primary-color); }
.contact-form { max-width: 800px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
}
.legal-page h2 { margin-top: 30px; margin-bottom: 15px; }
.legal-page ul { margin-left: 20px; margin-bottom: 15px; }
.next-steps { margin-top: 50px; }
.next-steps-links { display: flex; justify-content: center; gap: 15px; margin-top: 20px; flex-wrap: wrap; }