/* ==========================================
ROYAL PRESCHOLAR SCHOOL DESIGN SYSTEM
========================================== */

:root{

--primary:#0B3D91;
--secondary:#00AEEF;
--accent:#F4B400;

--dark:#08111F;
--dark-light:#14233A;

--light:#F8FAFC;
--white:#FFFFFF;

--text:#1E293B;
--text-light:#64748B;

--shadow:
0 15px 40px rgba(11,61,145,.08);

--radius:18px;

--transition:.35s ease;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html,
body{

overflow-x:hidden;
width:100%;
}

html{
scroll-behavior:smooth;
}

body{

font-family:'Outfit',sans-serif;

background:var(--light);

color:var(--text);

overflow-x:hidden;
}

img,
video{
display:block;
max-width:100%;
}

a{
text-decoration:none;
}

/* ==========================================
HEADER
========================================== */

.main-header{

position:fixed;

top:0;
left:0;

width:100%;

z-index:1000;

background:
rgba(8,17,31,.88);

backdrop-filter:blur(16px);

border-bottom:
1px solid rgba(255,255,255,.08);

transition:var(--transition);
}

.nav-container{

max-width:1280px;

margin:auto;

padding:16px 30px;

display:flex;

align-items:center;

justify-content:space-between;
}

/* LOGO */

.logo-area{

display:flex;

align-items:center;

gap:14px;

color:white;
}

.logo-area img{

width:60px;
height:60px;

object-fit:cover;

border-radius:14px;
}

.logo-text h2{

font-size:1.5rem;

font-weight:700;

margin-bottom:4px;
}

.logo-text span{

font-size:.82rem;

opacity:.8;
}

/* NAVIGATION */

.nav-menu{

display:flex;

align-items:center;

gap:30px;
}

.nav-menu a{

color:white;

font-weight:500;

transition:var(--transition);
}

.nav-menu a:hover{

color:var(--secondary);
}

.portal-btn{

background:var(--secondary);

padding:12px 20px;

border-radius:12px;

font-weight:600;
}

.portal-btn:hover{

background:white;

color:var(--primary);
}

/* HAMBURGER */

.menu-toggle{

display:none;

background:none;

border:none;

color:white;

font-size:1.8rem;

cursor:pointer;
}

/* ==========================================
HERO SECTION
========================================== */

.hero-section{

position:relative;

height:100vh;

overflow:hidden;
}

.hero-video{

width:100%;
height:100%;

object-fit:cover;
}

.hero-overlay{

position:absolute;

inset:0;

background:
linear-gradient(
135deg,
rgba(8,17,31,.85),
rgba(8,17,31,.55)
);
}

.hero-content{

position:absolute;

top:50%;
left:40%;

transform:
translate(-50%,-50%);

text-align:left;

width:92%;

max-width:950px;

color:white;
}

/* HERO BADGE */

.hero-badge{

display:inline-flex;

align-items:center;

gap:10px;

padding:12px 22px;

background:
rgba(255,255,255,.12);

border:
1px solid rgba(255,255,255,.15);

backdrop-filter:blur(12px);

border-radius:50px;

font-size:.95rem;

font-weight:600;

margin-bottom:28px;
}

/* HERO TITLE */

.hero-content h1{

font-size:2.5rem;

font-weight:300;

line-height:1.08;

letter-spacing:-2px;

margin-bottom:25px;
}

/* HERO DESCRIPTION */

.hero-content p{

font-size:1.12rem;

line-height:1.9;

color:
rgba(255,255,255,.92);

max-width:760px;

margin:0 auto 40px;
}

/* BUTTONS */

.hero-buttons{

display:flex;

justify-content:center;

gap:18px;

flex-wrap:wrap;
}

.primary-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:18px 34px;

background:var(--secondary);

color:white;

font-weight:700;

border-radius:14px;

transition:var(--transition);
}

.primary-btn:hover{

transform:
translateY(-4px);

box-shadow:
0 12px 30px rgba(0,174,239,.35);
}

.secondary-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:18px 34px;

border-radius:14px;

border:
1px solid rgba(255,255,255,.2);

background:
rgba(255,255,255,.05);

backdrop-filter:blur(10px);

color:white;

transition:var(--transition);
}

.secondary-btn:hover{

background:white;

color:var(--primary);
}

/*=ADMISSION BANNER=*/

.admission-banner{

position:relative;

margin-top:-70px;

padding:0 20px;

z-index:50;
}

.admission-container{

max-width:1250px;

margin:auto;

background:
linear-gradient(
135deg,
var(--primary),
#0E58D5
);

padding:45px 50px;

border-radius:24px;

display:flex;

align-items:center;

justify-content:space-between;

gap:30px;

box-shadow:
0 25px 60px rgba(11,61,145,.18);
}

