/* 
   Palette Name: Soft Organic Terracotta & Burgundy
   Primary: #581845 (Burgundy/Plum)
   Secondary: #E36159 (Terracotta)
   Background: #FDFBF7 (Soft Cream/Beige)
   Text: #2C1E1B (Dark Charcoal)
   Border Color: #E2D9D5
   Design-Style: soft-organic
   Border-Style: sharp (No rounded corners!)
   Shadow-Style: flat (No shadows, clear borders!)
   Color-Mode: light
*/

:root {
    --primary-color: #581845;
    --secondary-color: #E36159;
    --bg-color: #FDFBF7;
    --text-color: #2C1E1B;
    --border-color: #E2D9D5;
    --white: #FFFFFF;
    --accent-light: #F7EFEA;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif, 'SolaimanLipi';
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sharp Borders Applied Globally */
button, input, textarea, select, img, .card, .step-card, .timeline-item, .faq-item, .value-card, .cookie-btns button {
    border-radius: 0 !important;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary-color);
}

h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(24px, 4.5vw, 36px); }
h3 { font-size: clamp(20px, 3.5vw, 26px); }
h4 { font-size: clamp(18px, 2.5vw, 22px); }

p {
    margin-bottom: 16px;
    font-size: clamp(15px, 2vw, 17px);
    color: #4A3B37;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.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(--primary-color);
    z-index: 100;
}

/* Hamburger - ALWAYS RIGHT */
.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(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

/* Desktop Navigation */
.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-color);
    font-weight: 600;
}

.desktop-nav .nav-list a:hover {
    color: var(--secondary-color);
}

/* Mobile Navigation */
.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(--bg-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--text-color);
    font-weight: 600;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Vertical Stack */
.hero-vertical {
    display: flex;
    flex-direction: column;
}

.hero-image-wrapper {
    width: 100%;
    height: 45vh;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-wrapper {
    background-color: var(--accent-light);
    padding: 48px 16px;
    border-bottom: 1px solid var(--border-color);
}

.hero-inner-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-lead {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Section Containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    margin-bottom: 16px;
}

/* Benefits Timeline */
.benefits-timeline {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 24px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -41px;
    top: 24px;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--bg-color);
}

/* Checklist Grid */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.checklist-item {
    display: flex;
    gap: 16px;
    background-color: var(--white);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.check-icon {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: bold;
    line-height: 1;
}

/* Quote Section */
.quote-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 64px 16px;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.pull-quote {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.6;
    font-style: italic;
}

.quote-mark {
    display: block;
    font-size: 72px;
    line-height: 1;
    color: var(--secondary-color);
    margin-bottom: -16px;
}

.quote-author {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    margin-top: 24px;
    color: var(--accent-light);
}

/* Split Info Section */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--border-color);
}

.split-image {
    height: 350px;
}

