/* ===========================================================
   HOME PAGE
   Green Buds School & College
===========================================================*/

/* ==========================================
   HERO SECTION
========================================== */

.hero-section{

    position:relative;

    width:100%;

    height: 420px;

    margin:0;

    padding:0;

    overflow:hidden;

    background:url("../images/school.jpg") center center/cover no-repeat;

}

.hero-overlay{

    width:100%;

    height:100%;

    display:flex;

    align-items:center;

    background:transparent;

}

.hero-wrapper{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:60px;

    align-items:center;

}

/* ==========================================
   HERO LEFT
========================================== */

.hero-content{

    margin-top:0;

    padding-top:0;

}

.hero-tag{

    display:inline-block;

    background:#15a34a;

    padding:10px 24px;

    border-radius:40px;

    font-size:15px;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:25px;

}

.hero-content h1{

    font-size:68px;

    line-height:1.2;

    font-weight:800;

    margin-bottom:20px;

}

.hero-content h1 span{

    color:#007527;

}

.hero-content p{

    font-size:22px;

    line-height:1.8;

    margin-bottom:40px;

    max-width:650px;

}

/* ==========================================
   HERO BUTTONS
========================================== */

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn-primary{

    display:inline-block;

    background:#16a34a;

    color:#fff;

    padding:16px 35px;

    border-radius:8px;

    font-weight:700;

    transition:.35s;

}

.btn-primary:hover{

    background:#0b8f4d;

    transform:translateY(-4px);

}

.btn-secondary{

    display:inline-block;

    border:2px solid #fff;

    color:#fff;

    padding:16px 35px;

    border-radius:8px;

    transition:.35s;

}

.btn-secondary:hover{

    background:#fff;

    color:#0b8f4d;

}

.btn-contact{
    display:inline-flex;
    align-items:center;
    gap:10px;

    background:#0B8F4D;
    color:#fff;

    padding:16px 35px;

    border-radius:8px;

    font-weight:700;
    text-decoration:none;

    transition:.35s;
}

.btn-contact:hover{
    background:#08713D;
    transform:translateY(-4px);
}

/* ==========================================
   HERO NOTICE BOX
========================================== */

.hero-notice{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.25);

}

