/* Color Palette & Base Configurations */
:root {
    --primary-teal: #134045;   /* Main background theme from logo */
    --accent-gold: #ECAE12;    /* Pillars / Accent color */
    --light-blue: #2CA7A5;     /* Core accent text/buttons */
    --bg-light: #F4F8F8;       /* Clean, soft structural background */
    --text-dark: #2B3A3C;      /* Readable text color */
    --text-light: #FFFFFF;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

.small-container {
    max-width: 650px;
}

.center {
    text-align: center;
}

/* Global Typography & Elements */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-teal);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #556B6D;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-submit {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-teal);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: #D69C0D;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: 2px solid var(--text-light);
    margin-left: 15px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-teal);
}

/* Header & Nav */
header {
    background-color: var(--primary-teal);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-gold);
}

.nav-container {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-style: italic;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-gold);
}

.btn-cta-nav {
    background-color: var(--light-blue);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
}

.btn-cta-nav:hover {
    background-color: #238987;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a565d 100%);
    color: var(--text-light);
    text-align: center;
    border-bottom: 5px solid var(--accent-gold);
}

.hero-content {
    padding: 100px 0;
    max-width: 800px;
}

.hero-logo {
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto 24px;
}

.hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero .tagline {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Layout Grids */
.grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* Metric / Problem Cards */
.problem-solution {
    background-color: var(--bg-light);
    margin-top: -40px;
    padding-top: 0;
}

.card-metric {
    background: white;
    padding: 35px;
    border-radius: 6px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--light-blue);
}

.card-metric.highlighted {
    border-top: 4px solid var(--accent-gold);
    background-color: #fffdf5;
}

.card-metric h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Purpose Section */
.about-section {
    background-color: white;
}

.about-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #445557;
}

/* Programs */
.programs-section {
    background-color: var(--bg-light);
}

.program-card {
    background: white;
    padding: 40px;
    border-radius: 6px;
    box-shadow: var(--card-shadow);
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.program-card h3 {
    margin-bottom: 15px;
}

.program-card ul {
    list-style-type: none;
}

.program-card ul li {
    padding: 8px 0;
    font-size: 1.1rem;
    border-bottom: 1px dashed #E0ECEE;
}

/* Event Section */
.event-section {
    background-color: white;
}

.event-box {
    background-color: var(--primary-teal);
    color: var(--text-light);
    padding: 50px;
    border-radius: 8px;
    border-left: 6px solid var(--accent-gold);
}

.event-box h2 {
    color: white;
    font-size: 2rem;
    margin: 15px 0;
}

.badge {
    background-color: var(--accent-gold);
    color: var(--primary-teal);
    padding: 4px 12px;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.event-emphasis {
    margin-top: 20px;
    font-style: italic;
    color: #A9D4D6;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Team Grid Layouts */
.team-section {
    background-color: var(--bg-light);
}

.team-grid-main {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.team-grid-directors {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
}

.team-card {
    background: white;
    padding: 25px;
    border-radius: 6px;
    box-shadow: var(--card-shadow);
    border-bottom: 3px solid var(--light-blue);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.team-card .role {
    color: var(--light-blue);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-card .bio {
    font-size: 0.9rem;
    color: #556B6D;
}

.team-photo {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #C4D4D6;
    background-color: #EAF2F3;
    margin-bottom: 16px;
}

/* Vision System */
.vision-section {
    background: white;
}

.vision-list-box {
    max-width: 600px;
    margin: 0 auto;
}

.vision-list li {
    padding: 12px 0;
    font-size: 1.15rem;
    border-bottom: 1px solid #EAEAEA;
    list-style-position: inside;
}

/* Support Framework */
.support-section {
    background-color: var(--bg-light);
}

.support-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.support-item {
    background: white;
    padding: 20px 30px;
    border-radius: 6px;
    box-shadow: var(--card-shadow);
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.support-item span {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.support-item p {
    font-weight: bold;
    font-size: 0.95rem;
}

/* Contact Module & Forms */
.contact-section {
    background: white;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary-teal);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #C4D4D6;
    border-radius: 4px;
    background: white;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px;
}

.direct-contact {
    text-align: center;
    margin-top: 30px;
}

.contact-email {
    font-size: 1.4rem;
    color: var(--light-blue);
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

.social-handle {
    color: #556B6D;
}

/* Footer structure */
footer {
    background-color: var(--primary-teal);
    color: var(--text-light);
    border-top: 4px solid var(--accent-gold);
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

footer .footer-note {
    color: var(--accent-gold);
    margin-top: 5px;
    font-size: 0.8rem;
    opacity: 1;
}

/* Responsive configurations */
@media (max-width: 1200px) {
    .team-grid-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .team-grid-directors {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .team-grid-directors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .logo-sub {
        display: none;
    }
    nav {
        margin-top: 0;
    }
    nav a {
        display: none;
        margin: 0;
        padding: 0;
    }
    nav .btn-cta-nav {
        display: inline-block;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .grid-two {
        grid-template-columns: 1fr;
    }
    .team-grid-main,
    .team-grid-directors {
        grid-template-columns: 1fr;
    }
}