/*=========================================
        PH INTERNATIONAL SCHOOL
        PREMIUM CSS - PART 1
=========================================*/

@import url('variables.css');
@import url('header.css');
@import url('hero.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fc;
    color:#222;
    overflow-x:hidden;
    line-height:1.7;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

/*============================
        TOP BAR
=============================*/

.top-bar{

    background:#8B0000;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.top-bar i{
    margin-right:6px;
}

.social-icons a{

    color:#fff;
    margin-left:15px;
    transition:.3s;
}

.social-icons a:hover{

    color:#FFD700;
}


/*============================
      PREMIUM NAVBAR
=============================*/

.premium-navbar{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;

    background:rgba(0,0,0,.75);
    backdrop-filter:blur(15px);

    transition:.4s;

    padding:15px 0;

}

.premium-navbar.scrolled{

    background:#111;
    padding:10px 0;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

}

.logo{

    width:60px;
    height:60px;
    object-fit:contain;

}

.school-title{

    margin-left:12px;

}

.school-title h5{

    color:#fff;
    margin:0;

    font-size:22px;
    font-weight:700;
    line-height:1.2;

}

.school-title span{

    color:#FFD700;
    font-size:13px;

}

.navbar-nav .nav-link{

    color:#fff !important;

    font-size:16px;
    font-weight:600;

    margin-left:18px;

    position:relative;

    transition:.4s;

}

.navbar-nav .nav-link:hover{

    color:#FFD700 !important;

}

.navbar-nav .nav-link::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-5px;

    width:0;

    height:2px;

    background:#FFD700;

    transition:.4s;

}

.navbar-nav .nav-link:hover::after{

    width:100%;

}

.admission-btn{

    background:#ff1744;

    color:#fff;

    padding:11px 24px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.admission-btn:hover{

    background:#FFD700;

    color:#000;

}


/*============================
        HERO SLIDER
=============================*/

.hero-slider{

    margin-top:92px;

}

.hero-slider .carousel-item{

    position:relative;

}

.hero-slider img{

    width:100%;
    height:100vh;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
    90deg,
    rgba(0,0,0,.72),
    rgba(0,0,0,.25));

    z-index:1;

}

.carousel-caption{

    position:absolute;

    left:8%;
    right:auto;

    bottom:16%;

    z-index:5;

    text-align:left;

    max-width:700px;

}

.carousel-caption h5{

    letter-spacing:5px;

    color:#fff;

    margin-bottom:18px;

    font-size:18px;

    font-weight:500;

}

.carousel-caption h1{

    color:#fff;

    font-size:78px;

    line-height:1.05;

    font-weight:800;

}

.carousel-caption h1 span{

    color:#FFD700;

}

.carousel-caption p{

    color:#fff;

    font-size:24px;

    margin:25px 0 35px;

}