.hero-notice-header{

    background:#0b8f4d;

    color:#fff;

    padding:18px 25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.hero-notice-header h3{

    font-size:22px;

}

.hero-notice-header a{

    color:#fff;

    font-size:15px;

}

.hero-notice-body{

    max-height:480px;

    overflow-y:auto;

}

/* Firebase Notice */

.hero-notice-item{

    padding:18px 22px;

    border-bottom:1px solid #eee;

    transition:.3s;

}

.hero-notice-item:hover{

    background:#f7fff9;

}

.hero-notice-item h4{

    color:#0b8f4d;

    margin-bottom:8px;

    font-size:18px;

}

.hero-notice-item p{

    color:#666;

    line-height:1.6;

    font-size:15px;

}

.hero-notice-item small{

    color:#999;

    display:block;

    margin-top:10px;

}

.hero-buttons{
    display:flex;
    gap:20px;
    align-items:center;
    flex-wrap:wrap;
}

/* ==========================================
   BREAKING NEWS
========================================== */

.breaking-news{
    margin-top:0;
    padding:0;

    display:flex;
    align-items:center;

    border:1px solid #ddd;
}


.breaking-title{
    background:#d63031;
    color:#fff;

    padding:16px 25px;

    font-weight:700;

    white-space:nowrap;
}


.notice-slider{

    flex:1;

    overflow:hidden;

}

.notice-track{

    height:56px;

    display:flex;

    align-items:center;

    white-space:nowrap;

    padding-left:30px;

    animation:marquee 20s linear infinite;

}

@keyframes marquee{

0%{

transform:translateX(100%);

}

100%{

transform:translateX(-100%);

}

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

.hero-wrapper{

grid-template-columns:1fr;

}

.hero-content{

text-align:center;

}

.hero-content p{

margin:auto auto 35px;

}

.hero-buttons{

justify-content:center;

}

.hero-content h1{

font-size:48px;

}

}

@media(max-width:768px){

.hero-section{

min-height:auto;

}

.hero-overlay{

padding:80px 0;

}

.hero-content h1{

font-size:36px;

}

.hero-content p{

font-size:18px;

}

.hero-notice{

margin-top:40px;

}

.breaking-title{

padding:0 18px;

font-size:14px;

}

}

/* ===========================================================
   ABOUT SECTION
=========================================================== */

.about-school{

    padding:90px 0;

    background:#ffffff;

}

.about-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image{

    position:relative;

}

.about-image img{

    width:100%;

    border-radius:18px;

    box-shadow:0 20px 50px rgba(0,0,0,.12);

    transition:.4s;

}

.about-image img:hover{

    transform:scale(1.02);

}

.about-subtitle{

    display:inline-block;

    color:#0b8f4d;

    font-size:14px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

    margin-bottom:15px;

}

.about-text h2{

    font-size:42px;

    line-height:1.3;

    color:#222;

    margin-bottom:20px;

}

.about-text p{

    color:#666;

    font-size:17px;

    line-height:1.9;

    margin-bottom:35px;

}

/* ===========================================================
   FEATURE CARDS
=========================================================== */

.about-features{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-bottom:35px;

}

.feature-card{

    background:#f8faf9;

    border-radius:15px;

    padding:25px;

    transition:.35s;

    border-top:4px solid #0b8f4d;

    box-shadow:0 8px 18px rgba(0,0,0,.05);

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

.feature-card h4{

    color:#0b8f4d;

    font-size:20px;

    margin-bottom:12px;

}

.feature-card p{

    margin:0;

    color:#666;

    line-height:1.7;

    font-size:15px;

}

/* ===========================================================
   PRINCIPAL SECTION
=========================================================== */

.principal-section{

    padding:90px 0;

    background:#f7faf8;

}

.principal-container{

    display:grid;

    grid-template-columns:340px 1fr;

    gap:70px;

    align-items:center;

}

.principal-image{

    text-align:center;

}

.principal-image img{

    width:100%;

    border-radius:18px;

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.principal-content h2{

    font-size:40px;

    color:#222;

    margin:18px 0;

}

.principal-content p{

    color:#555;

    line-height:2;

    font-size:17px;

    text-align:justify;

    margin-bottom:35px;

}

/* ===========================================================
   COMMON SECTION HEADER
=========================================================== */

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:45px;

}

.section-header h2{

    font-size:38px;

    color:#222;

    position:relative;

}

.section-header h2::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-10px;

    width:80px;

    height:4px;

    background:#0b8f4d;

    border-radius:30px;

}

.section-header a{

    color:#0b8f4d;

    font-weight:700;

    transition:.3s;

}

.section-header a:hover{

    color:#08713d;

}

/* Center Header */

.section-header.center{

    flex-direction:column;

    text-align:center;

}

.section-header.center h2::after{

    left:50%;

    transform:translateX(-50%);

}

.section-header.center p{

    max-width:700px;

    margin-top:25px;

    color:#666;

    line-height:1.8;

}

/* ===========================================================
   COMMON BUTTON
=========================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 34px;

    border-radius:8px;

    font-weight:700;

    transition:.35s;

}

.btn-primary{

    background:#0b8f4d;

    color:#fff;

}

.btn-primary:hover{

    background:#08713d;

    transform:translateY(-4px);

}

.btn-outline{

    border:2px solid #0b8f4d;

    color:#0b8f4d;

    background:#fff;

}

.btn-outline:hover{

    background:#0b8f4d;

    color:#fff;

}

/* ===========================================================
   SCROLL ANIMATION
=========================================================== */

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:all .7s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}

/* ===========================================================
   RESPONSIVE
=========================================================== */

@media(max-width:992px){

.about-container{

grid-template-columns:1fr;

}

.principal-container{

grid-template-columns:1fr;

text-align:center;

}

.principal-content p{

text-align:left;

}

.about-features{

grid-template-columns:1fr;

}

.section-header{

flex-direction:column;

gap:15px;

text-align:center;

}

.section-header h2::after{

left:50%;

transform:translateX(-50%);

}

}

@media(max-width:768px){

.about-school,

.principal-section{

padding:60px 0;

}

.about-text h2,

.principal-content h2{

font-size:30px;

}

.about-text p,

.principal-content p{

font-size:16px;

}

}

/* ===========================================================
   NOTICE SECTION
=========================================================== */

.notice-section{

    padding:90px 0;

    background:#ffffff;

}

.notice-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));

    gap:28px;

}

/* ==========================================
   NOTICE CARD
========================================== */

.notice-card{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

    border-top:5px solid #0b8f4d;

}

.notice-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.notice-header{

    padding:22px;

    border-bottom:1px solid #eee;

}

.notice-header h3{

    color:#0b8f4d;

    font-size:22px;

    margin-bottom:10px;

    line-height:1.4;

}

.notice-date{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-size:14px;

    color:#888;

}

.notice-body{

    padding:22px;

}

.notice-body p{

    color:#555;

    line-height:1.8;

    font-size:16px;

}

.notice-footer{

    padding:20px 22px;

    border-top:1px solid #eee;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.notice-footer a{

    color:#0b8f4d;

    font-weight:700;

    transition:.3s;

}

