/*
  Color Palette: Graphite-Copper
  - Graphite: #2C3E50
  - Copper/Orange: #E67E22
  - Silver: #BDC3C7
  - Light Gray: #ECF0F1
  - White: #FFFFFF
*/

:root {
    --color-primary: #E67E22;
    --color-secondary: #2C3E50;
    --color-text: #34495E;
    --color-light-text: #7f8c8d;
    --color-background: #FFFFFF;
    --color-light-bg: #ECF0F1;
    --color-border: #BDC3C7;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --header-height: 70px;
}

/* Global Styles */
body {
    margin: 0;
    font-family: var(--font-family-base);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: clamp(40px, 8vw, 80px) 0;
}

.section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    color: var(--color-light-text);
    font-size: 1.1rem;
}

/* Header Layout */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--color-background);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.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(--color-secondary);
    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(--color-secondary);
    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(--color-text);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 69px;
    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(--color-background);
    font-size: 1.2rem;
    display: block;
}

@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); }
    .tab-buttons {
        justify-content: center;
        flex-direction: column;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}
.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: #fff;
}

/* Hero Section (Vertical) */
.hero-vertical {
    display: flex;
    flex-direction: column;
}
.hero-vertical-image-container {
    width: 100%;
    height: 40vh;
    overflow: hidden;
}
.hero-vertical-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-vertical-content {
    background-color: var(--color-light-bg);
    padding: 48px 0;
}
.hero-vertical-content h1 {
    margin-top: 0;
}

/* Stats Section */
.stats-section {
    background-color: var(--color-secondary);
    color: var(--color-background);
    padding: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}
.stat-item .stat-text {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Horizontal Scroll Section */
.horizontal-scroll-container {
    overflow-x: auto;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}
.scroll-wrapper {
    display: flex;
    gap: 24px;
    padding: 0 20px;
    flex-wrap: wrap;
}
.scroll-card {
    width: 300px;
    background-color: var(--color-light-bg);
    padding: 24px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}
.card-icon-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-bottom: 16px;
}

/* Video Section */
.video-section {
    background-color: var(--color-light-bg);
}
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}
@media(min-width: 768px) {
    .video-grid { grid-template-columns: 1fr 1fr; }
}
.video-placeholder {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}
.video-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
.play-button svg {
    width: 40px;
    height: 40px;
    fill: var(--color-primary);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-secondary);
    color: var(--color-background);
    text-align: center;
    padding: 30px 0;
}
.cta-content p {
    color: var(--color-light-bg);
    margin-bottom: 24px;
}
.cta-content h2 {
    color: var(--color-background);
}

/* Program Page - Tabs */
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}
.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--color-border);
}
.tab-button {
    padding: 15px 25px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-light-text);
    position: relative;
    transition: color 0.3s;
}
.tab-button.active {
    color: var(--color-primary);
}
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}
.tab-content {
    display: none;
    padding: 32px 0;
    animation: fadeIn 0.5s;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Image Split Section */
.section-image-split {
    padding: clamp(40px, 8vw, 80px) 0;
}
.image-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .image-split-grid {
        grid-template-columns: 1fr 1fr;
    }

    
}
.image-split-image img {
    border-radius: 8px;
}

/* Mission Page - Storytelling */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .story-block { grid-template-columns: 1fr 1fr; }
    .story-block.reverse .story-image-container { order: 2; }
    .story-block.reverse .story-content { order: 1; }
}
.story-image-container img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Values Section */
.values-section {
    background-color: var(--color-light-bg);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.value-card {
    background: var(--color-background);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: center;
}

/* Contact Page - Sidebar Layout */
.contact-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-layout-sidebar { grid-template-columns: 300px 1fr; }
}
.contact-sidebar h3 {
    margin-top: 0;
}
.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block h4 {
    margin-bottom: 4px;
}
.contact-info-block p {
    margin: 0;
    color: var(--color-light-text);
}
.contact-info-block a {
    color: var(--color-light-text);
}
.contact-info-block a:hover {
    color: var(--color-primary);
}

/* 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: 12px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}

/* Legal & Thank You Pages */
.page-header {
    background-color: var(--color-light-bg);
    text-align: center;
    padding-bottom: 40px;
}
.legal-page h2 { margin-top: 40px; }
.thank-you-section { text-align: center; }
.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--color-primary);
}
.next-steps {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--color-light-bg);
    border-radius: 8px;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--color-light-bg) !important;
    padding: 60px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h3, .site-footer h4 {
    color: #fff !important;
}
.footer-logo {
    font-size: 1.8rem;
    margin: 0 0 16px 0;
}
.site-footer p {
    color: var(--color-border) !important;
    margin: 0;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    margin-bottom: 10px;
}
.site-footer a {
    color: var(--color-border) !important;
}
.site-footer a:hover {
    color: var(--color-primary) !important;
}
.footer-copyright {
    border-top: 1px solid #4a627a;
    text-align: center;
    padding: 20px 0;
}
.footer-copyright p {
    font-size: 0.9rem;
}

/* 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(--color-secondary);
    color: var(--color-background);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--color-primary); 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: 4px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: #fff;
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-background);
}
@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; }
}