/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3a5c;
    --secondary: #2ecc71;
    --accent: #3498db;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #333;
    --text-light: #666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER & NAV ========== */
header {
    background: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text span {
    color: var(--secondary);
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-about .logo-img {
    height: 48px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: white;
    border-bottom-color: var(--secondary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    margin-left: 10px;
}

/* ========== SECTIONS ========== */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CARDS GRID ========== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--secondary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-light);
}

/* ========== ABOUT PAGE ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.values-list {
    margin-top: 20px;
}

.values-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.about-visual {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    padding: 60px;
    color: white;
    text-align: center;
}

.about-visual .stat {
    margin-bottom: 30px;
}

.about-visual .stat h3 {
    font-size: 2.5rem;
    color: var(--secondary);
}

/* ========== APPROACH PAGE ========== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-info-item .icon {
    font-size: 1.5rem;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--text-light);
}

/* ========== FOOTER ========== */
footer {
    background: var(--dark);
    color: #aaa;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about p {
    margin-top: 10px;
    font-size: 0.9rem;
}

footer h4 {
    color: white;
    margin-bottom: 15px;
}

footer ul li {
    margin-bottom: 8px;
}

footer a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* ========== STATS BAR ========== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    background: var(--primary);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 60px;
}

.stats-bar .stat-item {
    padding: 40px 30px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stats-bar .stat-item:last-child {
    border-right: none;
}

.stats-bar .stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stats-bar .stat-item p {
    color: #bbb;
    margin-top: 8px;
    font-size: 0.9rem;
}

/* ========== MISSION / VISION ========== */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    border-radius: 12px;
    padding: 45px 40px;
    color: white;
}

.mv-card.mission {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.mv-card.vision {
    background: linear-gradient(135deg, var(--dark), var(--primary));
}

.mv-card h3 {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
}

.mv-card h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: white;
}

.mv-card p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

/* ========== EXPERTISE TAGS ========== */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.expertise-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary);
    border: 1px solid rgba(46, 204, 113, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== TEAM ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.team-avatar {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-info .role {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== CTA BAND ========== */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-band h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-band p {
    color: #bbb;
    max-width: 550px;
    margin: 0 auto 30px;
}

/* ========== RESPONSIVE ========== */
html {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.15);
    }

    nav ul.active {
        display: flex;
    }

    .logo-img {
        height: 34px;
    }

    .footer-about .logo-img {
        height: 36px;
    }

    /* ---- Hero ---- */
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero .btn,
    .cta-band .btn,
    .section-title .btn {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 10px auto 0;
        text-align: center;
    }

    .hero .btn-outline,
    .cta-band .btn-outline,
    .section-title .btn-outline {
        margin-left: auto;
    }

    /* ---- Generic sections ---- */
    section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .grid {
        gap: 20px;
    }

    .card {
        padding: 30px 22px;
    }

    /* ---- About / Mission-Vision ---- */
    .about-content,
    .contact-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-visual {
        padding: 35px 25px;
    }

    .about-visual .stat h3 {
        font-size: 1.9rem;
    }

    .mv-card {
        padding: 32px 26px;
    }

    .mv-card h2 {
        font-size: 1.35rem;
    }

    /* ---- Stats bar: this is the block that was overflowing on phones ---- */
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        margin-top: 35px;
    }

    .stats-bar .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 22px 14px;
    }

    .stats-bar .stat-item h3 {
        font-size: 1.6rem;
    }

    .stats-bar .stat-item p {
        font-size: 0.8rem;
    }

    /* ---- Timeline ---- */
    .timeline-item {
        gap: 18px;
        margin-bottom: 30px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }

    /* ---- Team ---- */
    .team-avatar {
        height: 150px;
        font-size: 2.4rem;
    }

    /* ---- CTA band ---- */
    .cta-band {
        padding: 50px 0;
    }

    .cta-band h2 {
        font-size: 1.6rem;
    }

    /* ---- Footer ---- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stats-bar .stat-item h3 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }
}