/* ================== TABLET ================== */
@media (max-width: 992px) {

    /* NAVBAR */
    .topbar {
        display: none;
    }

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .menu-toggle {
        display: block;
        z-index: 10001;
        position: relative;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #f7f7f7;
        z-index: 9999;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 14px 20px;
        display: flex;
        align-items: center;
    }

    .sub-menu {
        display: none;
        position: static;
        background: #eee;
        padding-left: 15px;
    }

    .menu-item-has-children.open > .sub-menu {
        display: block;
    }

    .toggle-icon {
        margin-left: auto;
    }

    /* HERO */
    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* INNER BANNER */
    .innerpage-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .innerpage-banner-heading h1 {
        font-size: 40px;
    }

    .innerpage-banner-img {
        margin-top: 30px;
    }

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


/* ================== MOBILE ================== */
@media (max-width: 768px) {
/* ===hero sections== */
	.hero-section{
		background-position:center;
	}
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .learn-btn,
    .discover-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }

    /* INNER BANNER */
    .innerpage-banner-heading h1 {
        font-size: 30px;
        word-break: break-word;
    }
/*==padding== 	 */
	.institute-section, .certificate, .course, .contactus, .placement, .testimonial-section, .pas-accademy, .founder, .overview, .innerpage-certificate, .project, .offerings, .gallery{
		padding:60px 10px;
	}
	.institute-section .col-xl-6 .row .col-md-6:first-child .trainee-img::before,.institute-section .col-xl-6 .row .col-md-6:last-child .trainee-img::before, .founder-img::after {
		display:none;
	}
	.home-faq{
		padding:0 10px 60px;
	}
	
	.course-contactus{
		padding:0 10px;
	}
}


/* ================== SMALL MOBILE ================== */
@media (max-width: 480px) {

    .innerpage-banner-heading h1 {
        font-size: 26px;
        word-break: break-word;
    }

    .learn-btn,
    .discover-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* ================== FLIP CARD FIX ================== */
@media (max-width: 768px) {

    .flip-card:hover .flip-card-inner {
        transform: none;
    }

    .flip-card.active .flip-card-inner {
        transform: rotateY(180deg);
    }
}