/* ===============================
   Mobile Responsive
================================ */

@media (max-width: 991px) {

    html,
    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 15px;
        line-height: 1.8;
    }
}
/* ===================================
   Navbar Responsive
=================================== */

@media (max-width: 991px) {

    .main-navbar {
        padding: 10px 0;
    }

    .navbar-brand img {
        max-width: 150px;
        height: auto;
    }

    .navbar-toggler {
        border: none;
        box-shadow: none !important;
        padding: 5px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 8px 0;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }

    .navbar .btn,
    .navbar .theme-btn {
        width: 100%;
        margin-top: 15px;
    }
}
/* ===================================
   Section Responsive
=================================== */

@media (max-width: 991px) {

    section {
        padding: 60px 0;
    }

    .row {
        row-gap: 25px;
    }

    .text-center-mobile {
        text-align: center !important;
    }

    h1 {
        font-size: 34px;
        line-height: 1.3;
    }

    h2 {
        font-size: 28px;
        line-height: 1.4;
    }

    h3 {
        font-size: 22px;
    }

    p {
        font-size: 15px;
        line-height: 1.8;
    }

    .btn,
    .theme-btn,
    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
    }

    img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: auto;
    }
}

@media (max-width: 767px) {

    section {
        padding: 50px 0;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }
}
/* ===================================
   Hero Section Responsive
=================================== */

@media (max-width: 991px) {

    .hero-section,
    .banner-section {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content {
        order: 2;
        margin-top: 30px;
    }

    .hero-image {
        order: 1;
        text-align: center;
        margin-bottom: 25px;
    }

    .hero-image img,
    .banner-image img {
        width: 100%;
        max-width: 450px;
        height: auto;
        margin: auto;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 15px;
        margin: 15px 0 25px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns a {
        width: 100%;
    }

}

@media (max-width: 576px) {

    .hero-section,
    .banner-section {
        padding: 80px 0 50px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-image img {
        max-width: 100%;
    }

}
/* ===================================
   About / Content Sections Responsive
=================================== */

@media (max-width: 991px) {

    .about-section,
    .overview-section,
    .principal-section,
    .message-section,
    .campus-section,
    .facilities-section {

        padding: 60px 0;
    }

    .about-content,
    .overview-content,
    .principal-content {

        text-align: center;
        margin-top: 30px;
    }

    .about-image,
    .overview-image,
    .principal-image {

        text-align: center;
        margin-bottom: 30px;
    }

    .about-image img,
    .overview-image img,
    .principal-image img {

        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 15px;
    }

    .about-content h2,
    .overview-content h2,
    .principal-content h2 {

        font-size: 30px;
        margin-bottom: 20px;
    }

    .about-content p,
    .overview-content p,
    .principal-content p {

        font-size: 15px;
        line-height: 1.8;
    }

}

@media (max-width:767px){

    .about-section,
    .overview-section,
    .principal-section{

        padding:50px 0;
    }

    .about-content h2,
    .overview-content h2,
    .principal-content h2{

        font-size:26px;
    }

    .about-content p,
    .overview-content p,
    .principal-content p{

        font-size:14px;
    }

}

/* ===================================
   Gallery, Cards, Forms & Footer
=================================== */

@media (max-width: 991px) {

    /* Gallery */
    .gallery-section .row,
    .campus-gallery .row,
    .news-gallery .row {
        row-gap: 20px;
    }

    .gallery-section img,
    .campus-gallery img,
    .news-gallery img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    /* Cards */
    .card,
    .feature-card,
    .facility-card,
    .teacher-card,
    .news-card {
        margin-bottom: 25px;
    }

    /* Forms */
    input,
    select,
    textarea {
        font-size: 15px;
    }

    .form-control {
        height: 48px;
    }

    textarea.form-control {
        height: 120px;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-links,
    .footer-contact {
        margin-top: 20px;
    }

    .footer-links ul {
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {

    .footer {
        padding: 40px 0;
    }

    .footer h4 {
        font-size: 20px;
    }

    .footer p,
    .footer a {
        font-size: 14px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
}

@media (max-width: 991px) {

    .navbar-toggler {
        display: block !important;
        border: none;
        padding: 8px;
        background: transparent;
    }

    .navbar-toggler-icon {
        display: block !important;
        width: 30px;
        height: 30px;
    }

}
.navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.navbar-toggler{
    position: relative;
    width: 45px;
    height: 45px;
    border: none;
    box-shadow: none !important;
    outline: none !important;
}

.toggler-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 3px;
    background: #0b7a43;
    transform: translate(-50%, -50%);
    border-radius: 50px;
}

.toggler-icon::before,
.toggler-icon::after{
    content: "";
    position: absolute;
    left: 0;
    width: 26px;
    height: 3px;
    background: #0b7a43;
    border-radius: 50px;
}

.toggler-icon::before{
    top: -8px;
}

.toggler-icon::after{
    top: 8px;
}