.admission-text span{

display:inline-block;

padding:8px 18px;

background:
rgba(255,255,255,.15);

border-radius:50px;

font-size:.85rem;

letter-spacing:1px;

color:white;

margin-bottom:15px;
}

.admission-text h2{

font-size:2.2rem;

color:white;

margin-bottom:12px;
}

.admission-text p{

color:
rgba(255,255,255,.92);
}

.admission-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:18px 28px;

background:white;

color:var(--primary);

font-weight:700;

border-radius:14px;

transition:var(--transition);
}

.admission-btn:hover{

transform:
translateY(-4px);
}

/*=STATS=*/

.stats-section{

position:relative;

margin-top:-40px;

z-index:20;
}

.stats-grid{

max-width:1280px;

margin:auto;

padding:0 20px;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));

gap:25px;
}

.stat-card{

background:white;

padding:40px 30px;

border-radius:20px;

text-align:center;

box-shadow:
0 10px 35px rgba(11,61,145,.08);

transition:.35s ease;

border-top:4px solid var(--secondary);
}

.stat-card:hover{

transform:
translateY(-8px);
}

.stat-card h2{

font-size:3rem;

font-weight:800;

color:var(--primary);

margin-bottom:10px;
}

.stat-card p{

color:var(--text-light);

font-weight:500;
}

/*=SECTION HEADINGS= */

section{

padding:100px 20px;
}

.section-heading{

text-align:center;

max-width:850px;

margin:0 auto 70px;
}

.section-heading span{

display:inline-block;

color:var(--secondary);

font-weight:700;

letter-spacing:2px;

margin-bottom:12px;
}

.section-heading h2{

font-size:1.8rem;

font-weight:800;

line-height:1.15;

margin-bottom:18px;
}

.section-heading p{

font-size:1.05rem;

color:var(--text-light);

line-height:1.8;
}

/*=STUDENT JOURNEY=*/

.journey-section{

max-width:1400px;

margin:auto;

padding:120px 20px;

display:grid;

grid-template-columns:1fr 1.2fr;

gap:60px;

align-items:center;
}

.journey-content h2{

font-size:2.5rem;

line-height:1.1;

font-weight:700;

margin:15px 0 25px;

color:var(--primary);
}

.journey-content p{

font-size:1.5rem;

line-height:1.9;

color:var(--text-light);

margin-bottom:30px;
}

.journey-btn{

display:inline-block;

padding:18px 35px;

background:var(--primary);

color:white;

border-radius:50px;

font-weight:700;
}

.journey-timeline{

position:relative;

height:600px;
}

.journey-timeline::before{

content:"";

position:absolute;

width:100%;
height:100%;

background:
url('path.svg') center center no-repeat;

background-size:contain;
}

.journey-point{

position:absolute;

text-align:center;
}

.journey-point img{

width:130px;
height:130px;

object-fit:cover;

border-radius:50%;

border:5px solid white;

box-shadow:
0 10px 30px rgba(0,0,0,.12);
}

.journey-point span{

display:block;

margin-top:10px;

font-weight:700;
}

.point1{
left:0;
bottom:0;
}

.point2{
left:18%;
top:60%;
}

.point3{
left:38%;
bottom:15%;
}

.point4{
left:58%;
top:45%;
}

.point5{
left:78%;
top:30%;
}

.point6{
right:0;
top:0;
}

/*=ROYAL PRESCHOLAR EXPERIENCE= */

.experience-section{

padding:120px 0;

background:#08111F;

overflow:hidden;
}

.experience-header{

max-width:900px;

margin:auto;

text-align:center;

padding:0 20px 70px;
}

.experience-header span{

display:inline-block;

color:#00AEEF;

font-weight:700;

letter-spacing:2px;

margin-bottom:15px;
}

.experience-header h2{

font-size:3.5rem;

line-height:1.15;

font-weight:800;

color:white;

margin-bottom:25px;
}

.experience-header p{

font-size:1.1rem;

line-height:1.9;

color:rgba(255,255,255,.75);

max-width:750px;

margin:auto;
}

/* SCROLL AREA */

.experience-wrapper{

overflow-x:auto;

scroll-behavior:smooth;

padding-bottom:20px;
}

.experience-wrapper::-webkit-scrollbar{

height:8px;
}

.experience-wrapper::-webkit-scrollbar-thumb{

background:#00AEEF;

border-radius:20px;
}

.experience-track{

display:flex;

gap:30px;

padding:0 50px;

width:max-content;
}

/* CARD */

