/* #3E2010, #5C3018, #00695C, #FAF3EC */
:root {
    --color-primary: #3E2010;
    --color-secondary: #5C3018;
    --color-accent: #00695C;
    --bg-tint: #FAF3EC;
    --bg-dark: #2A140A;
    --text-light: #FAF3EC;
    --text-dark: #3E2010;
    --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-tint);
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

/* Layout Containers (Mobile First) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
}

/* Sections Styling */
section {
    padding: 48px 16px;
}

@media (min-width: 768px) {
    section {
        padding: 80px 24px;
    }
}

.light-section {
    background-color: var(--bg-tint);
    color: var(--text-dark);
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Grid Layouts (Mobile First) */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .grid-two-col {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(32px, 6vw, 56px);
}

h2 {
    font-size: clamp(24px, 4.5vw, 38px);
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
}

p {
    margin-bottom: 16px;
    font-size: clamp(15px, 2vw, 17px);
}

.text-center {
    text-align: center;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    border-bottom: 2px solid var(--color-primary);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo - always left */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light) !important;
    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; /* Show only on mobile */
}

.hamburger .line {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-light);
    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-light);
    font-weight: 600;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

/* 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-dark);
}

.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);
    font-size: 18px;
    display: block;
}

/* Mobile adaptation for Header */
@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 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px; /* rounded border-style */
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--text-light) !important;
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light) !important;
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--bg-dark) !important;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Index (gradient-center) */
.hero-gradient-center {
    position: relative;
    padding: 80px 16px;
    background: radial-gradient(circle, var(--color-secondary) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Decorative background shapes for dynamic-tech style */
.hero-decor-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background-color: var(--color-primary);
    opacity: 0.15;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.hero-decor-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 350px;
    height: 350px;
    background-color: var(--color-accent);
    opacity: 0.15;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Inner Hero styling */
.inner-hero {
    padding: 60px 16px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
}

/* Section headers */
.section-header {
    margin-bottom: 48px;
}

.section-title {
    color: var(--color-primary);
}

.dark-section .section-title {
    color: var(--text-light);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Timeline Components */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background-color: var(--color-accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07); /* subtle shadow */
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        width: 50%;
        padding-left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 40px;
        text-align: right;
    }
    
    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 40px;
    }
    
    .timeline-item:nth-child(odd) .timeline-badge {
        left: auto;
        right: -22px;
    }
    
    .timeline-item:nth-child(even) .timeline-badge {
        left: -22px;
    }
}

/* Accordion FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-trigger {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    user-select: none;
}

.faq-content {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.2);
}

/* Two column Image styling */
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

.rounded-img {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.section-tag {
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.custom-list {
    list-style: none;
}

.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    background-color: rgba(255,255,255,0.02);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-table th {
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* CTA Banner */
.cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--text-light);
    padding: 40px 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Numbered sections for program.html */
.numbered-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .numbered-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.numbered-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: 16px;
    position: relative;
}

.num-badge {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 16px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-item {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.stat-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: 12px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.custom-form {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.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: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-sans);
}

.info-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* Legal pages */
.last-updated {
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 24px;
}

.legal-block {
    margin-bottom: 32px;
    padding: 0;
}

.disclaimer-block {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
}

/* Thank You page styling */
.thank-card {
    background-color: #ffffff;
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-accent);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.thank-divider {
    margin: 32px 0;
    border: none;
    border-top: 1px solid #eee;
}

.thank-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Footer Section */
.site-footer {
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    padding: 60px 16px 20px;
    border-top: 4px solid var(--color-accent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-col h3 {
    color: var(--text-light) !important;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light) !important;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--color-accent) !important;
    opacity: 1;
}

.footer-email {
    color: var(--color-accent) !important;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    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;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-top: 3px solid var(--color-accent);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

#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 {
    background-color: var(--color-accent);
    color: var(--text-light);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

@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;
    }
}