
/* ===================================
   HILLCREST PREPARATORY SCHOOL
   PREMIUM STYLE.CSS
=================================== */

/* ======================
DISCOVER HILLCREST
====================== */

.about-hillcrest{
background:#f8f9fb;
}

.about-history-card,
.governance-card{
background:#fff;
padding:35px;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
margin-bottom:30px;
}

.about-history-card h3,
.governance-card h3{
color:#0b2c5f;
margin-bottom:20px;
}

.about-history-card p{
margin-bottom:18px;
}

.governance-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
gap:25px;
margin-top:30px;
}

.committee-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
margin-top:30px;
}

.committee-card{
background:#fff;
padding:25px;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
}

.committee-card:hover{
transform:translateY(-5px);
}

.committee-card h3{
color:#0b2c5f;
margin-bottom:10px;
}

.committee-card strong{
display:block;
margin-top:10px;
color:#c9a227;
}

@media(max-width:768px){

.governance-grid{
grid-template-columns:1fr;
}

}
.discover-intro{
max-width:900px;
margin:20px auto 50px;
text-align:center;
font-size:18px;
}

.discover-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:40px;
}

.discover-card{
position:relative;
height:320px;
overflow:hidden;
border-radius:12px;
cursor:pointer;

}


.discover-card img{
width:100%;
height:100%;
object-fit:cover;
transition:.6s;
}

.discover-card:hover img{
transform:scale(1.1);
}

.discover-overlay{
position:absolute;
inset:0;
background:rgba(0,31,84,.45);
display:flex;
align-items:flex-end;
padding:25px;
}

.discover-overlay h3{
color:white;
font-size:24px;
font-family:'Playfair Display',serif;
}

@media(max-width:768px){

.discover-grid{
grid-template-columns:1fr;
}

}

:root{
--navy:#001F54;
--gold:#D4AF37;
--white:#ffffff;
--light:#f8f8f8;
--dark:#222222;
--grey:#666666;
--shadow:0 10px 30px rgba(0,0,0,.12);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
line-height:1.7;
color:var(--dark);
overflow-x:hidden;
background:#fff;
}

img{
width:100%;
display:block;
}

a{
text-decoration:none;
}

ul{
list-style:none;
}

.container{
width:90%;
max-width:1300px;
margin:auto;
}

.section{
padding:100px 0;
}

.staff-tabs{
display:flex;
flex-wrap:wrap;
gap:10px;
margin:40px 0;
}

.tab-btn{
background:#e9edf4;
border:none;
padding:14px 25px;
cursor:pointer;
font-weight:600;
border-radius:12px 12px 0 0;
transition:.3s;
}

.tab-btn.active{
background:#0b2c5f;
color:white;
}

.staff-tab-content{
display:none;
}

.staff-tab-content.active{
display:block;
}

.staff-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.staff-card{
background:#fff;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
text-align:center;
}

.staff-card img{
width:100%;
height:260px;
object-fit:cover;
}

.staff-card h3{
padding-top:15px;
color:#0b2c5f;
}

.staff-card p{
padding-bottom:20px;
color:#666;
}

.specialist-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;
}

@media(max-width:1200px){
    .specialist-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .specialist-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:480px){
    .specialist-grid{
        grid-template-columns:1fr;
    }
}



/* ======================
YOUTUBE FEATURE VIDEO
====================== */