.experience-card{

width:380px;

background:white;

border-radius:24px;

overflow:hidden;

flex-shrink:0;

box-shadow:
0 20px 60px rgba(0,0,0,.15);

transition:.4s ease;
}

.experience-card:hover{

transform:
translateY(-10px);
}

.experience-image{

height:260px;

overflow:hidden;
}

.experience-image img{

width:100%;

height:100%;

object-fit:cover;

transition:.5s ease;
}

.experience-card:hover img{

transform:scale(1.08);
}

.experience-card h3{

font-size:1.6rem;

color:#0B3D91;

padding:25px 25px 10px;
}

.experience-card p{

padding:0 25px 30px;

line-height:1.8;

color:#64748B;
}

/*=ABOUT SECTION=*/

.about-grid{

max-width:1280px;

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));

gap:30px;
}

.about-card{

background:white;

padding:45px 35px;

border-radius:20px;

box-shadow:
0 10px 35px rgba(11,61,145,.06);

transition:.35s ease;

border:1px solid #eef3f8;
}

.about-card:hover{

transform:
translateY(-8px);

box-shadow:
0 20px 50px rgba(11,61,145,.10);
}

.about-card i{

font-size:3rem;

color:var(--secondary);

margin-bottom:20px;
}

.about-card h3{

font-size:1.5rem;

margin-bottom:15px;

color:var(--primary);
}

.about-card p{

color:var(--text-light);

line-height:1.8;
}

.about-card-link{

display:block;

text-decoration:none;

color:inherit;
}

/* ==========================================
SHOWCASE
========================================== */

.showcase-grid{

max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(350px,1fr));

gap:25px;
}

.showcase-grid img{

height:450px;

width:100%;

object-fit:cover;

border-radius:22px;

transition:.5s ease;
}

.showcase-grid img:hover{

transform:scale(1.04);
}

/* ==========================================
ACTIVITIES
========================================== */

.activities-section{

background:white;
}

.activities-grid{

max-width:1280px;

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));

gap:25px;
}

.activity-card{

background:white;

padding:45px 30px;

border-radius:20px;

box-shadow:
0 10px 35px rgba(11,61,145,.06);

transition:.35s ease;

text-align:center;
}

.activity-card:hover{

transform:
translateY(-8px);
}

.activity-card i{

font-size:3rem;

color:var(--secondary);

margin-bottom:20px;
}

.activity-card h3{

font-size:1.4rem;

margin-bottom:15px;

color:var(--primary);
}

.activity-card p{

color:var(--text-light);

line-height:1.8;
}

/* ==========================================
NEWS
========================================== */

.news-section{

background:#f8fbff;
}

.news-grid{

max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(340px,1fr));

gap:30px;
}

.news-card{

background:white;

overflow:hidden;

border-radius:22px;

box-shadow:
0 10px 35px rgba(11,61,145,.08);

transition:.35s ease;
}

.news-card:hover{

transform:
translateY(-8px);
}

.news-card img{

width:100%;

height:260px;

object-fit:cover;
}

.news-content{

padding:30px;
}

.news-content span{

display:inline-block;

color:var(--secondary);

font-weight:700;

margin-bottom:12px;
}

.news-content h3{

font-size:1.5rem;

margin-bottom:15px;

color:var(--primary);
}

.news-content p{

color:var(--text-light);

line-height:1.8;
}

/* ==========================================
FACILITIES
========================================== */

.facilities-grid{

max-width:1280px;

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));

gap:25px;
}

.facility-card{

background:white;

padding:40px 30px;

border-radius:20px;

text-align:center;

box-shadow:
0 10px 35px rgba(11,61,145,.06);

transition:.35s ease;
}

.facility-card:hover{

transform:
translateY(-8px);

box-shadow:
0 20px 50px rgba(11,61,145,.10);
}

.facility-card i{

font-size:3rem;

color:var(--secondary);

margin-bottom:20px;
}

.facility-card h3{

margin-bottom:12px;

color:var(--primary);
}

.facility-card p{

color:var(--text-light);
}

/* ==========================================
TESTIMONIALS
========================================== */

.testimonial-section{

background:#f8fbff;
}

.testimonial-grid{

max-width:1280px;

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));

gap:25px;
}

.testimonial-card{

background:white;

padding:35px;

border-radius:20px;

box-shadow:
0 10px 35px rgba(11,61,145,.06);

position:relative;
}

.testimonial-card::before{

content:"★★★★★";

display:block;

color:#F4B400;

font-size:1.1rem;

margin-bottom:18px;
}

.testimonial-card p{

line-height:1.9;

color:var(--text-light);

margin-bottom:20px;
}

.testimonial-card h4{

color:var(--primary);
}

/* ==========================================
LEADERSHIP TEAM
========================================== */

