:root {
    --primary: #4E51BF;
    --accent: #FFDD83;
    --soft: #FFE9CE;
    --pink: #FF92A4;
    --dark: #333;
    --blue: #B9D9EB;
    --light: #ffffff;
}

/* RESET */
* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    margin: 0;
    background: var(--light);
    color: var(--dark);
    font-size: 18px;
    line-height: 1.7;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(135deg, var( --blue));
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.hero h1 {
    font-size: 3rem;
    margin: 15px 0 5px;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 500;
}

.subtitle {
    margin-top: 10px;
    font-weight: 500;
}

/* ================= SECTIONS ================= */
.section {
    padding: 60px 80px;
    max-width: 1400px;
    margin: auto;
}

.section.alt {
    background: var(--soft);
}

h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.4rem;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* ================= GRIDS (FIXED) ================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method-grid,
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ================= CARDS ================= */
.info-card,
.method-card,
.result-card,
.demo-card,
.ep-video
.tech-card {
    background: var(--light);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ================= OBJECTIVES ================= */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.objective {
    background: var(--accent);
    padding: 18px;
    border-radius: 14px;
    text-align: center;
    font-weight: bold;
    font-size: 1.05rem;
}

/* ================= MEDIA ================= */
img {
    max-width: 100%;
    display: block;
    margin: auto;
}

.ui-video,
.ep-video {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    display: block;
    margin: auto;
}

/* ================= TABLE ================= */
.table-wrapper {
    overflow-x: auto;
}

.students-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.students-table th,
.students-table td {
    padding: 14px;
    border: 1px solid #ddd;
    text-align: center;
}

.students-table th {
    background: var(--primary);
    color: white;
}

/* ================= LINKS ================= */
a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================= FOOTER ================= */
.footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .card-grid,
    .method-grid,
    .results-grid,
    .demo-grid,
    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 20px;
    }

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