/* Responsive adjustments for Green Valley Public School */

@media (max-width: 1300px) {
    .nav-menu-item {
        margin: 0px 4px !important;
    }

    .development-card {
        padding: 20px;
    }

    .development-card-icon {
        margin-right: 20px;
    }
}


@media (max-width: 1200px) {
    .hero-heading {
        font-size: 3.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Custom Toggle Hamburger Icon */
    .nav-toggle {
        display: flex;
    }

    /* Custom Mobile Menu Drawer */
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 330px;
        height: 100vh;
        background-color: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 40px 30px;
        margin-left: 0;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu-wrapper.active {
        right: 0;
    }

    .nav-menu-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin: 0 0 30px 0;
    }

    .nav-menu-item {
        margin: 8px 0;
        width: 100%;
    }

    .nav-menu-link {
        font-size: 18px;
        width: 100%;
        padding: 8px 0;
        justify-content: space-between;
    }

    .nav-menu-wrapper.active .nav-menu-link {
        color: #ffffff !important;
    }

    .nav-menu-wrapper.active .nav-menu-link.active {
        color: var(--gold-color) !important;
    }

    .nav-menu-wrapper.active .nav-menu-link.active {
        color: var(--gold-color) !important;
    }

    .nav-menu-wrapper.active .btn-admission {
        background-color: var(--gold-color);
        color: #000000 !important;
        border: 1px solid var(--gold-color) !important;
    }

    .nav-menu-wrapper.active .btn-login {
        background: #ffffff !important;
        border: 1px solid #ffffff !important;
    }

    .header-nav.scrolled .nav-menu-item.dropdown .dropdown-toggle::after {
        border-color: #ffffff;
    }

    /* Disable hover dropdown on mobile */
    .nav-menu-item.dropdown:hover .custom-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
    }

    .nav-menu-wrapper.active .custom-dropdown-menu {
        position: static !important;
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 8px;
        margin-top: 5px;
        width: 100%;
        transition: none;
    }

    .nav-menu-wrapper.active .custom-dropdown-item {
        display: block;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 8px 20px;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    /* Mobile Accordion Dropdown Menu */
    .custom-dropdown-menu {
        position: static !important;
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 8px;
        margin-top: 5px;
        width: 100%;
        transition: none;
    }

    .nav-menu-item.dropdown.open .custom-dropdown-menu {
        display: block;
        text-align: start;
    }

    .nav-menu-item.dropdown.open .dropdown-toggle::after {
        transform: rotate(-135deg);
    }

    .nav-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }

    .nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

.event-card-content {
    padding: 20px;
}

.blog-card-content {
    padding: 20px;
}
.app-banner-img {
    bottom: -192px;
}

}