.video-wrapper{
    width:100%;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.video-wrapper iframe{
    width:100%;
    height:450px;
    border:none;
    display:block;
}

.video-caption{
    background:#001F54;
    color:#fff;
    text-align:center;
    padding:14px;
    font-size:20px;
    font-weight:600;
}

@media(max-width:768px){

    .video-wrapper iframe{
        height:250px;
    }

}
/* ======================
VIDEO THUMBNAIL
====================== */

.video-thumbnail{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.video-thumbnail img{
    width:100%;
    height:450px;
    object-fit:cover;
    display:block;
}

.play-button{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90px;
    height:90px;
    border-radius:50%;
    background:rgba(0,31,84,.9);
    display:flex;
    align-items:center;
    justify-content:center;
}

.play-button i{
    color:white;
    font-size:36px;
}

.video-caption{
    background:#001F54;
    color:white;
    text-align:center;
    padding:14px;
    font-size:20px;
    font-weight:600;
}

/* ======================
LIGHTBOX
====================== */

.video-lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    z-index:9999;
    align-items:center;
    justify-content:center;
}

.video-container{
    width:90%;
    max-width:1000px;
    position:relative;
}

.video-container iframe{
    width:100%;
    height:560px;
    border:none;
}

.close-video{
    position:absolute;
    top:-45px;
    right:0;
    color:white;
    font-size:40px;
    cursor:pointer;
}

@media(max-width:768px){

    .video-thumbnail img{
        height:250px;
    }

    .video-container iframe{
        height:250px;
    }

}

/* ======================
TOP BAR
====================== */

.topbar{
background:var(--navy);
color:#fff;
font-size:14px;
padding:10px 0;
}

.topbar .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.top-left{
display:flex;
gap:25px;
}

.top-right a{
color:#fff;
margin-left:15px;
transition:.3s;
}

.top-right a:hover{
color:var(--gold);
}

/* ======================
HEADER
====================== */

.header{
position:sticky;
top:0;
z-index:999;
background:#fff;
box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo{
display:flex;
align-items:center;
gap:15px;
}

.logo img{
width:65px;
height:65px;
object-fit:contain;
}

.logo-text h2{
font-family:'Playfair Display',serif;
color:var(--navy);
font-size:28px;
}

.logo-text span{
font-size:13px;
color:#777;
}

.nav-menu{
display:flex;
align-items:center;
gap:25px;
}

.nav-menu a{
color:var(--navy);
font-weight:500;
transition:.3s;
}

.nav-menu a:hover{
color:var(--gold);
}

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
color:var(--navy);
}

.apply-btn{
background:var(--gold);
padding:12px 24px;
border-radius:4px;
color:#fff !important;
}

.apply-btn:hover{
background:var(--navy);
}

/* ======================
HERO
====================== */

.hero{
height:100vh;
position:relative;
overflow:hidden;
}

.slide{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-size:cover;
background-position:center;
opacity:0;
visibility:hidden;
transition:1s;
}

.slide.active{
opacity:1;
visibility:visible;
}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:#fff;
width:90%;
max-width:900px;
z-index:2;
}

.hero-content h1{
font-family:'Playfair Display',serif;
font-size:70px;
margin-bottom:20px;
}

.hero-content p{
font-size:22px;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.btn-primary{
display:inline-block;
background:var(--gold);
color:#fff;
padding:14px 30px;
border-radius:4px;
transition:.3s;
font-weight:600;
}

.btn-primary:hover{
background:var(--navy);
}

.btn-secondary{
display:inline-block;
border:2px solid #fff;
padding:14px 30px;
border-radius:4px;
color:#fff;
}

.btn-secondary:hover{
background:#fff;
color:var(--navy);
}

.slider-dots{
position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:10px;
z-index:3;
}

.dot{
width:12px;
height:12px;
background:#fff;
border-radius:50%;
opacity:.5;
}

.dot.active{
opacity:1;
background:var(--gold);
}

/* ======================
SECTION HEADERS
====================== */

.section-header{
text-align:center;
margin-bottom:60px;
}

.section-tag{
display:inline-block;
color:var(--gold);
font-size:13px;
font-weight:700;
letter-spacing:2px;
margin-bottom:15px;
}

.section-tag.light{
color:#fff;
}

.section-header h2{
font-family:'Playfair Display',serif;
font-size:48px;
color:var(--navy);
}

/* ======================
WELCOME
====================== */


.welcome{
background:#ffffff;
}


/* ======================
WELCOME SECTION
====================== */

.welcome-grid{
display:grid;
grid-template-columns:60% 40%;
gap:40px;
align-items:center;
margin-top:40px;
}

.welcome-image{
width:100%;
}

.welcome-text{
width:100%;
}

.welcome-text h2{
font-size:48px;
margin-bottom:20px;
}

.welcome-text p{
font-size:18px;
line-height:1.8;
margin-bottom:20px;
}

/* ======================
WHY HILLCREST V2
====================== */

.why-hillcrest{
background:#eef3fa;
padding:100px 0;
}

.why-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.why-card{
background:white;
overflow:hidden;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.4s;
}

.why-card:hover{
transform:translateY(-10px);
}

.why-card img{
width:100%;
height:260px;
object-fit:cover;
transition:.6s;
}

.why-card:hover img{
transform:scale(1.08);
}

.why-content{
padding:25px;
}

.why-content h3{
color:#001F54;
margin-bottom:15px;
font-size:24px;
}

.why-content p{
color:#666;
}

.why-content h3::after{
content:"";
display:block;
width:50px;
height:4px;
background:#001F54;
margin-top:10px;
}

@media(max-width:768px){

.why-grid{
grid-template-columns:1fr;
}

.blue-break{
background:#001F54;
padding:70px 0;
text-align:center;
}

.blue-break h3{
color:white;
font-size:42px;
font-family:'Playfair Display',serif;
}

}

/* ======================
BLUE FEATURE BAND
====================== */

.blue-break{
background:#001F54;
padding:80px 20px;
text-align:center;
color:white;
}

.blue-break h3{
font-family:'Playfair Display',serif;
font-size:48px;
margin-bottom:15px;
color:white;
}

.blue-break p{
max-width:800px;
margin:auto;
font-size:18px;
opacity:.9;
}

@media(max-width:768px){

.blue-break h3{
font-size:32px;
}

}
/* ======================
ACADEMICS
====================== */

.academic-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
margin-bottom:80px;
}

