* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
}
/* Sidebar navigation text */
.sidebar .nav li {
    text-transform: uppercase;   /* CAPS LOCK */
    font-weight: 600;            /* BOLD */
    letter-spacing: 0.05em;      /* nicer spacing */
}

/* Section titles (CHAPTERS, QUIZZES, LEADERBOARD) */
.sidebar .section-title {
    margin: 15px 0 8px;
    font-size: 0.75rem;
    font-weight: 700;            /* extra bold */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
}


/* HERO */
.hero {
    position: relative;
    min-height: 80vh;
    background: url("../images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 8%;
}

/* LEFT DARK OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.85),
        rgba(0,0,0,.25)
    );
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #fff;
}

.logo {
    width: 120px;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-content h1 span {
    color: #ff8c1a;
}

/* BUTTON */
.btn-start {
    display: inline-block;
    background: #ffcc66;
    color: #000;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
}

.btn-start:hover {
    background: #ffb703;
}

.tagline {
    font-size: 0.95rem;
    opacity: 0.9;
}


/* OVERVIEW — EXACT LIKE IMAGE */
.overview {
    display: flex;
    align-items: flex-start;
    gap: 100px;              /* space between title and text */
    padding: 80px 8%;
}

/* OVERVIEW — EXACT LIKE IMAGE */
.overview {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    padding: 80px 8%;
}

.overview h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    min-width: 200px;
}

.overview p {
    max-width: 620px;
    line-height: 1.75;
    font-size: 0.95rem;
    text-align: justify;      /* ← THIS IS THE KEY */
}



/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 8% 80px;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .overview {
        padding: 60px 6%;
    }

    .overview p {
        max-width: 100%;
    }

    .gallery {
        grid-template-columns: 1fr;
        padding: 0 6% 60px;
    }
}

