/* ============================================================
   RamomSchool – Premium Educational Theme (Orange/White)
   ============================================================ */

:root {
    --primary: #ff6e40;
    --primary-dark: #e64a19;
    --secondary: #1e2139;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    margin: 0;
}

/* ── TOPBAR ── */
.top-header {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.top-header a { color: #fff; text-decoration: none; margin-left: 15px; }

/* ── NAVBAR ── */
.navbar {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.navbar-brand img { height: 45px; }
.nav-link {
    font-weight: 500;
    color: #444 !important;
    margin: 0 10px;
    font-size: 15px;
    position: relative;
}
.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 20px; height: 2px;
    background: var(--primary);
}

/* ── NEWS TICKER ── */
.news-ticker {
    background: #1e2139;
    color: #fff;
    padding: 10px 0;
}
.news-label {
    background: var(--primary);
    padding: 10px 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

/* ── HERO ── */
.hero-slider {
    position: relative;
    background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&q=80&w=2000') no-repeat center center;
    background-size: cover;
    padding: 180px 0;
    color: #fff;
}
.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.hero-content { position: relative; z-index: 10; max-width: 650px; }
.hero-content h1 { font-size: 60px; font-weight: 800; border-left: 5px solid var(--primary); padding-left: 20px; }
.hero-content h1 span { color: var(--primary); }
.btn-primary { background: var(--primary); border: none; padding: 12px 30px; font-weight: 700; border-radius: 4px; }
.btn-outline-light { border: 2px solid #fff; padding: 12px 30px; font-weight: 700; border-radius: 4px; }

/* ── FEATURE CARDS ── */
.feature-section { margin-top: -80px; position: relative; z-index: 20; }
.feat-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}
.feat-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary); }
.feat-card .icon-box {
    width: 70px; height: 70px;
    background: #fff;
    border: 2px dashed #ddd;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: -70px auto 30px;
}
.btn-read { color: var(--primary); font-weight: 700; border: 1px solid var(--primary); padding: 8px 25px; display: inline-block; transition: 0.3s; }
.btn-read:hover { background: var(--primary); color: #fff; }

/* ── ABOUT SECTION ── */
.about-img-frame {
    position: relative;
    padding: 20px;
}
.about-img-frame img { width: 100%; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }


/* ── TEACHERS ── */
.teacher-section {
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80&w=2000') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    position: relative;
}
.teacher-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.8); }
.teacher-card { position: relative; margin-bottom: 30px; z-index: 10; }
.teacher-img { width: 100%; height: 350px; object-fit: cover; border: 10px solid rgba(255,255,255,0.1); }
.teacher-info {
    position: absolute;
    bottom: -15px; left: 15px; right: 15px;
    background: var(--primary);
    color: #fff;
    padding: 15px;
    text-align: center;
}
.teacher-info h6 { margin: 0; font-weight: 800; }
.teacher-info span { font-size: 12px; opacity: 0.8; }

/* ── STATS COUNTER ── */
.stats-section {
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2000') no-repeat center center fixed;
    background-size: cover;
    padding: 80px 0;
    position: relative;
    color: #fff;
}
.stats-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.stat-box {
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,110,64,0.5);
    padding: 30px;
    text-align: center;
    transform: skewX(-10deg);
    background: rgba(255,255,255,0.05);
}
.stat-box .inner { transform: skewX(10deg); }
.stat-box i { font-size: 32px; color: var(--primary); margin-bottom: 15px; display: block; }
.stat-box h2 { font-weight: 800; font-size: 40px; margin-bottom: 5px; }

/* ── SECTION TITLES ── */
.sect-title { text-align: center; margin-bottom: 60px; position: relative; }
.sect-title h2 { font-weight: 800; font-size: 38px; }
.sect-title h4 { color: var(--primary); font-weight: 700; margin-bottom: 15px; }
.sect-title .line {
    width: 100px; height: 2px; background: #ddd; margin: 20px auto; position: relative;
}
.sect-title .line::after {
    content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: #fff; padding: 0 10px; color: var(--primary);
}

footer { background: #111; color: #aaa; padding: 60px 0 20px; }