.academic-row.reverse .academic-image{
order:2;
}

.academic-image img{
border-radius:12px;
box-shadow:var(--shadow);
}

.academic-content h3{
font-size:34px;
color:var(--navy);
margin-bottom:20px;
font-family:'Playfair Display',serif;
}

.academic-content ul{
margin-top:20px;
padding-left:20px;
list-style:disc;
}

/* ======================
ACADEMIC PANELS
====================== */

.premium-row{
align-items:stretch;
}

.academic-panel{
background:#001F54;
color:white;
padding:60px;
display:flex;
flex-direction:column;
justify-content:center;
border-radius:12px;
}

.light-panel{
background:#f4f7fb;
color:#222;
}

.academic-tag{
display:inline-block;
margin-bottom:15px;
font-size:13px;
font-weight:700;
letter-spacing:2px;
color:#D4AF37;
}

.academic-panel h3{
font-family:'Playfair Display',serif;
font-size:38px;
margin-bottom:20px;
}

.academic-panel p{
margin-bottom:25px;
}

.academic-panel a{
color:#D4AF37;
font-weight:600;
}

.light-panel a{
color:#001F54;
}

.academic-image img{
height:100%;
object-fit:cover;
min-height:450px;
}

.academic-banner{
background:#eef3fa;
padding:90px 20px;
text-align:center;
}

.academic-banner h2{
font-family:'Playfair Display',serif;
font-size:48px;
color:#001F54;
max-width:1000px;
margin:auto;
}

/* ======================
BOARDING
====================== */

.boarding-parallax{
background:url('../images/boarding/boarding-banner.jpg') center/cover fixed;
min-height:600px;
position:relative;
}

.boarding-overlay{
background:rgba(0,31,84,.75);
min-height:600px;
display:flex;
align-items:center;
}

.boarding-content{
max-width:700px;
color:#fff;
}

.boarding-content h2{
font-family:'Playfair Display',serif;
font-size:56px;
margin-bottom:20px;
}

.boarding-content p{
margin-bottom:30px;
font-size:18px;
}

/* ======================
SPORTS
====================== */

.sports-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.sport-card{
position:relative;
overflow:hidden;
border-radius:12px;
height:350px;
}

.sport-card img{
height:100%;
object-fit:cover;
transition:.6s;
}

.sport-card:hover img{
transform:scale(1.1);
}

.sport-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.5);
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
color:#fff;
opacity:0;
transition:.4s;
}

.sport-card:hover .sport-overlay{
opacity:1;
}

.sport-overlay h3{
font-size:30px;
margin-bottom:10px;
}

.sport-overlay a{
color:#fff;
border:1px solid #fff;
padding:10px 20px;
}

/* ======================
STATISTICS
====================== */

