/* ===================================================
   RESPONSIVE CSS
   Green Buds School & College
=================================================== */


/* ==========================================
   Large Tablet
========================================== */

@media (max-width:992px){

.container{
    width:95%;
}

.navbar{
    padding:10px 0;
}

.logo-link img{
    width:75px;
    height:75px;
}

.logo-text h2{
    font-size:28px;
}

.logo-text span{
    font-size:17px;
}

.logo-text small{
    font-size:13px;
}

.hero-section{
    height:380px;
}

.hero-content h1{
    font-size:52px;
}

.hero-content p{
    font-size:18px;
}

}


/* ==========================================
   Mobile
========================================== */

@media (max-width:768px){

.top-bar{
    display:none;
}

/* ---------- Navbar ---------- */

.navbar{
    padding:10px 0;
}

.menu-toggle{
    display:block;
    font-size:30px;
}

.menu{

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    background:#ffffff;

    display:none;

    flex-direction:column;

    gap:0;

    padding:15px 0;

    border-radius:0 0 15px 15px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

}

.menu.active{
    display:flex;
}

.menu li{
    width:100%;
}

.menu li a{

    display:block;

    padding:15px 25px;

    border-bottom:1px solid #eee;

}

.login-btn{

    padding:15px;

}

.login-btn a{

    display:block;

    text-align:center;

}

/* ---------- Logo ---------- */

.logo-link img{

    width:60px;

    height:60px;

}

.logo-text h2{

    font-size:24px;

}

.logo-text span{

    font-size:15px;

}

.logo-text small{

    display:none;

}

/* ---------- Hero ---------- */

.hero-section{

    height:auto;

}

.hero-overlay{

    padding:60px 0;

}

.hero-content{

    text-align:center;

}

.hero-content h4{

    font-size:15px;

}

.hero-content h1{

    font-size:38px;

}

.hero-content h3{

    font-size:20px;

}

.hero-content p{

    font-size:16px;

    margin:20px auto;

}

.hero-buttons{

    justify-content:center;

    flex-direction:column;

    align-items:center;

    gap:15px;

}

.btn-primary,
.btn-contact{

    width:220px;

    justify-content:center;

}

.breaking-news{

    flex-direction:column;

}

.breaking-title{

    width:100%;

    text-align:center;

}

.notice-slider{

    width:100%;

}

}


/* ==========================================
   Small Mobile
========================================== */

@media (max-width:480px){

.logo-link img{

    width:50px;

    height:50px;

}

.logo-text h2{

    font-size:20px;

}

.logo-text span{

    font-size:13px;

}

.hero-content h1{

    font-size:32px;

}

.hero-content h3{

    font-size:18px;

}

.hero-content p{

    font-size:15px;

}

.btn-primary,
.btn-contact{

    width:100%;

}

}

/* ===================================================
   PART-2
   ABOUT + PRINCIPAL + NOTICE + GALLERY
=================================================== */