.team-grid{

max-width:1200px;

margin:auto;

display:grid;

gap:35px;
}

.team-card{

background:white;

border-radius:24px;

overflow:hidden;

box-shadow:
0 10px 35px rgba(11,61,145,.08);

display:grid;

grid-template-columns:
350px 1fr;

gap:35px;

align-items:center;

padding:30px;
}

.team-image img{

width:100%;

height:100%;

object-fit:cover;

border-radius:18px;
}

.team-content span{

color:var(--secondary);

font-weight:700;

letter-spacing:1px;
}

.team-content h3{

font-size:2rem;

margin:15px 0;
}

.team-content p{

line-height:1.9;

color:var(--text-light);
}

/* ==========================================
FINAL CTA
========================================== */

.cta-section{

background:
linear-gradient(
135deg,
#08111F,
#0B3D91
);

color:white;

text-align:center;

padding:120px 20px;
}

.cta-content{

max-width:850px;

margin:auto;
}

.cta-content h2{

font-size:3.5rem;

font-weight:800;

margin-bottom:20px;
}

.cta-content p{

font-size:1.15rem;

line-height:1.9;

margin-bottom:35px;

opacity:.9;
}

/* ==========================================
FOOTER
========================================== */

.footer{

background:#050C17;

color:white;

padding:90px 20px 40px;
}

.footer-grid{

max-width:1280px;

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));

gap:40px;
}

.footer h3{

margin-bottom:20px;

color:white;
}

.footer p{

color:#cbd5e1;

line-height:1.9;
}

.footer a{

display:block;

color:#cbd5e1;

margin-bottom:12px;

transition:.3s;
}

.footer a:hover{

color:var(--secondary);
}

.footer-bottom{

margin-top:50px;

padding-top:25px;

border-top:
1px solid rgba(255,255,255,.08);

text-align:center;

color:#94a3b8;
}

.footer-column a{

display:flex;

align-items:center;

gap:12px;

margin-bottom:15px;

color:#cbd5e1;

text-decoration:none;

transition:.3s ease;
}

.footer-column a:hover{

color:var(--secondary);

transform:translateX(5px);
}

.footer-column i{

width:20px;

font-size:1rem;
}

/* ==========================================
WHATSAPP FLOAT
========================================== */

.whatsapp-float{

position:fixed;

bottom:25px;

right:25px;

width:65px;
height:65px;

background:#25D366;

border-radius:50%;

display:flex;

align-items:center;
justify-content:center;

font-size:2rem;

color:white;

box-shadow:
0 15px 40px rgba(0,0,0,.2);

z-index:9999;

transition:.3s ease;
}

.whatsapp-float:hover{

transform:
scale(1.08);
}

@media(max-width:900px){

.team-card{

grid-template-columns:1fr;
}
}

@media(max-width:768px){

.section-heading h2{

font-size:1.5rem;
}

.showcase-grid{

grid-template-columns:1fr;
}

.showcase-grid img{

height:280px;
}

.news-grid{

grid-template-columns:1fr;
}

}

/* ==========================================
TABLET
========================================== */

@media(max-width:992px){

.hero-content h1{

font-size:3.4rem;
}

.admission-container{

flex-direction:column;

text-align:center;
}

}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
}

/* ==========================================
MOBILE
========================================== */

@media(max-width:900px){

.menu-toggle{
display:block;
}

.nav-menu{

position:fixed;

top:90px;
left:-100%;

width:100%;

height:calc(100vh - 90px);

background:
rgba(8,17,31,.98);

flex-direction:column;

align-items:flex-start;

padding:40px 30px;

gap:25px;

transition:.4s ease;
}

.nav-menu.active{

left:0;
}

.nav-menu a{

width:100%;

padding-bottom:15px;

border-bottom:
1px solid rgba(255,255,255,.08);
}

.hero-content h1{

font-size:3rem;
}
}

@media(max-width:768px){

.hero-section{

height:85vh;
}

.hero-content h1{

font-size:2.3rem;

letter-spacing:-1px;
}

.hero-content p{

font-size:1rem;
}

.hero-buttons{

flex-direction:column;
}

.primary-btn,
.secondary-btn{

width:100%;

max-width:320px;
}

.admission-container{

padding:35px 25px;
}

.admission-text h2{

font-size:1.6rem;
}
}

@media(max-width:768px){

.journey-section{

grid-template-columns:1fr;

gap:40px;
}

.journey-content h2{

font-size:2.2rem;
}

.journey-timeline{

height:500px;
}

}

@media(max-width:768px){

.experience-card{

width:300px;
}

}

@media(max-width:768px){

.hero-content{

left:50%;

text-align:center;
}

.hero-buttons{

justify-content:center;
}

}