.notice-footer a:hover{

    color:#08713d;

}

/* ===========================================================
   GALLERY SECTION
=========================================================== */

.gallery-section{

    padding:90px 0;

    background:#f7faf8;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:22px;

}

/* ==========================================
   GALLERY CARD
========================================== */

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:16px;

    cursor:pointer;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.gallery-item img{

    width:100%;

    height:250px;

    object-fit:cover;

    transition:.5s;

}

.gallery-item:hover img{

    transform:scale(1.12);

}

/* ==========================================
   GALLERY OVERLAY
========================================== */

.gallery-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(0,0,0,.05),

        rgba(0,0,0,.75)

    );

    display:flex;

    justify-content:flex-end;

    flex-direction:column;

    padding:25px;

    color:#fff;

    opacity:0;

    transition:.35s;

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}

.gallery-overlay h4{

    font-size:22px;

    margin-bottom:8px;

}

.gallery-overlay p{

    font-size:15px;

    line-height:1.6;

}

/* ==========================================
   GALLERY ICON
========================================== */

.gallery-icon{

    position:absolute;

    top:18px;

    right:18px;

    width:48px;

    height:48px;

    border-radius:50%;

    background:#0b8f4d;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:22px;

    transform:scale(0);

    transition:.35s;

}

.gallery-item:hover .gallery-icon{

    transform:scale(1);

}

/* ===========================================================
   IMAGE MODAL
=========================================================== */

.gallery-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.90);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.gallery-modal.active{

    display:flex;

}

.gallery-modal img{

    max-width:90%;

    max-height:90%;

    border-radius:12px;

}

.gallery-close{

    position:absolute;

    top:35px;

    right:40px;

    color:#fff;

    font-size:40px;

    cursor:pointer;

}

/* ===========================================================
   COMMON HOVER EFFECT
=========================================================== */

.hover-lift{

    transition:.35s;

}

.hover-lift:hover{

    transform:translateY(-10px);

}

/* ===========================================================
   ANIMATION
=========================================================== */

.zoom-in{

    animation:zoomIn .6s ease;

}

@keyframes zoomIn{

0%{

opacity:0;

transform:scale(.9);

}

100%{

opacity:1;

transform:scale(1);

}

}

/* ===========================================================
   RESPONSIVE
=========================================================== */

@media(max-width:992px){

.notice-grid{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.notice-section,

.gallery-section{

padding:60px 0;

}

.gallery-grid{

grid-template-columns:1fr;

}

.notice-header h3{

font-size:20px;

}

.gallery-item img{

height:220px;

}

.gallery-close{

top:20px;

right:20px;

font-size:32px;

}

}

/* ===========================================================
   UPCOMING EVENTS
=========================================================== */

.event-section{

    padding:90px 0;

    background:#ffffff;

}

.event-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));

    gap:30px;

}

.event-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.event-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.event-image{

    position:relative;

    overflow:hidden;

}

.event-image img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.45s;

}

.event-card:hover img{

    transform:scale(1.08);

}

.event-date{

    position:absolute;

    top:20px;

    left:20px;

    background:#0b8f4d;

    color:#fff;

    padding:10px 18px;

    border-radius:10px;

    font-weight:700;

    font-size:14px;

}

.event-content{

    padding:25px;

}

.event-content h3{

    color:#222;

    font-size:24px;

    margin-bottom:15px;

}

.event-content p{

    color:#666;

    line-height:1.8;

    margin-bottom:20px;

}

.event-content a{

    color:#0b8f4d;

    font-weight:700;

}

/* ===========================================================
   WHY CHOOSE
=========================================================== */

.why-choose{

    padding:90px 0;

    background:#f7faf8;

}

.choose-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.choose-card{

    background:#fff;

    padding:40px 30px;

    border-radius:18px;

    text-align:center;

    transition:.35s;

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.choose-card:hover{

    transform:translateY(-8px);

}

.choose-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#0b8f4d;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    margin-bottom:25px;

}

.choose-card h3{

    color:#222;

    margin-bottom:15px;

    font-size:24px;

}

.choose-card p{

    color:#666;

    line-height:1.8;

}

/* ===========================================================
   COUNTER
=========================================================== */

.counter-section{

    padding:80px 0;

    background:url("../images/counter.jpg") center/cover;

    position:relative;

}

.counter-section::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,70,30,.82);

}

