@media screen and (max-width: 576px) {
  .navbar-brand img {
    width: 60px !important;
    transition: all 0.3s ease-in-out;
  }

  .footer-container .footer-bottom {
    font-size: 13px;
  }
}

/* desktop */
@media screen and (max-width: 1200px) and (min-width: 992px) {
  .nav-link {
    font-size: 11px;
  }

  .dropdown-item {
    font-size: 11px;
  }
}

/* large screens */
@media screen and (max-width: 1440px) and (min-width: 1200px) {
}

/* Tabs */

@media (max-width: 768px) {
  .navbar-brand img {
    width: 60px !important;
    transition: all 0.3s ease-in-out;
  }

  .logo-mob {
    width: 100px;
  }

  .text-logo h5 {
    font-size: 1.2rem !important;
  }

  .text-logo p {
    font-size: 1rem !important;
  }

  .navbar-nav li:nth-child(-n + 8):after {
    display: none;
  }

  .nav-top {
    display: none;
  }

  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  .banner-content {
    white-space: normal;
    text-align: center;
    width: 100%;
    padding: 20px 15px;
  }

  .custom-carousel .owl-dots {
    bottom: -35px;
  }

  .banner-content h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .banner-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .banner-btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .admission-cta {
    text-align: center;
    padding: 20px 15px;
  }

  .admission-cta h2 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .admission-cta .subheading {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .cta-button {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 10px auto;
    font-size: 12px;
    padding: 12px 20px;
  }

  .cta-button i {
    margin-right: 6px;
  }

  .about-manyatha .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .about-manyatha .tagline {
    padding-top: 50px;
  }
  .counter-section {
    padding: 40px 0;
  }

  .c-2 {
    padding-top: 40px;
  }
  .facilities-section {
    padding: 40px 0;
  }

  .facilities-title {
    font-size: 1.5rem;
  }

  .school-activities {
    padding-bottom: 40px;
  }
  .bg-text-activities {
    padding: 30px;
  }
  .custom-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 40px;
  }

  .overlap-left {
    margin-left: 0px;
  }

  .section-title:after {
    display: none;
  }

  .inside-banner h2 {
    color: #1a160c;
    font-size: 28px;
  }

  .introduction-content h4 {
    font-size: 18px;
  }

  .about-manayata {
    padding: 30px 0px 100px;
    overflow: hidden;
  }

  .about-manayata .about-manayata-content-caption {
    position: absolute;
    width: 100%;
    background: #f0f9fb;
    padding: 16px;
    display: flex;
    justify-content: end;
    right: 0;
    margin-top: 0px;
  }

  .about-manayata .about-manayata-content {
    padding: 20px;
  }

  .vision-mission {
    background: unset;
  }

  .principal-section {
    padding: 30px 0;
  }

  .leadershipteam .leadershipteam-content {
    padding-left: 20px;
  }

  table thead {
    display: none;
  }

  table,
  table tbody,
  table tr,
  table td {
    display: block;
    width: 100%;
  }

  table tr {
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
  }

  table td {
    position: relative;
    padding-left: 50%;
    text-align: left;
  }

  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #0d6efd;
  }

  .kinder-section {
    padding: 30px 0px 0;
  }

  .kinder-mob {
    padding-top: 40px;
  }

  .kinder-section-2 {
    padding: 90px 0px 60px;
  }

  .only-primary {
    padding: 30px;
  }

  .primary-section-2 {
    background-color: #f0f9fb;
    padding: 150px 0px 60px;
    position: relative;
    margin-top: -127px;
    z-index: -1;
  }

  .kinder-section-3 {
    padding: 59px 0px 0px;
  }

  .Kindergarten {
    grid-template-columns: 1fr;
  }

  .div1 {
    height: 300px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .only-middle {
    padding: 30px;
  }

  .middle-section-2 {
    background-color: #f0f9fb;
    padding: 160px 0px 60px;
    position: relative;
    margin-top: -143px;
    z-index: -1;
  }

  .only-middle-school {
    padding: 40px 0px 0px 20px;
  }

  .only-high {
    padding: 40px 20px;
  }

  .high-section-2 {
    background-color: #f0f9fb;
    padding: 120px 0px 60px;
    position: relative;
    margin-top: -116px;
    z-index: -1;
  }

  .high-lights-high-school {
    padding: 40px 20px 0px 20px;
  }

  .facilities-details .facilities-details-content-right {
    background-color: #efb208;
    color: #ffffff;
    padding: 16px 0px 24px 30px;
    position: relative;
    right: 8%;
  }

  .facilities-details .facilities-details-content-left {
    background-color: #efb208;
    color: #ffffff;
    padding: 30px 10px 30px 0px;
    position: relative;
    left: 8%;
  }

  .gallery-section h5 {
    font-size: 15px;
}

  .gallery-section-new .gallery-box {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .career-section .btn {
    font-size: 0.6rem;

}

.only-in-mobile{
  display: block;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
}
