/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3c5e;
    --primary-light: #2a5a8a;
    --accent: #e8a838;
    --accent-hover: #d4952e;
    --dark: #0f2438;
    --text: #333;
    --text-light: #666;
    --bg: #f8f9fa;
    --white: #fff;
    --border: #e0e0e0;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,168,56,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 36px;
    opacity: 0.9;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232,168,56,0.4);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* ===== STATS ===== */
.stats {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 32px 16px;
    border-radius: var(--radius);
    background: var(--bg);
    transition: transform var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 48px;
}

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

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

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

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

.cta-banner .btn {
    margin-top: 8px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.85;
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

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

.timeline-item {
    display: flex;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

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

.timeline-right {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-content {
    background: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
    position: relative;
}

.timeline-left .timeline-content {
    text-align: right;
}

.timeline-right .timeline-content {
    text-align: left;
}

.timeline-year {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    top: 32px;
    box-shadow: 0 0 0 4px rgba(232,168,56,0.3);
}

.timeline-left::before {
    right: calc(-8px);
    left: auto;
    transform: translateX(50%);
}

.timeline-right::before {
    left: calc(-8px);
    right: auto;
    transform: translateX(-50%);
}

/* ===== PARTNERS INTRO ===== */
.partners-intro {
    padding: 60px 0;
    background: var(--white);
}

.partners-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partners-intro-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.partners-intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== PARTNERS GRID ===== */
.partners-categories,
.featured-partners {
    padding: 80px 0;
}

.featured-partners {
    background: var(--white);
}

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

.partner-type-card {
    background: var(--bg);
    padding: 36px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.partner-type-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.partner-type-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.partner-type-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.partner-type-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.partner-logo-card {
    background: var(--bg);
    padding: 32px 16px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all var(--transition);
    border: 2px solid var(--border);
}

.partner-logo-card:hover {
    border-color: var(--accent);
    background: var(--white);
    transform: scale(1.03);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--white);
}

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

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

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-map {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    margin-top: 24px;
}

.contact-map h2 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-map p {
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    transition: color var(--transition);
}

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

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-col .logo {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .partners-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav.open {
        display: flex;
    }

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

    .hero p {
        font-size: 1rem;
    }

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

    .services-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partners-logos {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .timeline-left,
    .timeline-right {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        text-align: left;
    }

    .timeline-left::before,
    .timeline-right::before {
        left: 12px;
        right: auto;
        transform: none;
    }

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

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding: 60px 0 50px;
    }

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