.info-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-text {
    padding: 48px 16px;
    background-color: var(--accent-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.faq-trigger {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none;
    outline: none;
    position: relative;
}

.faq-trigger::-webkit-details-marker {
    display: none;
}

.faq-trigger::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.faq-item[open] .faq-trigger::after {
    content: '−';
}

.faq-content {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.step-card {
    background-color: var(--white);
    padding: 32px;
    border: 1px solid var(--border-color);
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent-light);
    position: absolute;
    right: 20px;
    top: 10px;
    line-height: 1;
    z-index: 1;
}

.step-card h4, .step-card p {
    position: relative;
    z-index: 2;
}

/* Page Hero */
.page-hero {
    background-color: var(--accent-light);
    padding: 64px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline 4 Modules (Program) */
.timeline-4modules {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.module-node {
    position: relative;
    margin-bottom: 48px;
}

.module-node:last-child {
    margin-bottom: 0;
}

.module-badge {
    position: absolute;
    left: -41px;
    top: 0;
    width: 60px;
    height: 32px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--bg-color);
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.module-info {
    background-color: var(--white);
    padding: 24px;
    border: 1px solid var(--border-color);
}

/* Program Image Block */
.image-text-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    background-color: var(--white);
}

.card-text {
    padding: 32px;
}

.card-image {
    height: 300px;
}

.embedded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-card {
    background-color: var(--white);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.stat-num {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--accent-light);
    padding: 64px 16px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Mission Timeline Dates */
.timeline-dates {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.date-node {
    position: relative;
    margin-bottom: 48px;
}

.date-node:last-child {
    margin-bottom: 0;
}

.date-year {
    position: absolute;
    left: -41px;
    top: 0;
    width: 50px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--bg-color);
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-content {
    background-color: var(--white);
    padding: 24px;
    border: 1px solid var(--border-color);
}

/* Mission Split */
.mission-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.mission-text-block {
    padding: 16px;
}

.mission-img-block {
    height: 350px;
}

.mission-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background-color: var(--white);
    padding: 32px;
    border: 1px solid var(--border-color);
    text-align: center;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-info {
    padding: 24px;
    background-color: var(--accent-light);
    border: 1px solid var(--border-color);
}

.info-list {
    margin-top: 32px;
}

.info-item {
    margin-bottom: 24px;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
}

/* Forms */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 32px;
    border: 1px solid var(--border-color);
}

.custom-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

/* Policy Pages */
.policy-section {
    padding: 64px 16px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 48px 24px;
    border: 1px solid var(--border-color);
}

.policy-date {
    font-style: italic;
    color: #888;
    margin-bottom: 32px;
}

.policy-container h2 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.policy-container ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

/* Thank You Page */
.thank-section {
    padding: 64px 16px;
    text-align: center;
}

.thank-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 48px 24px;
    border: 1px solid var(--border-color);
}

.thank-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.thank-next-steps {
    text-align: left;
    margin: 32px 0;
    padding: 24px;
    background-color: var(--accent-light);
    border: 1px solid var(--border-color);
}

.thank-next-steps h3 {
    margin-bottom: 16px;
}

.thank-next-steps ul {
    padding-left: 20px;
}

.thank-next-steps li {
    margin-bottom: 8px;
}

/* Footer Section */
.site-footer {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 64px 16px 24px 16px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: #E2D9D5 !important;
    margin-top: 16px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--white) !important;
}

.footer-links h4, .footer-legal h4, .footer-contact h4 {
    color: var(--secondary-color) !important;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px;
}

.footer-links a, .footer-legal a {
    color: #E2D9D5 !important;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--white) !important;
}

.footer-contact p {
    color: #E2D9D5 !important;
    margin-bottom: 12px;
}

.footer-mail-link {
    color: var(--white) !important;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #A39692 !important;
    font-size: 14px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    border-top: 2px solid var(--secondary-color);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    color: var(--white);
    font-size: 14px;
}

#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 {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
}

/* Mobile Responsiveness (Media Queries) */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    /* Hamburger Animation */
    #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);
    }
}

/* Mobile First - Desktop Scaling Media Queries */
@media (min-width: 768px) {
    /* Header */
    .site-header {
        padding: 20px 24px;
    }

    /* Hero */
    .hero-vertical {
        flex-direction: row;
        height: 600px;
    }

    .hero-image-wrapper {
        width: 50%;
        height: 100%;
    }

    .hero-content-wrapper {
        width: 50%;
        height: 100%;
        padding: 64px;
        display: flex;
        align-items: center;
    }

    /* Sections */
    .section-container {
        padding: 80px 24px;
    }

    /* Checklist */
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Split Info Section */
    .split-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-image {
        height: auto;
    }

    .split-text {
        padding: 64px;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Program Image Block */
    .image-text-card {
        flex-direction: row;
    }

    .card-text {
        width: 50%;
        padding: 48px;
    }

    .card-image {
        width: 50%;
        height: auto;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Mission Split */
    .mission-split {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-img-block {
        height: 450px;
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 45% 55%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    /* Cookie Banner */
    #cookie-banner {
        flex-direction: row;
        align-items: 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;
    }
}