/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f3f;
    --secondary-color: #0056b3;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --background: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #dee2e6;
    --gray-dark: #495057;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: var(--background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.logo span {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #c9a030;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.why-we-exist {
    background: var(--gray-light);
}

.why-we-exist p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Pillars Grid */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pillar h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.pillar ul {
    list-style: none;
    padding-left: 0;
}

.pillar li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.pillar li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Impact Section */
.impact {
    background: var(--gray-light);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.impact-card h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: var(--text-light);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.large-text {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
}

/* Mission Section */
.mission {
    background: var(--gray-light);
}

.mission p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: 3rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.timeline-item .year {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
}

.timeline-item .content {
    flex: 1;
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.timeline-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Leadership Grid */
.leadership {
    background: var(--gray-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leadership-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.leadership-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Membership Cards */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membership-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.membership-card.featured {
    border-color: var(--accent-color);
    position: relative;
}

.membership-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.membership-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.membership-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.membership-card li:last-child {
    border-bottom: none;
}

/* Funding Table */
.funding {
    background: var(--gray-light);
}

.funding-table {
    max-width: 800px;
    margin: 2rem auto;
}

.funding-table h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

table {
    width: 100%;
    background: var(--background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

table thead {
    background: var(--primary-color);
    color: var(--text-light);
}

table th,
table td {
    padding: 1rem;
    text-align: left;
}

table tbody tr:nth-child(even) {
    background: var(--gray-light);
}

.note {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--gray-dark);
}

/* Partnership Pages */
.partnership-intro p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-card ul {
    list-style: none;
    padding: 0;
}

.program-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.program-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.doors-we-open {
    background: var(--gray-light);
}

.doors-table {
    margin-top: 2rem;
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.exchange-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.exchange-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.success-stories {
    background: var(--gray-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.story-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.story-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.become-partner {
    text-align: center;
    background: var(--gray-light);
}

.partner-benefits {
    max-width: 700px;
    margin: 2rem auto;
    text-align: left;
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
}

.partner-benefits h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.partner-benefits ul {
    list-style: none;
    padding: 0;
}

.partner-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.partner-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Page */
.contact-info {
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
}

/* Engagement Cards */
.ways-to-engage {
    background: var(--gray-light);
}

.engage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.engage-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.engage-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.engage-card p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item .year {
        width: 100%;
    }

    .pillars,
    .impact-grid,
    .leadership-grid,
    .membership-grid,
    .programs-grid,
    .exchange-grid,
    .stories-grid,
    .contact-grid,
    .engage-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 0.8rem;
    }

    section {
        padding: 3rem 0;
    }
}