.hero-btns{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.hero-red{

    background:#ff1744;

    color:#fff;

    padding:14px 36px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.hero-red:hover{

    background:#d5002f;

    color:#fff;

    transform:translateY(-3px);

}

.hero-white{

    background:#fff;

    color:#111;

    padding:14px 36px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.hero-white:hover{

    background:#f3f3f3;

    color:#000;

    transform:translateY(-3px);

}

.carousel-control-next,
.carousel-control-prev{

    width:7%;

}

/*============================
      SECTION TITLE
=============================*/

.section-title{

    text-align:center;

    font-size:42px;

    font-weight:700;

    margin-bottom:50px;

    position:relative;

}

.section-title::after{

    content:"";

    width:90px;

    height:4px;

    background:#ff1744;

    display:block;

    margin:15px auto;

    border-radius:20px;

}
/*=========================================
      PREMIUM CSS - PART 2
      ABOUT + FEATURES + FACILITIES
=========================================*/

/* SECTION */

.section-padding{
    padding:90px 0;
}

/* ABOUT */

.about-section{
    background:#fff;
}

.about-img{
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.about-img img{
    width:100%;
    transition:.5s;
}

.about-img:hover img{
    transform:scale(1.08);
}

.about-content h6{
    color:#ff1744;
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:10px;
}

.about-content h2{
    font-size:44px;
    font-weight:700;
    margin-bottom:20px;
}

.about-content p{
    color:#666;
    font-size:16px;
    line-height:1.9;
    margin-bottom:18px;
}

.about-btn{
    display:inline-block;
    background:#ff1744;
    color:#fff;
    padding:14px 34px;
    border-radius:40px;
    transition:.3s;
    font-weight:600;
}

.about-btn:hover{
    background:#c4002c;
    color:#fff;
}

/* PRINCIPAL */

.principal-box{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.principal-box:hover{

    transform:translateY(-8px);

}

.principal-img img{

    width:100%;

}

.principal-content{

    padding:30px;

}

.principal-content h3{

    font-weight:700;

    margin-bottom:10px;

}

.principal-content span{

    color:#ff1744;

    font-weight:600;

}

.principal-content p{

    color:#666;

    margin-top:20px;

    line-height:1.9;

}

/* FEATURES */

.feature-box{

    background:#fff;

    padding:35px;

    border-radius:20px;

    text-align:center;

    transition:.35s;

    box-shadow:0 15px 35px rgba(0,0,0,.06);

    height:100%;

}

.feature-box:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 40px rgba(0,0,0,.12);

}

.feature-icon{

    width:85px;

    height:85px;

    margin:auto;

    border-radius:50%;

    background:#ff1744;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:32px;

    margin-bottom:25px;

}

.feature-box h4{

    font-weight:700;

    margin-bottom:15px;

}

.feature-box p{

    color:#666;

}

/* FACILITIES */

.facility-card{
transition:.4s;
border-radius:15px;
overflow:hidden;
}

.facility-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.gallery-item{
overflow:hidden;
border-radius:15px;
}

.gallery-item img{
transition:.5s;
width:100%;
height:260px;
object-fit:cover;
}

.gallery-item:hover img{
transform:scale(1.08);
}
/* NOTICE */

.notice-card{

    border:none;

    border-radius:18px;

    background:#fff;

    padding:30px;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

    transition:.35s;

    height:100%;

}

.notice-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

.notice-card h5{

    color:#111;

    font-weight:700;

    margin-bottom:15px;

}

.notice-card p{

    color:#666;

    line-height:1.8;

}

/* COUNTER */

.counter-section{

    background:#8B0000;

    padding:80px 0;

    color:#fff;

}

.counter-box{

    text-align:center;

}

.counter-box h2{

    font-size:48px;

    font-weight:700;

}

.counter-box p{

    margin-top:10px;

    font-size:18px;

}

/* BUTTON */

.btn-theme{

    background:#ff1744;

    color:#fff;

    padding:13px 35px;

    border-radius:40px;

    transition:.3s;

}

.btn-theme:hover{

    background:#c4002c;

    color:#fff;

}
/*=========================================
      PREMIUM CSS - PART 3
      GALLERY + CTA + FOOTER
=========================================*/

/* GALLERY */

.gallery-section{
    background:#f8f9fc;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    margin-bottom:30px;
    box-shadow:0 15px 30px rgba(0,0,0,.08);
}

.gallery-item img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.4s;
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}

.gallery-overlay i{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#fff;
    color:#ff1744;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
}

/* TESTIMONIAL */

.testimonial-section{
    background:#fff;
}

.testimonial-card{

    background:#fff;

    padding:35px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.4s;
}

.testimonial-card:hover{

    transform:translateY(-8px);

}

.testimonial-card img{

    width:90px;

    height:90px;

    border-radius:50%;

    margin:auto;

    object-fit:cover;

    margin-bottom:20px;

}

.testimonial-card h4{

    margin-top:15px;

    font-weight:700;

}

.testimonial-card span{

    color:#ff1744;

}

.testimonial-card p{

    color:#666;

    margin-top:15px;

}

/* ADMISSION CTA */

.cta-section{

    background:linear-gradient(135deg,#8B0000,#d5002f);

    color:#fff;

    text-align:center;

    padding:90px 0;

}

.cta-section h2{

    font-size:48px;

    font-weight:700;

}

.cta-section p{

    font-size:20px;

    margin:20px 0 35px;

}

.cta-btn{

    background:#fff;

    color:#8B0000;

    padding:15px 40px;

    border-radius:50px;

    font-weight:700;

    transition:.3s;

}

.cta-btn:hover{

    background:#FFD700;

    color:#111;

}

/* FOOTER */

.footer-premium{

    background:#111;

    color:#fff;

    padding:70px 0 20px;

}

.footer-premium h4{

    font-size:24px;

    font-weight:700;

    margin-bottom:20px;

}

.footer-premium p{

    color:#ccc;

    line-height:1.9;

}

.footer-links{

    list-style:none;

    padding:0;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#ccc;

    transition:.3s;

}

.footer-links a:hover{

    color:#FFD700;

    padding-left:5px;

}

.copyright{

    border-top:1px solid rgba(255,255,255,.08);

    margin-top:40px;

    padding-top:20px;

    text-align:center;

    color:#bbb;

}

.copyright a{

    color:#FFD700;

    font-weight:600;

}

.copyright a:hover{

    color:#fff;

}

/* WHATSAPP */

.whatsapp-float{

    position:fixed;

    right:20px;

    bottom:20px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    z-index:9999;

    transition:.3s;

}

.whatsapp-float:hover{

    transform:scale(1.08);

    color:#fff;

}

/* BACK TO TOP */

#topBtn{

    position:fixed;

    right:20px;

    bottom:95px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#ff1744;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:9998;

    transition:.3s;

}

#topBtn:hover{

    background:#c4002c;

    transform:translateY(-3px);

}
/*=========================================
      PREMIUM CSS - PART 4 (FINAL)
      POPUP + RESPONSIVE + ANIMATIONS
=========================================*/

/* ADMISSION POPUP */

.admission-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.82);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999999;
    animation:fadeIn .35s ease;
}