@media (max-width:992px){

/* ===========================
   ABOUT
=========================== */

.about-school{

    padding:70px 0;

}

.about-container{

    grid-template-columns:1fr;

    gap:40px;

}

.about-image{

    order:1;

}

.about-text{

    order:2;

}

.about-text h2{

    font-size:34px;

}

.about-text p{

    font-size:16px;

}

.about-features{

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

/* ===========================
   PRINCIPAL
=========================== */

.principal-section{

    padding:70px 0;

}

.principal-container{

    grid-template-columns:1fr;

    gap:40px;

    text-align:center;

}

.principal-image img{

    width:300px;

    max-width:100%;

}

.principal-content h2{

    font-size:34px;

}

.principal-content p{

    text-align:left;

}

/* ===========================
   NOTICE
=========================== */

.notice-grid{

    grid-template-columns:1fr;

}

/* ===========================
   GALLERY
=========================== */

.gallery-grid{

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.gallery-item img{

    height:220px;

}

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

/* ===========================
   ABOUT
=========================== */

.about-school{

    padding:60px 0;

}

.about-text{

    text-align:center;

}

.about-text h2{

    font-size:28px;

}

.about-text p{

    font-size:15px;

}

.about-features{

    grid-template-columns:1fr;

}

.feature-card{

    text-align:center;

}

/* ===========================
   PRINCIPAL
=========================== */

.principal-section{

    padding:60px 0;

}

.principal-content{

    text-align:center;

}

.principal-content h2{

    font-size:28px;

}

.principal-content p{

    text-align:center;

    font-size:15px;

}

/* ===========================
   COMMON HEADER
=========================== */

.section-header{

    flex-direction:column;

    text-align:center;

    gap:15px;

}

.section-header h2{

    font-size:30px;

}

.section-header h2::after{

    left:50%;

    transform:translateX(-50%);

}

/* ===========================
   NOTICE
=========================== */

.notice-section{

    padding:60px 0;

}

.notice-header h3{

    font-size:20px;

}

.notice-body p{

    font-size:15px;

}

/* ===========================
   GALLERY
=========================== */

.gallery-section{

    padding:60px 0;

}

.gallery-grid{

    grid-template-columns:1fr;

}

.gallery-item img{

    height:250px;

}

.gallery-overlay h4{

    font-size:20px;

}

.gallery-overlay p{

    font-size:14px;

}

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width:480px){

.about-text h2{

    font-size:24px;

}

.principal-content h2{

    font-size:24px;

}

.section-header h2{

    font-size:26px;

}

.notice-card{

    border-radius:12px;

}

.gallery-item{

    border-radius:12px;

}

.gallery-item img{

    height:220px;

}

}

/* ===================================================
   PART-3
   EVENTS + WHY CHOOSE + COUNTER + ADMISSION CTA
=================================================== */


/* ==========================================
   TABLET
========================================== */

@media (max-width:992px){

/* ===========================
   EVENTS
=========================== */

.events-section{

    padding:70px 0;

}

.events-grid{

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

/* ===========================
   WHY CHOOSE
=========================== */

.why-section{

    padding:70px 0;

}

.why-grid{

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

/* ===========================
   COUNTER
=========================== */

.counter-section{

    padding:70px 0;

}

.counter-grid{

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

/* ===========================
   ADMISSION CTA
=========================== */

.admission-section{

    padding:70px 0;

}

.admission-container{

    grid-template-columns:1fr;

    text-align:center;

    gap:40px;

}

.admission-content h2{

    font-size:36px;

}

.admission-content p{

    font-size:16px;

}

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

/* ===========================
   EVENTS
=========================== */

.events-section{

    padding:60px 0;

}

.events-grid{

    grid-template-columns:1fr;

}

.event-card{

    text-align:center;

}

/* ===========================
   WHY CHOOSE
=========================== */

.why-section{

    padding:60px 0;

}

.why-grid{

    grid-template-columns:1fr;

}

.why-card{

    text-align:center;

}

/* ===========================
   COUNTER
=========================== */

.counter-section{

    padding:60px 0;

}

.counter-grid{

    grid-template-columns:1fr;

}

.counter-card{

    padding:30px;

}

.counter-card h2{

    font-size:36px;

}

.counter-card p{

    font-size:15px;

}

/* ===========================
   ADMISSION CTA
=========================== */

.admission-section{

    padding:60px 0;

}

.admission-content{

    text-align:center;

}

.admission-content h2{

    font-size:30px;

}

.admission-content p{

    font-size:15px;

}

.admission-buttons{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:15px;

}

.admission-buttons .btn-primary,
.admission-buttons .btn-outline{

    width:220px;

    justify-content:center;

}

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width:480px){

.event-card,
.why-card,
.counter-card{

    padding:25px;

}

.counter-card h2{

    font-size:32px;

}

.admission-content h2{

    font-size:26px;

}

.admission-buttons .btn-primary,
.admission-buttons .btn-outline{

    width:100%;

}

}

/* ===================================================
   PART-4
   FOOTER + COPYRIGHT + FINAL RESPONSIVE
=================================================== */


/* ==========================================
   TABLET
========================================== */

@media (max-width:992px){

/* ===========================
   FOOTER
=========================== */

.footer-container{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

.footer-logo img{

    width:80px;

}

.footer-title{

    font-size:22px;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-contact li{

    margin-bottom:12px;

}

/* ===========================
   SOCIAL ICON
=========================== */

.social-icons{

    display:flex;

    gap:12px;

}

.social-icons a{

    width:42px;

    height:42px;

    font-size:18px;

}

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

/* ===========================
   FOOTER
=========================== */

.footer{

    padding:60px 0 20px;

}

.footer-container{

    grid-template-columns:1fr;

    gap:35px;

    text-align:center;

}

.footer-logo{

    justify-content:center;

}

.footer-logo img{

    width:70px;

}

.footer-title{

    font-size:20px;

}

.footer-about{

    max-width:100%;

}

.footer-links{

    padding:0;

}

.footer-links li{

    list-style:none;

}

.footer-contact{

    padding:0;

}

.footer-contact li{

    list-style:none;

    justify-content:center;

}

/* ===========================
   SOCIAL
=========================== */

.social-icons{

    justify-content:center;

    flex-wrap:wrap;

}

.social-icons a{

    width:45px;

    height:45px;

}

/* ===========================
   COPYRIGHT
=========================== */

.footer-bottom{

    margin-top:35px;

    text-align:center;

}

.footer-bottom p{

    font-size:14px;

    line-height:1.8;

}

/* ===========================
   BACK TO TOP
=========================== */

.back-to-top{

    width:45px;

    height:45px;

    right:20px;

    bottom:20px;

}

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width:480px){

.container{

    width:92%;

}

.logo-link{

    gap:10px;

}

.logo-link img{

    width:48px;

    height:48px;

}

.logo-text h2{

    font-size:18px;

}

.logo-text span{

    font-size:12px;

}

.hero-content h1{

    font-size:30px;

}

.hero-content h3{

    font-size:18px;

}

.hero-content p{

    font-size:15px;

}

.section-header h2{

    font-size:24px;

}

.footer-title{

    font-size:18px;

}

.footer-bottom p{

    font-size:13px;

}

.social-icons a{

    width:42px;

    height:42px;

    font-size:16px;

}

}


/* ==========================================
   EXTRA LARGE DESKTOP
========================================== */

@media (min-width:1400px){

.container{

    max-width:1350px;

}

.hero-content h1{

    font-size:72px;

}

.hero-content p{

    font-size:24px;

}

}