@media (max-width: 991.98px) {

    /* Custom Toggle Hamburger Icon */
    .nav-toggle {
        display: flex;
    }

    /* Custom Mobile Menu Drawer */
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 330px;
        height: 100vh;
        background-color: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 40px 30px;
        margin-left: 0;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu-wrapper.active {
        right: 0;
    }

    .nav-menu-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin: 0 0 30px 0;
    }

    .nav-menu-item {
        margin: 8px 0;
        width: 100%;
    }

    .nav-menu-link {
        font-size: 18px;
        width: 100%;
        padding: 8px 0;
        justify-content: space-between;
    }

    .nav-menu-wrapper.active .nav-menu-link {
        color: #ffffff !important;
    }

    .nav-menu-wrapper.active .nav-menu-link.active {
        color: var(--gold-color) !important;
    }

    .nav-menu-wrapper.active .nav-menu-link.active {
        color: var(--gold-color) !important;
    }

    .nav-menu-wrapper.active .btn-admission {
        background-color: var(--gold-color);
        color: #000000 !important;
        border: 1px solid var(--gold-color) !important;
    }

    .nav-menu-wrapper.active .btn-login {
        background: #ffffff !important;
        border: 1px solid #ffffff !important;
    }

    .header-nav.scrolled .nav-menu-item.dropdown .dropdown-toggle::after {
        border-color: #ffffff;
    }

    /* Disable hover dropdown on mobile */
    .nav-menu-item.dropdown:hover .custom-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
    }

    .nav-menu-wrapper.active .custom-dropdown-menu {
        position: static !important;
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 8px;
        margin-top: 5px;
        width: 100%;
        transition: none;
    }

    .nav-menu-wrapper.active .custom-dropdown-item {
        display: block;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 8px 20px;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    /* Mobile Accordion Dropdown Menu */
    .custom-dropdown-menu {
        position: static !important;
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 8px;
        margin-top: 5px;
        width: 100%;
        transition: none;
    }

    .nav-menu-item.dropdown.open .custom-dropdown-menu {
        display: block;
        text-align: start;
    }

    .nav-menu-item.dropdown.open .dropdown-toggle::after {
        transform: rotate(-135deg);
    }

    .nav-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }

    .nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .hero-section {
        position: relative;
        width: 100%;
        height: 95vh;
        overflow: hidden;
    }

    .hero-heading {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-content .btn-apply {
        width: auto !important;
    }

    .btn-apply {
        width: auto;
        justify-content: center;
        margin-top: 15px;
    }

    /* Responsive Carousel Controls */
    .custom-carousel-control {
        width: 44px;
        height: 44px;
    }

    .carousel-control-prev.custom-carousel-control {
        left: 15px;
    }

    .carousel-control-next.custom-carousel-control {
        right: 15px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }

    .footer-card {
        padding: 40px 30px 20px 30px;
    }

    .heading {
        font-size: 38px;
    }

    .development-title {
        font-size: 38px;
    }

    .why-choose-title {
        font-size: 38px;
    }

    .mission_vision .vm-image-wrapper {
        height: 400px;
    }

    .mission_vision .vm-image-wrapper .img-fluid {
        height: 400px;
        min-height: 400px;
    }

    .about-page .principal-image-frame {
        height: 480px;
    }

    .footer-contact-item {
    margin-left: -39px;
}




}