.popup-box{
    width:95%;
    max-width:720px;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    position:relative;
    box-shadow:0 25px 60px rgba(0,0,0,.45);
    animation:popupScale .45s ease;
}

.popup-box img{
    width:100%;
    display:block;
}

.popup-close{
    position:absolute;
    top:12px;
    right:18px;
    font-size:34px;
    color:#fff;
    cursor:pointer;
    font-weight:bold;
    text-shadow:0 2px 10px rgba(0,0,0,.6);
}

.popup-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    padding:20px;
}

.apply-btn,
.whatsapp-btn{
    padding:14px 28px;
    border-radius:40px;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.apply-btn{
    background:#ff1744;
}

.apply-btn:hover{
    background:#d5002f;
    color:#fff;
}

.whatsapp-btn{
    background:#25D366;
}

.whatsapp-btn:hover{
    background:#1fb858;
    color:#fff;
}

/* LOADER */

.page-loader{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999999;
}

.loader-circle{
    width:60px;
    height:60px;
    border:5px solid #eee;
    border-top:5px solid #ff1744;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

/* SHADOW */

.shadow-lg{
    box-shadow:0 20px 45px rgba(0,0,0,.12)!important;
}

/* RADIUS */

.radius{
    border-radius:20px;
}

/* TRANSITION */

.transition{
    transition:.35s;
}

/* HOVER */

.hover-up:hover{
    transform:translateY(-8px);
}

/* FADE */

.fade-up{
    animation:fadeUp 1s ease;
}

/*==========================
        ANIMATIONS
===========================*/

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

@keyframes popupScale{

    from{

        opacity:0;
        transform:scale(.8);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}

@keyframes spin{

    from{

        transform:rotate(0);

    }

    to{

        transform:rotate(360deg);

    }

}

/*==========================
      MOBILE
===========================*/

@media(max-width:991px){

.logo{

width:50px;
height:50px;

}

.school-title h5{

font-size:17px;

}

.navbar-collapse{

background:#111;
padding:20px;
margin-top:15px;
border-radius:12px;

}

.navbar-nav .nav-link{

margin:10px 0;

}

.carousel-caption{

left:5%;
right:5%;
bottom:10%;

}

.carousel-caption h1{

font-size:48px;

}

.carousel-caption p{

font-size:18px;

}

.hero-btns{

flex-direction:column;

}

.hero-red,
.hero-white{

width:100%;
text-align:center;

}

.section-title{

font-size:34px;

}

.cta-section h2{

font-size:34px;

}

.counter-box{

margin-bottom:30px;

}

}

@media(max-width:768px){

.hero-slider img{

height:75vh;

}

.carousel-caption h5{

font-size:14px;
letter-spacing:2px;

}

.carousel-caption h1{

font-size:36px;

}

.carousel-caption p{

font-size:16px;

}

.about-content h2{

font-size:30px;

}

.feature-box,
.notice-card,
.facility-card,
.testimonial-card{

margin-bottom:25px;

}

.footer-premium{

text-align:center;

}

.footer-links{

margin-top:20px;

}

.popup-buttons{

flex-direction:column;

}

.apply-btn,
.whatsapp-btn{

width:100%;

}

}

@media(max-width:576px){

.logo{

width:42px;
height:42px;

}

.school-title h5{

font-size:15px;

}

.carousel-caption{

bottom:8%;

}

.carousel-caption h1{

font-size:28px;

}

.carousel-caption p{

font-size:14px;

}

.hero-red,
.hero-white{

padding:12px 18px;

}

.section-padding{

padding:60px 0;

}

.section-title{

font-size:28px;

}

.about-content p{

font-size:15px;

}

}
/* Floating WhatsApp */

.whatsapp-float{

position:fixed;

right:20px;

bottom:90px;

width:60px;

height:60px;

background:#25D366;

color:#fff;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

font-size:28px;

text-decoration:none;

box-shadow:0 10px 25px rgba(0,0,0,.25);

z-index:999;

transition:.3s;

}

.whatsapp-float:hover{

transform:scale(1.1);

color:#fff;

}



/* Back To Top */

#backToTop{

position:fixed;

right:20px;

bottom:20px;

width:50px;

height:50px;

border:none;

border-radius:50%;

background:#0d6efd;

color:#fff;

display:none;

font-size:20px;

cursor:pointer;

z-index:999;

box-shadow:0 10px 25px rgba(0,0,0,.2);

transition:.3s;

}

#backToTop:hover{

transform:translateY(-5px);

background:#084298;

}
.page-banner{
position:relative;
background-size:cover !important;
background-position:center !important;
}

.page-banner::before{
content:'';
position:absolute;
inset:0;
background:rgba(0,0,0,.55);
}

.page-banner .container{
position:relative;
z-index:2;
}

.card{
border-radius:18px;
}

.form-control{
padding:12px;
border-radius:10px;
}

.form-control:focus{
box-shadow:none;
border-color:#0d6efd;
}
/* Gallery */

.gallery-image{

width:100%;

height:280px;

object-fit:cover;

transition:.5s;

border-radius:15px;

}

.gallery-item{

overflow:hidden;

}

.gallery-item:hover .gallery-image{

transform:scale(1.08);

}

.filter-btn{

margin:5px;

border-radius:30px;

padding:10px 25px;

}

.filter-btn.active{

background:#0d6efd;

color:#fff;

}
.form-control,
.form-select{

padding:12px;

border-radius:10px;

}

.card{

border-radius:20px;

}

label{

font-weight:600;

margin-bottom:6px;

}

.btn-primary{

padding:12px 35px;

font-weight:600;

}

.btn-primary:hover{

transform:translateY(-2px);

transition:.3s;

}
/*==========================
      END CSS
===========================*/