.statistics{
background:var(--navy);
padding:80px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.stat-box{
text-align:center;
color:#fff;
}

.stat-box h2{
font-size:60px;
color:var(--gold);
}

.stat-box h4{
font-size:20px;
}

/* ======================
LEADERSHIP
====================== */

.leadership-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.leader-card{
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:var(--shadow);
transition:.4s;
}

.leader-card:hover{
transform:translateY(-10px);
}

.leader-image{
height:320px;
overflow:hidden;
}

.leader-image img{
height:100%;
object-fit:cover;
transition:.6s;
}

.leader-card:hover img{
transform:scale(1.08);
}

.leader-info{
padding:20px;
text-align:center;
}

.leader-info h3{
color:var(--navy);
}

/* ======================
GLOBAL
====================== */

.global-connections{
background:var(--light);
}

.global-content{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.gallery-track{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:15px;
}

.gallery-track img{
height:180px;
object-fit:cover;
border-radius:10px;
}

/* ======================
NEWS
====================== */

.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.news-card{
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:var(--shadow);
}

.news-image img{
height:250px;
object-fit:cover;
}

.news-content{
padding:25px;
}

.news-date{
color:var(--gold);
font-size:14px;
font-weight:600;
}

.news-content h3{
margin:15px 0;
color:var(--navy);
}

.news-content a{
color:var(--gold);
font-weight:600;
}

/* ======================
ADMISSIONS
====================== */

.admissions-banner{
background:url('../images/campus/admissions.jpg') center/cover;
position:relative;
}

.admissions-overlay{
background:rgba(0,0,0,.65);
padding:120px 0;
}

.admissions-content{
text-align:center;
color:#fff;
max-width:800px;
margin:auto;
}

.admissions-content h2{
font-size:60px;
font-family:'Playfair Display',serif;
margin-bottom:20px;
}

.admissions-buttons{
margin-top:30px;
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

/* ======================
FOOTER
====================== */

.footer{
background:var(--navy);
color:#fff;
padding-top:80px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

.footer-logo{
width:80px;
margin-bottom:20px;
}

.footer-col h3{
margin-bottom:20px;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col a{
color:#fff;
}

.footer-social{
margin-top:20px;
}

.footer-social a{
margin-right:15px;
font-size:20px;
}

.footer-bottom{
margin-top:50px;
border-top:1px solid rgba(255,255,255,.15);
padding:20px 0;
text-align:center;
}
.academic-modal{
display:none;
position:fixed;
z-index:99999;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
overflow-y:auto;
padding:40px 20px;
}

.academic-modal-content{
background:#fff;
max-width:900px;
margin:auto;
border-radius:15px;
overflow:hidden;
position:relative;
}

.academic-modal-content img{
width:100%;
height:400px;
object-fit:cover;
}

.academic-modal-content h2{
padding:25px 30px 10px;
color:#0f2f57;
}

#modalText{
padding:0 30px 30px;
line-height:1.8;
}

#modalText ul{
padding-left:20px;
margin-top:15px;
}

#modalText li{
margin-bottom:8px;
}

.academic-close{
position:absolute;
top:10px;
right:20px;
font-size:40px;
font-weight:bold;
color:white;
cursor:pointer;
z-index:100000;
}


/* ======================
MOBILE
====================== */

@media(max-width:991px){

.why-grid,
.sports-grid,
.stats-grid,
.news-grid,
.footer-grid,
.leadership-grid{
grid-template-columns:1fr 1fr;
}

.welcome-grid,
.academic-row,
.global-content{
grid-template-columns:1fr;
}

.academic-row.reverse .academic-image{
order:0;
}

.hero-content h1{
font-size:50px;
}
}

@media(max-width:768px){

.topbar{
display:none;
}

.menu-toggle{
display:block;
}

.nav-menu{
display:none;
}

.hero-content h1{
font-size:38px;
}

.hero-content p{
font-size:18px;
}

.section-header h2{
font-size:34px;
}

.section-header h2::after{
content:"";
display:block;
width:80px;
height:4px;
background:#001F54;
margin:15px auto 0;
border-radius:5px;
}


.boarding-content h2,
.admissions-content h2{
font-size:40px;
}

.why-grid,
.sports-grid,
.stats-grid,
.news-grid,
.footer-grid,
.leadership-grid{
grid-template-columns:1fr;
}

/* ==========================
   MOBILE MENU ACTIVE
========================== */

@media(max-width:768px){

.nav-menu.mobile-active{
display:flex;
flex-direction:column;
position:absolute;
top:100%;
left:0;
width:100%;
background:#ffffff;
padding:20px;
box-shadow:0 10px 20px rgba(0,0,0,.1);
gap:20px;
z-index:999;
}

}

@media(max-width:768px){

.academic-modal-content img{
height:250px;
}

}
