@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Professional Color Palette */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --accent: #10B981;
    --accent-dark: #059669;
    --background: #F9FAFB;
    --surface: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.nav-link {
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--border-light);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius);
}

.menu-toggle:hover {
    background: var(--border-light);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.25s ease;
}

.menu-icon {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    top: 6px;
}

/* Mobile Drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
    cursor: pointer;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(85vw, 320px);
    background: var(--surface);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2001;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.drawer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.drawer-close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.drawer-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.2);
}

body.drawer-open {
    overflow: hidden;
}

body.drawer-open .drawer-overlay {
    opacity: 1;
    visibility: visible;
}

body.drawer-open .mobile-drawer {
    transform: translateX(0);
}

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

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.page-header-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ABOUT HERO ========== */
.about-hero {
    padding: 64px 0;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-hero-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

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

.about-hero-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========== TEAM SECTION ========== */
.team-section {
    padding: 64px 0;
    background: var(--surface);
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-image {
    width: 95%;
    height: 320px;
    overflow: hidden;
    margin: 16px auto 0;
    border-radius: var(--radius);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.team-contact i {
    color: var(--primary);
    margin-right: 8px;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 64px 0;
}

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

.feature-card {
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== GOALS SECTION ========== */
.goals-section {
    padding: 64px 0;
    background: var(--surface);
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.goal-card {
    background: var(--background);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.goal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.goal-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 12px;
}

.goal-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.goal-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 64px 24px;
    margin: 48px -24px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-cta {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta.primary {
    background: var(--surface);
    color: var(--primary);
}

.btn-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text-primary);
    color: #fff;
    padding: 64px 24px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-brand h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-hero-image {
        order: -1;
    }

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

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

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

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

@media (max-width: 900px) {
    .header-container {
        height: 64px;
        padding: 0 16px;
    }

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-header {
        padding: 36px 16px;
    }

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

    .main-content {
        padding: 0 16px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .about-hero {
        padding: 48px 0;
    }

    .about-hero-text h2 {
        font-size: 1.75rem;
    }

    .about-stats {
        gap: 24px;
    }

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

    .team-section,
    .features-section,
    .goals-section {
        padding: 48px 16px;
    }

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

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

    .feature-card {
        padding: 20px;
    }

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

    .cta-section {
        padding: 48px 16px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

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

    .footer {
        padding: 48px 16px 20px;
    }

    .footer-container {
        gap: 32px;
    }
}

@media (max-width: 540px) {
    .header-container {
        height: 60px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 32px 12px;
    }

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

    .main-content {
        padding: 0 12px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-hero {
        padding: 32px 0;
    }

    .about-hero-text h2 {
        font-size: 1.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
        text-align: left;
    }

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

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

    .team-section,
    .features-section,
    .goals-section {
        padding: 32px 12px;
        margin: 0 -12px;
    }

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

    .feature-card {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
        padding: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin: 0;
    }

    .cta-section {
        padding: 32px 12px;
        margin: 32px -12px 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

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

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

    .footer-bottom {
        margin-top: 32px;
        padding-top: 20px;
    }
}
