﻿:root {
    --primary: #3f51b5;
    --primary-dark: #2a357a;
    --accent: #17a2b8;
    --text: #1f2937;
    --muted: #64748b;
    --bg: linear-gradient(145deg,#f8faff,#e7ebf8);
    --panel: rgba(255,255,255,0.6);
    --shadow: 0 8px 32px rgba(0,0,0,0.08);
    --radius: 18px;
}

[data-theme="dark"] {
    --primary: #7b89ff;
    --primary-dark: #4b59d1;
    --accent: #00c6ff;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --bg: linear-gradient(145deg,#0f172a,#1e293b);
    --panel: rgba(17,24,39,0.6);
    --shadow: 0 8px 32px rgba(0,0,0,0.55);
}

/* === HERO === */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px 30px;
    gap: 50px;
    position: relative;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, #3f51b511, transparent 60%);
    }

.hero-text {
    flex: 1 1 400px;
    z-index: 2;
}

    .hero-text h1 {
        font-size: 2.8rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 1.1rem;
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 32px;
    }

.hero-image {
    flex: 1 1 380px;
    text-align: center;
    z-index: 2;
}

    .hero-image img {
        max-width: 450px;
        width: 100%;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

/* === SECTION === */
.section {
    padding: 100px 30px;
    text-align: center;
}

    .section h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        color: var(--primary-dark);
    }

    .section p {
        max-width: 800px;
        margin: 0 auto 40px;
        color: var(--muted);
        line-height: 1.7;
    }

/* === CARDS === */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--panel);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 24px;
    text-align: left;
    transition: transform .25s;
}

    .card:hover {
        transform: translateY(-6px);
    }

    .card i {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 14px;
    }

    .card h4 {
        color: var(--primary-dark);
        margin-bottom: 8px;
        font-weight: 600;
    }

/* === TEAM === */
.team, .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.member, .project {
    background: var(--panel);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: transform .25s;
}

    .member:hover, .project:hover {
        transform: translateY(-5px);
    }

    .member img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .member h4 {
        color: var(--primary-dark);
        font-weight: 600;
    }

    .member p {
        color: var(--muted);
        font-size: .95rem;
    }

/* === CONTACT === */
.contact {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    text-align: center;
    padding: 100px 40px;
    position: relative;
}

.contact-container {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.05rem;
    color: #e0e7ff;
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 25px 20px;
    box-shadow: var(--shadow);
    transition: transform .3s, background .3s;
}

    .contact-info:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.25);
    }

    .contact-info i {
        font-size: 1.8rem;
        color: #fff;
        margin-bottom: 10px;
    }

    .contact-info h4 {
        color: #fff;
        margin-bottom: 8px;
        font-weight: 600;
    }

/* === TESTIMONIALS === */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.testimonial {
    background: var(--panel);
    backdrop-filter: blur(14px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 24px;
    text-align: center;
    transition: transform .25s;
}

    .testimonial:hover {
        transform: translateY(-6px);
    }

    .testimonial img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 14px;
        border: 3px solid var(--primary);
    }

    .testimonial h4 {
        font-weight: 600;
        color: var(--primary-dark);
        margin-bottom: 6px;
    }

    .testimonial p {
        color: var(--muted);
        font-size: .95rem;
        line-height: 1.6;
    }

.stars {
    color: #facc15;
    margin-bottom: 10px;
}
