/* ========================================
   Dare To Dream Fund - Main Stylesheet
   Dark theme inspired by logo aesthetics
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --bg-darkest: #1a1a1a;
    --bg-dark: #2d2d2d;
    --bg-medium: #3a3a3a;
    --bg-light: #4a4a4a;
    --green-primary: #7ab648;
    --green-light: #8ec95e;
    --green-dark: #5a9030;
    --text-white: #f0f0f0;
    --text-light: #cccccc;
    --text-muted: #999999;
    --text-dark: #2d2d2d;
    --border-color: #4a4a4a;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-green: 0 4px 20px rgba(122, 182, 72, 0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-darkest);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

a {
    color: var(--green-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--green-light);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Utility Classes --- */
.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--bg-darkest);
}

.section-medium {
    background-color: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--green-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

.green-text {
    color: var(--green-primary);
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--green-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-outline {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}

.btn-outline:hover {
    background: var(--green-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(122, 182, 72, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 4px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: lowercase;
}

.logo-text strong {
    color: var(--green-primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-primary);
    background: rgba(122, 182, 72, 0.1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(
        135deg,
        var(--bg-darkest) 0%,
        var(--bg-dark) 50%,
        var(--bg-darkest) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(122, 182, 72, 0.05) 0%,
        transparent 50%
    );
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content h1 .green-text {
    display: block;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 140px 20px 80px;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--bg-darkest) 0%,
        var(--bg-dark) 100%
    );
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Mission Cards --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(122, 182, 72, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(122, 182, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--green-primary);
}

.card h3 {
    margin-bottom: 14px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Stats / Impact Numbers --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Partners --- */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-item {
    text-align: center;
    padding: 30px 40px;
    background: var(--bg-medium);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    min-width: 250px;
}

.partner-item:hover {
    border-color: rgba(122, 182, 72, 0.3);
}

.partner-item i {
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 16px;
    display: block;
}

.partner-item h4 {
    margin-bottom: 8px;
}

.partner-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- About Page --- */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 20px;
}

.story-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--green-primary);
    margin-top: 16px;
    border-radius: 2px;
}

.story-content p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.story-visual {
    background: var(--bg-medium);
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.story-visual .quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.story-visual .quote-mark {
    font-size: 4rem;
    color: var(--green-primary);
    line-height: 1;
    font-family: Georgia, serif;
}

.story-visual .quote-author {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--green-primary);
}

.mv-card h3 {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mv-card h3 i {
    color: var(--green-primary);
}

.mv-card p {
    color: var(--text-light);
}

/* Leadership */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    border-color: rgba(122, 182, 72, 0.3);
    transform: translateY(-4px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(122, 182, 72, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: var(--green-primary);
}

.team-card h3 {
    margin-bottom: 6px;
}

.team-card .team-role {
    color: var(--green-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-medium);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-item:hover {
    border-color: rgba(122, 182, 72, 0.3);
    transform: translateY(-4px);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(122, 182, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--green-primary);
}

.value-item h4 {
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Programs Page --- */
.program-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.program-block:last-child {
    border-bottom: none;
}

.program-block.reverse .program-content {
    order: 2;
}

.program-block.reverse .program-visual {
    order: 1;
}

.program-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.program-content h3 i {
    color: var(--green-primary);
    margin-right: 10px;
}

.program-content p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.program-content ul {
    margin-top: 16px;
}

.program-content ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-light);
}

.program-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-size: 0.85rem;
}

.program-visual {
    background: var(--bg-medium);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.framework-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.framework-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--green-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.step-content h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.program-highlight {
    background: rgba(122, 182, 72, 0.08);
    border-left: 3px solid var(--green-primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 20px;
}

.program-highlight p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-light);
}

/* --- Impact Page --- */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.impact-stat {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.impact-stat:hover {
    border-color: rgba(122, 182, 72, 0.3);
    transform: translateY(-4px);
}

.impact-stat i {
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 20px;
    display: block;
}

.impact-stat .stat-number {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.impact-stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Success Stories */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.story-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.story-card:hover {
    border-color: rgba(122, 182, 72, 0.3);
}

.story-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(122, 182, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--green-primary);
}

.story-card h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
}

.story-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
    top: 0;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    padding-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green-primary);
    border: 3px solid var(--bg-darkest);
    top: 5px;
    z-index: 1;
}

.timeline-content {
    background: var(--bg-dark);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border-color);
    max-width: 400px;
}

.timeline-content .year {
    color: var(--green-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content h4 {
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 3-Tier Model */
.tier-model {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.tier {
    width: 100%;
    padding: 30px 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tier:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: rgba(122, 182, 72, 0.15);
    border-color: rgba(122, 182, 72, 0.3);
}

.tier:nth-child(2) {
    background: rgba(122, 182, 72, 0.08);
}

.tier:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--bg-dark);
}

.tier:hover {
    transform: scale(1.02);
}

.tier i {
    font-size: 1.8rem;
    color: var(--green-primary);
    margin-bottom: 12px;
    display: block;
}

.tier h4 {
    margin-bottom: 8px;
}

.tier p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-white);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(122, 182, 72, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-dark);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: rgba(122, 182, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-size: 1.2rem;
}

.info-card h4 {
    margin-bottom: 6px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
    filter: grayscale(0.5) brightness(0.8);
}

.nonprofit-badge {
    background: var(--bg-dark);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border-color);
    margin-top: 20px;
    text-align: center;
}

.nonprofit-badge i {
    color: var(--green-primary);
    margin-right: 8px;
}

.nonprofit-badge p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* --- Footer --- */
.footer {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--green-primary);
    color: #fff;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-white);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    padding: 5px 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--green-primary);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .program-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .program-block.reverse .program-content,
    .program-block.reverse .program-visual {
        order: unset;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .page-hero {
        padding: 110px 20px 50px;
    }

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

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 30px;
        width: 100%;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Timeline mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-content {
        max-width: 100%;
    }

    .tier-model .tier {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        gap: 20px;
    }

    .partner-item {
        min-width: unset;
        width: 100%;
    }
}