@media (max-width: 575.98px) {
    .hero-heading {
        font-size: 2.1rem;
        padding-top: 100px;
    }

    .hero-heading br {
        display: none !important;
    }

    .hero-description {
        font-size: 15px;
    }

    .brand-logo {
        height: 40px;
    }

    .hero-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .btn-apply {
        font-size: 16px;
    }

    .btn-more {
        font-size: 16px;
    }

    .heading {
        font-size: 32px;
    }

    .development-title {
        font-size: 32px;
    }

    .why-choose-title {
        font-size: 32px;
    }

    .about-subheading {
        font-size: 24px;
    }

    .welcome-badge {
        font-size: 13px;
    }

    .why-choose-badge {
        font-size: 13px;
    }

    .footer-card {
        padding: 30px 20px 20px 20px;
        border-radius: 20px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .why-choose-title {
        font-size: 30px;
    }

    .why-choose-subtitle {
        font-size: 22px;
    }

    .accordion-custom-title {
        font-size: 18px;
    }

    .accordion-custom-text {
        font-size: 15px;
    }

    .academics-section {
        background-size: 90% auto;
        border-radius: 20px;
        padding: 30px 20px 20px 20px;
    }

    .academics-header-desc {
        font-size: 15px;
    }

    .academics-badge {
        font-size: 13px;
    }

    .academics-title {
        font-size: 30px;
    }

    .academics-subtitle {
        font-size: 22px;
    }

    .academic-card {
        height: 300px;
        border-radius: 20px;
    }

    .academic-card-text {
        font-size: 14px;
    }

    .academic-card-overlay {
        border-radius: 20px;
        padding: 16px;
    }

    .academic-card-title {
        font-size: 20px;
        font-weight: 500;
    }

    .development-section {
        border-radius: 20px;
        background-size: 600px auto;
        padding: 30px 20px 20px 20px;
    }

    .development-badge {
        font-size: 13px;
    }

    .development-title {
        font-size: 28px;
    }

    .development-subtitle {
        font-size: 22px;
    }

    .development-card {
        padding: 16px;
    }

    .development-card-icon img {
        width: 50px;
        height: 50px;
    }

    .development-card-title {
        font-size: 17px;
    }

    .development-header-desc {
        font-size: 15px;
    }

    .development-card-icon {
        margin-right: 14px;
    }

    .campus-facilities {
        border-radius: 20px;
        background-size: 600px auto;
        padding: 30px 20px 20px 20px;
    }

    .campus-card-img-wrapper {
        height: 140px;
    }

    .campus-card-title {
        font-size: 17px;
    }

    .achievements_and_recognition {
        border-radius: 20px;
        background-size: 600px auto;
        padding: 30px 20px 20px 20px;
    }

    .achievement-card:not(.tall) .achievement-img-wrapper {
        height: 160px;
    }

    .achievement-card.tall .achievement-img-wrapper {
        height: 160px;
        min-height: 160px;
    }

    .achievement-title {
        bottom: 16px;
        font-size: 16px;
    }

    .news-item-title {
        font-size: 18px;
    }

    .news-item-desc {
        font-size: 15px;
    }

    .testimonial-slider-container {
        margin: 30px auto 0 auto;
        padding: 0 10px;
    }

    .testimonial-btn.next {
        right: -10px;
    }

    .testimonial-btn.prev {
        left: -10px;
    }

    .events-card {
        height: 500px !important;
    }

    .events-card .event-poster-wrapper {
        height: 500px;
    }

    .stay-connected-section {
        padding: 70px 0px 60px 0;
        background-size: 40% auto, 150% auto;
    }

    .testimonials-section {
        padding: 60px 0 30px 0;
    }

    .gallery-snap-img-wrap {
        aspect-ratio: 5 / 3;
    }

    .about-page .community-card {
        padding: 24px;
    }

    .gallery-item-wrap {
        border-radius: 15px;
    }

    .img-classroom-wrap {
        width: 58%;
        top: 0px;
        left: 0px;
        height: 200px !important;
    }

    .img-classroom-wrap img {
        height: 200px;
    }

    .img-sports-wrap {
        top: 40px;
        width: 150px;
        right: 0px !important;
    }

    .gallery-item-wrap:hover {
        transform: translateY(0px) scale(1.02);
    }

    .img-sports-wrap img {
        height: 200px;
    }

    .img-students-wrap {
        width: 46%;
        bottom: 0px;
        left: 142px;
        z-index: 3;
        width: 180px;
    }

    .img-students-wrap img {
        height: 100px;
    }

    .about-page .vm-image-wrapper {
        border-radius: 20px;
        /* margin-bottom: 20px; */
        min-height: 200px;
        height: 200px;
    }

    .about-page .vm-image-wrapper .img-fluid {
        min-height: 200px;
        height: 200px;
    }

    .about-page .vm-image-badge {
        display: none;
    }

    .contact-text br {
        display: none;
    }

    .about-page .vm-accordion-item {
        border-radius: 20px;
    }

    .about-page .inner-hero-title {
        font-size: 30px;
    }

    .about-page .inner-hero-tagline {
        font-size: 15px;
    }

    .cta-card {
        padding: 40px 20px !important;
        border-radius: 20px;
    }

    .collaboration_box {
        border-radius: 20px;
        padding: 20px;
    }

    .collaboration_box .vm-image-wrapper {
        min-height: 200px;
        border-radius: 16px;
    }

    .collaboration_box .vm-image-wrapper .img-fluid {
        min-height: 200px;
        height: 200px;
    }

    .transition_box {
        border-radius: 20px;
        padding: 20px;
    }

    .transition_box .vm-image-wrapper {
        min-height: 200px;
        border-radius: 16px;
    }

    .transition_box .vm-image-wrapper .img-fluid {
        min-height: 200px;
        height: 200px;
    }

    .academic_journey .team-member-img-wrap {
        min-height: 200px;
        border-radius: 16px;
        aspect-ratio: 4/2;
    }

    .encouragement-badge i {
        display: none;
    }

    .detail-content-wrap {
        padding: 60px 0px;
    }

    .detail-main-content {
        border-radius: 20px;
        padding: 20px;
    }

    .career-benefits-card {
        padding: 24px;
    }

    .benefits-section {
        padding: 60px 0px;
    }

    .mission_vision {
        padding: 60px 0px;
    }

    .events-section,
    .blogs-section {
        padding: 60px 0px;
    }

    .achievements_page {
        padding: 60px 0px;
    }

    .career-form-card {
        padding: 30px 20px 20px 24px;
    }

    .positions-section {
        padding: 60px 0px;
    }

    .about-page .core-value-card {
        padding: 20px;
    }

    .why-choose-section {
        background-size: 40% auto, 130% auto;
    }

    .century-skills-21st {
        background-size: 40% auto, 150% auto;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-subtitle {
        font-size: 18px;
    }

    .gallery-slider-btn.next {
        right: -10px;
    }

    .gallery-slider-btn.prev {
        left: -10px;
    }

    .form-file-custom {
        border: 1px dashed rgba(42, 67, 155, 0.15);
        padding: 10px;
    }

    .icon_and_textflex {
        flex-direction: column;
        align-items: end !important;
        gap: 10px !important;
    }

    .icon_and_text {
        width: 100%;
        margin-right: 20px !important;
        padding-left: 10px;
    }

    .about-page .principal-image-frame {
        height: auto;
    }

    .about-page .team-member-card {
        margin: 0px 20px;
    }
.app-banner-card {
    border-radius: 20px;
    padding: 25px;
}

.btn-app-download {
    padding: 4px 18px;
}

}

@media (max-width: 768px) {
    .row-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .counter-section {
        padding: 40px 0;
    }

    .counter-container {
        flex-wrap: wrap;
    }

    .counter-item {
        flex: 0 0 50%;
        margin: 15px 0;
    }

    .counter-item:not(:last-child)::after {
        display: none !important;
    }

    .counter-number {
        font-size: 32px;
    }

    .counter-label {
        font-size: 16px;
    }

    .about-section {
        background-position: right 70px;
        background-size: 200% auto;
    }

    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: 93%;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 28px;
    }

    .about-page .vm-image-wrapper {
        min-height: 370px;
    }

    .about-page .vm-image-wrapper .img-fluid {
        height: 370px;
        min-height: 370px;
    }

    .mission_vision .vm-image-wrapper {
        height: 370px;
    }

    .mission_vision .vm-image-wrapper .img-fluid {
        height: 370px;
        min-height: 370px;
    }

        .footer-contact-item {
    margin-left: 0px;
}
}

@media (max-width: 480px) {
    .counter-item {
        flex: 0 0 100%;
        margin: 10px 0;
    }
}

/* About Section Responsiveness */
@media (max-width: 991.98px) {
    .about-heading {
        font-size: 36px;
    }

    .about-subheading {
        font-size: 24px;
    }

    .about-gallery-wrapper {
        height: 420px;
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .img-students-wrap {
        left: 80px;
    }

    .img-classroom-wrap {
        top: 0px;
        height: 250px;
    }

    .img-sports-wrap {
        top: 80px;
        right: 30px;
    }

    .img-students-wrap {
        left: 175px;
        bottom: -10px;
    }

    .news-card {
        margin-bottom: 30px;
    }

    .events-card {
        height: 970px;
    }

    .testimonial-btn {
        width: 45px;
        height: 45px;
    }

    .testimonial-btn.next {
        right: -10px;
    }

    .testimonial-btn.prev {
        left: -10px;
    }

    .about-page .vm-image-wrapper {
        border-radius: 24px;
    }

    .keyfocus-box i {
        height: 36px;
        width: 36px;
        font-size: 18px;
    }

    .about-page .core-value-card {
        padding: 20px;
    }

    .stay-connected-section {
        background-size: 25% auto, 100% auto;
    }

    .why-choose-section {
        background-size: 25% auto, 100% auto;
    }

    .century-skills-21st {
        background-size: 25% auto, 100% auto;
    }

    .btn-app-download {
    padding: 7px 20px;
}
.app-banner-card {
    padding-bottom: 300px;
}

    .app-banner-img {
        max-height: 330px;
        bottom: -300px;
    }
}

@media (max-width: 575.98px) {
    .about-heading {
        font-size: 30px;
    }

    .about-gallery-wrapper {
        height: 320px;
        margin-top: 0;
    }

    .img-students-wrap {
        left: 31px;
        bottom: 5px;
    }
}