/* ===== CSS Custom Properties ===== */
:root {
    --primary: #1a2744;
    --primary-light: #2a3f6e;
    --primary-dark: #0f1a2e;
    --accent: #b83240;
    --accent-light: #d44a5a;
    --bg: #f4f5f7;
    --bg-alt: #e8eaee;
    --bg-white: #ffffff;
    --text: #1a1a2e;
    --text-light: #4a4a5a;
    --text-muted: #6c757d;
    --border: #d8dce4;
    --shadow: 0 2px 12px rgba(26, 39, 68, 0.08);
    --shadow-hover: 0 8px 28px rgba(26, 39, 68, 0.15);
    --radius: 8px;
    --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.3s ease;
    --container-max: 1120px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Section Title ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

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

.nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 34px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(184, 50, 64, 0.1);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.05rem;
    opacity: 0.75;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
}

.hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(184, 50, 64, 0.3);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-mission {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-icon {
    font-size: 2rem;
    color: var(--accent-light);
}

.about-mission h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.about-mission p {
    opacity: 0.9;
    line-height: 1.7;
}

.about-audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.audience-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.audience-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.audience-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.audience-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audience-card li {
    position: relative;
    padding-left: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.audience-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--bg);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

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

.service-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.06;
    line-height: 1;
}

.service-icon {
    font-size: 2.4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

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

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

/* ===== Features Section ===== */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
}

.feature-item span {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== Solutions Section ===== */
.solutions {
    padding: 100px 0;
    background: var(--bg);
}

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

.solution-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.solution-icon {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

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

/* ===== Partners Section ===== */
.partners {
    padding: 80px 0;
    background: var(--bg-white);
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 16px 32px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.partner-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.partner-icon {
    font-size: 1.4rem;
    color: var(--accent);
}

.partner-badge span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* ===== Founder Section ===== */
.founder {
    padding: 100px 0;
    background: var(--bg);
}

.founder-content {
    max-width: 800px;
    margin: 0 auto;
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.founder-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.founder-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    /* If your existing .founder-avatar has font-size, color, etc. — those are now harmless since there's no text */
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-details h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.founder-role {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

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

.founder-bio {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.founder-bio h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.founder-bio p {
    color: var(--text-light);
    line-height: 1.8;
}

.founder-experience {
    margin-bottom: 40px;
}

.founder-experience h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

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

.timeline-marker {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
}

.timeline-content {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

.timeline-period {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(184, 50, 64, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

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

.timeline-content ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.timeline-content li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
}

.founder-education {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px 32px;
    border: 1px solid var(--border);
}

.founder-education h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

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

/* ===== Expertise Section ===== */
.expertise {
    padding: 80px 0;
    background: var(--bg-white);
}

.expertise-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.expertise-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.expertise-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 39, 68, 0.25);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-link:hover {
    color: #fff;
}

.footer-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* ===== Responsive: 768px ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 24px;
        gap: 8px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 16px;
        padding: 8px 0;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .hero {
        padding: 140px 24px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-audience {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-tagline {
        margin: 0 auto;
    }

    .footer-contacts {
        align-items: center;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 36px;
    }
}

/* ===== Responsive: 480px ===== */
@media (max-width: 480px) {
    .logo-text {
        font-size: 0.9rem;
    }

    .nav {
        gap: 12px;
    }

    .nav a {
        font-size: 0.75rem;
    }

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

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

    .hero-description {
        font-size: 0.9rem;
    }

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

    .partners-grid {
        flex-direction: column;
        align-items: center;
    }

    .partner-badge {
        width: 100%;
        justify-content: center;
    }

    .founder-info {
        flex-direction: column;
        text-align: center;
    }

    .expertise-tags {
        flex-direction: column;
        align-items: center;
    }

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

    .about, .services, .solutions, .founder {
        padding: 60px 0;
    }

    .features, .partners, .expertise {
        padding: 50px 0;
    }
}