.counter-grid{

    position:relative;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.counter-box{

    text-align:center;

    color:#fff;

}

.counter-box h2{

    font-size:56px;

    margin-bottom:15px;

    color:#FFD54F;

}

.counter-box p{

    font-size:20px;

    font-weight:600;

}

/* ===========================================================
   ADMISSION
=========================================================== */

.admission{

    padding:90px 0;

    background:#ffffff;

}

#admissionForm{

    max-width:900px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

#admissionForm input,

#admissionForm select{

    width:100%;

    padding:18px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

    transition:.3s;

    background:#fafafa;

}

#admissionForm input:focus,

#admissionForm select:focus{

    border-color:#0b8f4d;

    background:#fff;

    outline:none;

}

#admissionForm button{

    grid-column:1/3;

    padding:18px;

    background:#0b8f4d;

    color:#fff;

    border:none;

    border-radius:10px;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

}

#admissionForm button:hover{

    background:#08713d;

}

/* ===========================================================
   SECTION ANIMATION
=========================================================== */

.fade{

    opacity:0;

    transform:translateY(40px);

    transition:1s;

}

.fade.show{

    opacity:1;

    transform:translateY(0);

}

/* ===========================================================
   RESPONSIVE
=========================================================== */

@media(max-width:992px){

.counter-grid{

grid-template-columns:repeat(2,1fr);

}

#admissionForm{

grid-template-columns:1fr;

}

#admissionForm button{

grid-column:1;

}

}

@media(max-width:768px){

.event-section,

.why-choose,

.admission{

padding:60px 0;

}

.counter-grid{

grid-template-columns:1fr;

}

.counter-box h2{

font-size:42px;

}

.choose-grid{

grid-template-columns:1fr;

}

.event-grid{

grid-template-columns:1fr;

}

}

/* ===========================================================
   PREMIUM EFFECTS
=========================================================== */

/* ==========================================
   SECTION SPACING
========================================== */

.section-padding{

    padding:90px 0;

}

/* ==========================================
   GLASS CARD
========================================== */

.glass{

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.2);

}

/* ==========================================
   IMAGE HOVER
========================================== */

.image-hover{

    overflow:hidden;

    border-radius:15px;

}

.image-hover img{

    transition:.5s;

}

.image-hover:hover img{

    transform:scale(1.08);

}

/* ==========================================
   CARD HOVER
========================================== */

.card-hover{

    transition:.35s;

}

.card-hover:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,0,0,.15);

}

/* ==========================================
   BUTTON EFFECT
========================================== */

.btn-primary,
.btn-secondary{

    position:relative;

    overflow:hidden;

}

.btn-primary::before,
.btn-secondary::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.25);

    transform:skewX(-30deg);

    transition:.6s;

}

.btn-primary:hover::before,
.btn-secondary:hover::before{

    left:130%;

}

/* ==========================================
   FLOATING SHAPES
========================================== */

.hero-section::before{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:80px;

    left:60px;

}

.hero-section::after{

    content:"";

    position:absolute;

    width:160px;

    height:160px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    bottom:80px;

    right:120px;

}

/* ==========================================
   SCROLL REVEAL
========================================== */

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/* ==========================================
   FLOAT ANIMATION
========================================== */

.float{

    animation:float 4s ease-in-out infinite;

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

/* ==========================================
   PULSE
========================================== */

.pulse{

    animation:pulse 2s infinite;

}

@keyframes pulse{

0%{

box-shadow:0 0 0 0 rgba(11,143,77,.6);

}

70%{

box-shadow:0 0 0 18px rgba(11,143,77,0);

}

100%{

box-shadow:0 0 0 0 rgba(11,143,77,0);

}

}

/* ==========================================
   BACK TO TOP
========================================== */

#backToTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#0b8f4d;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:999;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

}

#backToTop:hover{

    background:#08713d;

    transform:translateY(-5px);

}

/* ==========================================
   WHATSAPP
========================================== */

.whatsapp-btn{

    position:fixed;

    left:25px;

    bottom:25px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

    z-index:999;

    box-shadow:0 15px 30px rgba(0,0,0,.25);

    animation:whatsapp 2s infinite;

}

@keyframes whatsapp{

0%{

transform:scale(1);

}

50%{

transform:scale(1.1);

}

100%{

transform:scale(1);

}

}

/* ==========================================
   CUSTOM SCROLLBAR
========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f3f3f3;

}

::-webkit-scrollbar-thumb{

    background:#0b8f4d;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#08713d;

}

/* ==========================================
   LOADING
========================================== */

.loading{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px;

    color:#0b8f4d;

    font-size:18px;

    font-weight:600;

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

.section-padding{

padding:60px 0;

}

.hero-section::before,

.hero-section::after{

display:none;

}

#backToTop{

right:18px;

bottom:18px;

}

.whatsapp-btn{

left:18px;

bottom:18px;

width:55px;

height:55px;

font-size:26px;

}

}