/* Palette: denim-copper | #1B3A6B, #253F70, #A06830, #EEF4FF */
:root {
    --color-primary: #1B3A6B;
    --color-secondary: #253F70;
    --color-accent: #A06830;
    --bg-tint: #EEF4FF;
    --text-light: #f0f0f0;
    --text-dark: #1a1a1a;
    --border-radius-card: 32px;
    --border-radius-btn: 50px;
    --shadow-subtle: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* --- Base Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: var(--color-secondary);
    color: var(--text-light);
    line-height: 1.6;
    font-size: clamp(16px, 1.5vw, 18px);
}

* {
    box-sizing: border-box;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    margin: 0 0 1rem 0;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-secondary);
    color: var(--text-light);
}

.section-light {
    background-color: var(--bg-tint);
    color: var(--text-dark);
}
.section-light a {
    color: var(--color-primary);
}
.section-light a:hover {
    color: var(--color-accent);
}

.text-center { text-align: center; }
.section-title { margin-bottom: 1rem; }
.section-subtitle {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    opacity: 0.9;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.page-hero {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
}
.page-title { margin-bottom: 1rem; }
.page-subtitle { max-width: 800px; margin: 0 auto; }

/* --- Header --- */
.site-header {
    position: absolute;
    width: 100%;
    padding: 15px 10px;
    z-index: 1000;
    background: var(--color-secondary);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--text-light);
}

.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 .nav-list a {
    color: var(--text-light);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}
.desktop-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}
.desktop-nav .nav-list a:hover::after {
    width: 100%;
}

.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(--color-secondary);
}

.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);
    display: block;
    width: 100%;
}

@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: 14px 32px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--color-accent);
}
.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--text-light);
}

/* --- Hero Section (Floating Card) --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 58, 107, 0.7);
    z-index: -1;
}
.hero-content-card {
    background-color: rgba(37, 63, 112, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: var(--border-radius-card);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(238, 244, 255, 0.2);
    box-shadow: var(--shadow-subtle);
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 1.5rem 0 2.5rem 0;
    opacity: 0.9;
}

/* --- Horizontal Scroll Benefits --- */
.hscroll-container {
    overflow-x: auto;
    padding: 1rem 0 2rem 0;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.hscroll-container::-webkit-scrollbar { display: none; } /* Chrome, Safari, Opera */
.hscroll-content {
    display: flex;
    gap: 24px;
    padding-left: 24px;
    padding-right: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.benefit-card-h {
    background: var(--color-primary);
    padding: 24px;
    border-radius: var(--border-radius-card);
    width: 300px;
    flex-shrink: 0;
    box-shadow: var(--shadow-subtle);
}
.benefit-card-h h3 {
    color: var(--color-accent);
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--color-primary);
    padding: 40px 0;
}
.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}
@media (min-width: 768px) {
    .stats-container { grid-template-columns: repeat(4, 1fr); }
}

/* --- Numbered Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 4rem;
}
.step-item {
    position: relative;
    padding-left: 60px;
}
.step-number {
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
}
.step-title {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
}


/* --- Split Layout --- */
.split-layout, .split-layout-reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image {
    border-radius: var(--border-radius-card);
    object-fit: cover;
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow-subtle);
}
@media (min-width: 768px) {
    .split-layout { grid-template-columns: 1fr 1fr; }
    .split-layout-reverse { grid-template-columns: 1fr 1fr; }
    .split-layout-reverse .split-image-container { order: 2; }
}

/* --- Icon Features --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 4rem;
}
.feature-item {
    text-align: center;
}
.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}
.feature-title {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
@media (min-width: 500px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Accordion FAQ --- */
.faq-container {
    max-width: 800px;
}
.accordion {
    margin-top: 3rem;
}
.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.accordion-title {
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    list-style: none; /* Hides default marker */
    position: relative;
    padding-right: 30px;
}
.accordion-title::-webkit-details-marker { display: none; }
.accordion-title::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-title::after {
    transform: translateY(-50%) rotate(45deg);
}
.accordion-content {
    padding: 0 0 1.5rem 0;
    opacity: 0.9;
}

/* --- Program Page: Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-primary);
    opacity: 0.2;
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 1rem 0 2rem 50px;
    position: relative;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 3px solid var(--bg-tint);
    top: 20px;
    left: 8px;
    z-index: 1;
}
.timeline-content h3 { color: var(--color-primary); }
.timeline-list {
    padding-left: 20px;
    margin-top: 1rem;
}
.timeline-list li { margin-bottom: 0.5rem; }

/* --- Mission Page --- */
.mission-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image {
    border-radius: var(--border-radius-card);
}
@media (min-width: 768px) {
    .mission-container { grid-template-columns: 1fr 1.2fr; }
}

.timeline-dates {
    position: relative;
    margin-top: 4rem;
}
.timeline-date-item {
    position: relative;
    padding-bottom: 3rem;
    padding-left: 40px;
    border-left: 3px solid var(--color-primary);
}
.timeline-date-item:last-child { border-left: 3px solid transparent; }
.timeline-date-year {
    position: absolute;
    left: -70px;
    top: -10px;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--color-accent);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: var(--border-radius-btn);
}
@media (max-width: 600px) {
    .timeline-date-item { padding-left: 20px; }
    .timeline-dates { margin-left: 50px; }
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 3rem;
}
.value-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
    text-align: center;
}
.value-card h3 { color: var(--color-primary); }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 1.5fr 1fr; }
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: var(--border-radius-btn);
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 1rem;
    color: var(--text-dark);
}
.form-submit-btn {
    width: 100%;
}
.contact-info-sidebar h2 { color: var(--color-primary); }
.contact-info-block {
    margin-bottom: 2rem;
}
.contact-info-block h3 {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* --- Policy & Thank You Pages --- */
.policy-page, .thank-you-page {
    padding-top: 160px;
    padding-bottom: 60px;
}
.policy-page .container, .thank-you-page .container {
    max-width: 800px;
}
.policy-page h1, .policy-page h2 {
    color: var(--color-primary);
}
.thank-you-content {
    margin-top: 3rem;
    background: var(--color-primary);
    padding: 40px;
    border-radius: var(--border-radius-card);
}
.thank-you-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 2rem;
}

/* --- Footer --- */
.site-footer {
    background-color: #111 !important; /* Override for translators */
    color: #ccc !important;
    padding: 60px 0 0 0;
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-heading {
    font-size: 1.1rem;
    color: #fff !important;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #ccc !important;
}
.footer-links a:hover {
    color: var(--color-accent) !important;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #333;
}
@media (min-width: 600px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-container { 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;
    background: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    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 { color: var(--color-accent); 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: var(--border-radius-btn);
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--text-light);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid 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; }
}