/* ===== SCHOOL HERO ===== */
.school-hero {
    background: linear-gradient(160deg, rgba(13,27,53,0.93) 0%, rgba(26,90,94,0.88) 50%, rgba(21,39,68,0.93) 100%),
                url('background1.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 2rem 4rem;
    text-align: center;
    margin-top: 112px;
    position: relative;
    overflow: hidden;
}

.school-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(201,149,7,0.12) 0%, transparent 55%);
    pointer-events: none;
}

.school-hero::after {
    content: 'STAR ✦ STAR ✦ STAR ✦ STAR';
    content: '✦ ★ ✦ ★ ✦ ★ ✦';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    text-align: center;
    color: rgba(201,149,7,0.22);
    font-size: 0.9rem;
    letter-spacing: 2rem;
    padding: 0.8rem;
    pointer-events: none;
}

.school-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.school-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.school-hero p {
    font-size: 1.15rem;
    opacity: 0.88;
    font-weight: 400;
}

/* ===== SHARED CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== OVERVIEW SECTION ===== */
.school-overview {
    padding: 5rem 0;
    background: linear-gradient(160deg, #fff 0%, #f6f0e8 100%);
}

.overview-content { text-align: center; }

.overview-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
}

.overview-content h2 i { margin-right: 0.8rem; }

.overview-content > p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.overview-card {
    background: var(--white);
    padding: 2.2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(201,149,7,0.1);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.overview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--shadow-gold); }
.overview-card:hover::before { opacity: 1; }

.overview-card i {
    font-size: 2.2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.overview-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

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

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f4f0 0%, #e8f0e8 100%);
}

.courses-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
}

.courses-section h2 i { margin-right: 0.8rem; }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(201,149,7,0.08);
}

.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--shadow-gold); }

.course-header {
    background: linear-gradient(135deg, #0d1b35 0%, #1a3a5e 100%);
    color: var(--white);
    padding: 1.8rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.course-header i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-header h3 {
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--white);
}

.instructor {
    font-size: 0.85rem;
    color: rgba(240,208,96,0.85);
    font-style: italic;
}

.course-content { padding: 1.6rem; }
.course-content ul { list-style: none; }

.course-content ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.4rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.93rem;
    line-height: 1.6;
}

.course-content ul li::before {
    content: "›";
    color: var(--ramadan-gold);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    line-height: 1.4;
}

/* ===== SCHEDULE SECTION ===== */
.schedule-section {
    padding: 5rem 0;
    background: linear-gradient(160deg, #fff 0%, #f6f0e8 100%);
}

.schedule-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
}

.schedule-section h2 i { margin-right: 0.8rem; }

.age-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.age-group {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201,149,7,0.1);
    transition: var(--transition);
}

.age-group:hover { box-shadow: var(--shadow-lg), var(--shadow-gold); transform: translateY(-4px); }

.age-group h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(201,149,7,0.2);
}

.schedule-grid { display: grid; gap: 0.7rem; }

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.schedule-item:hover {
    border-left-color: var(--ramadan-gold);
    background: rgba(201,149,7,0.05);
}

.schedule-item .time {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.88rem;
}

.schedule-item .subject {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.schedule-item.break {
    background: linear-gradient(135deg, #0d1b35, #1a3a5e);
    border-left-color: var(--ramadan-gold);
}

.schedule-item.break .time,
.schedule-item.break .subject { color: rgba(240,208,96,0.9); }

/* ===== REGISTRATION SECTION ===== */
.registration-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f4f0 0%, #e8f0e8 100%);
}

.registration-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
}

.registration-content h2 i { margin-right: 0.8rem; }

.registration-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.registration-card {
    background: var(--white);
    padding: 2.2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201,149,7,0.1);
    transition: var(--transition);
}

.registration-card:hover { box-shadow: var(--shadow-lg), var(--shadow-gold); transform: translateY(-4px); }

.registration-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(201,149,7,0.2);
}

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

.registration-btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.registration-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.schedule-list { list-style: none; margin-top: 0.5rem; }

.schedule-list li {
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.schedule-list li:last-child { border-bottom: none; }

.schedule-list li i {
    color: var(--ramadan-gold);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .school-hero { padding: 4rem 1rem 3rem; margin-top: 108px; }
    .school-hero h1 { font-size: 2rem; }
    .overview-cards, .courses-grid, .registration-details, .age-groups { grid-template-columns: 1fr; }
    .container { padding: 0 1rem; }
    .courses-section h2, .schedule-section h2,
    .registration-content h2, .overview-content h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .school-hero h1 { font-size: 1.7rem; }
}