@media (max-width: 1199.5px) {
  /* custom css */
  .card {
    padding: 2.5rem 1.875rem;
  }
}

@media (max-witdh: 991px) {
  /* custom css */
  .wrapper {
    padding: 3.125rem 0;
  }
  .main-btn {
    font-size: 0.875rem;
  }
  h1 {
    font-size: 2.8125rem;
    margin-bottom: 0.625rem;
  }
  h2 {
    font-size: 1.875rem;
    /* margin-bottom: 0.625rem; */
  }
  h3 {
    font-size: 1.5625rem;
    /* margin-bottom: 0.625rem; */
  }
  h4 {
    font-size: 1.25rem;
    /* margin-bottom: 0.625rem; */
  }
  h5 {
    font-size: 1.125rem;
    /* margin-bottom: 0.625rem; */
  }
  h6 {
    font-size: 0.875rem;
    line-height: 1.35rem;
  }
  .map-wrapper {
    height: 500px;
  }

  .map {
    height: 100%;
    width: 70%;
    left: 15%;
  }
  footer .card {
    margin-bottom: 2rem;
  }
}


@media (max-width: 768px) {
  .navbar-collapse {
    justify-content: flex-start;
  }

  .navbar-nav {
    flex-direction: column;
  }

  .dropdown-menu {
    position: static;
    float: none;
  }

  .dropdown-submenu {
    position: static;
  }
}



@media (max-width: 767px) { /* change max-hight to max-width */
    h1{
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
    h5 {
        font-size: 1.25rem;
    /* margin-bottom: 0.625rem; */
    }
    
    
    /* Add this to prevent horizontal scrolling */
    body {
      overflow-x: hidden;
    }
    
    .map-wrapper {
    padding: 20px 0;
    padding-bottom: 100%;
  }
  .map {
    height: 200px;
  }

  .card {
    width: 100%;
  }

  footer .row {
    flex-direction: column;
    align-items: center;
  }
  
  footer .card {
    width: 100%;
    text-align: center;
  }
  
  footer h5 {
    font-size: 16px;
  }
  
  footer p {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  footer h5 {
    font-size: 14px;
  }
  
  footer p {
    font-size: 12px;
  }

}

@media (min-width: 576px) {
  .map-wrapper {
    padding-bottom: 0;
    height: 400px;
  }

  .map {
    height: 100%;
    width: 80%;
    left: 10%;
  }
}


  @media (max-width: 991.98px) {
    .faculty-card .card-img-top {
      height: 250px;
    }
  }

  @media (max-width: 767.98px) {
    .faculty-card .card-img-top {
      height: 300px;
    }
  }




