
/* Small devices such as phones (768px or lesser) */
@media (max-width: 767.98px) {
    .topHead{
        display:contents

    }
    .headRight{
        width: 100%;
        text-align: center;
    }

    .brand{
      width:300px;
      height: 70px;
    }
    .wrapper {
      display: flex;
      flex-direction: column;
      row-gap: 0rem;
    }
    .mainHead {
      -moz-column-gap: 2rem;
      column-gap: 2rem;
    }
    .container {
      padding: 0 1rem;
    }
    .carouselSection
    {
       margin-top: 185px;
    }
    .yearCeb {
       width:90px;
       height:60px;
       padding:5px 0px;   
      }
    .secondaryContainer {
      margin-top:185px;
    } 
      

    /* =============== News and President Section CSS ============================================= */
    .news_president{
      flex-direction: column;
      padding: 5px;
    }
    .newsSection{
      width: 100%;
      margin-top:20px;
    }
    .presSection{
      width: 100%;
    } 
    .tab_container {
      height: auto;
    }
    .card 
    {
        margin-top:20px;
    }
    .navs ul li a {
      font-size: 14px;
    }

    /*================ About Section CSS =============================================================*/
    .aboutContainer{
      flex-direction: column;
      padding: 0px;
      margin: 50px 20px;
      row-gap: 50px;
    }
    .contentLeft,
    .contentRight{
        width: 100%;
    }
    .contentLeft .row{
        grid-template-columns: repeat(2, 1fr);
    }
    .contentLeft .row .imgWrapper{
        height: 150px;
    }
    .contentRight .content h4{
        font-size: 18px;
    }
    .contentRight .content h2{
        font-size: 30px;
    }
    

    /*========================== Footer Section CSS ================================================*/
    .footer-container {
      flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .back-to-top {
        right: 10px;
        bottom: 10px;
    }

     /* ======================= Coursule Banner CSS ================= */
     .header-carousel .owl-nav {
      position: absolute;
      top: 50%;
      right: 8%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
  }
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 150px;
        top:10px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        min-width: 100%;
        object-fit: cover;
    }
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin: 7px 0;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        background: transparent;
        border: 1px solid #FFFFFF;
        font-size: 14px;
        transition: .5s;
    }

    /*======================= About, History Page CSS=======================*/
    .secondary-nav-wrapper{
      height: auto;
    }
    .secondary-nav{
      text-align: center;
      justify-content: center;
      top:8px;
      height: 100%;
      margin: 2px;
      position: relative;
    }
    .heroBanner {
      height: auto;
  }
    .heroBannerSec{
      flex-direction: column;
      align-items: center;
      padding: 0px 8px 0px 8px;
    }
    .heroLeft, .heroRight{
      padding: 10px 0px;
      text-align: center;
    }
    .heroLeft h1{
      font-size: 26px;
      margin-bottom:15px;
      line-height: 1;
    }
    .heroLeft h1 span{
      font-size: 18px;
    }
    .heroLeft p{
      font-size: 11px;
      line-height: 1.25;
      margin: 0;
    }
    .heroRight img{
      width: 100%;
    }
    .aboutContent{
      display: contents;
      width: 90%;
    }
    .imgContainer{
      margin: 20px 20px 10px 20px;
    }
    .about-img-border .about-image img{
      width: 90%;
    }
    .about-img-border::after{
      width:80%;
      min-height: 210px;
    }
    .imgContainer p{
      width: 90%;
    }
    .imgContainer h1{
      width: 90%;
    }
    /*========================== Achivements Page CSS ==============================================*/
    .achivements{
      display: contents;
    }
    .achivements .cont{
      padding: 0px 20px 20px 20px;
    }
    
    /*============= Lecture Image Scrolling Section ================================*/


    .marquee-inner {
	    display: flex;
	    align-items: center;
	    gap: 1vw;
	    padding: 3vh 1vh;
	    will-change: transform;
    }

    .marquee-inner img {
	    height: 100%;
	    transition: transform 0.5s;
	    flex-shrink: 0;
	    width: 80vw;
	    border-radius: 1rem;
    }
    /*================================ Contact page CSS===========================================*/
    .contactBox{
      flex-direction: column;
      row-gap: 10px;
      width: 90%;
      margin-bottom: 0;
    }
    .contactBoxLower{
      width: 90%;
      flex-direction: column;
    }
    .boxLowerLeft{
      width: 100%;
    }
    .boxLowerRight{
      width: 100%;
    }
    .contact-page-form form {
      padding: 0;
    }

    /*================ Past President CSS ==========================================*/
    .presidentContainer{
      display:flex;
      flex-direction: column;
    }
    .presidentContainer img{
      width: 90%;
      text-align: center;
      margin: 0 auto;
      padding: 0;
    }
    .presidentContainer h2{
      font-size: 28px;
      margin: 10px auto;
      display: block;
    }
    .presidentContainer span{
      font-size: 18px;
      display: block;
      text-align: center;
    }
    .presidentContainer p{
      margin: 0px 10px;
      text-align: justify;
    }
    .presidentContainer ul li{
      margin: 0 auto;
      padding: 5px 30px 5px 0px;
      text-align:justify;
      letter-spacing: 0px;
    }
    .extraPara{
      font-size: 22px;
      margin: 10px auto; 
      padding: 20px 0px 10px 0px;
      text-align: none;
    }
    
/*================= Office Bearares CSS ============================= */
    .titleOffice
    {
        text-align:center; 
        font-size:24px; 
        color:#d35400; 
        margin:10px 5px;
    }
    .guiding
    {
        display:flex;
        flex-direction: column;
    }
/*========================= Library CSS ============================= */
    .libTitle
    {
        font-size:28px;
    }
    .libBookSection
    {
        display:flex;
        flex-direction: column;
    }
    .libBookSection .card 
    {
        width:100%;
    }
/*===================== JRD Tata Guiding CSS ======================*/
    #example1
    {
        padding:30px 15px;
        margin:0;
        display:flex;
        flex-direction:column;
    }
    .guiding img
    {
        width:100%;
    }
    .guidingContent
    {
        display:flex;
        flex-direction:column;
        width:100%;
        margin:0;
    }
    .guidingContent h1
    {
        font-size: 24px;
    }
    .guidingContent h4
    {
        font-size: 12px;
    }
/*============== Testominial CSS ===================== */
    .containerr
    {
        height:75vh;
    }
    .testimonial
    {
        margin:auto 0;
    }
    .testimonial .slide {
      row-gap: 10px;
    }
    .testimonial .image {
      height: 120px;
      width: 120px;
    }
    .slide p {
      text-align: center;
      padding: 0px 20px;
      margin:0px;
      font-size: 14px;
    }
    .slide .quote-icon {
      font-size: 18px;
    }
    .details .name {
      font-size: 15px;
    }
    .details .job {
      font-size: 11px;
    }
    
    /*============== Footer Section ================== */
    .footer-bottom p
    {
        font-size:12px;
    }
}

/* ============== Menu Responsive CSS ==================== */
@media screen and (max-width: 992px) {
    .navbar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 75%;
      height: 100%;
      z-index: 10;
      opacity: 0;
      overflow-y: auto;
      visibility: hidden;
      box-shadow: var(--shadow-medium);
      background-color: var(--color-white-100);
      transition: all 0.5s ease;
    }
    .navbar.active {
      left: 0rem;
      opacity: 1;
      visibility: visible;
    }
  }

  @media only screen and (min-width: 993px) {
    .menu-dropdown:hover > .submenu {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  }
  @media only screen and (max-width: 992px) {
    .menu {
      width: 100%;
      height: auto;
      padding: 1rem 0;
    }
    .menu-item {
      display: block;
      margin: 0 auto;
    }
    .menu-link {
      justify-content: space-between;
      padding: 0.5rem 1.25rem;
    }
    .submenu {
      position: relative;
      top: -0.5rem;
      left: 2.5rem;
      width: 100%;
      max-height: 0;
      padding: 0px;
      border: none;
      outline: none;
      opacity: 1;
      overflow: hidden;
      visibility: visible;
      transform: translateY(0px);
      box-shadow: none;
      background: transparent;
    }
    .burger {
      display: block;
      opacity: 1;
      visibility: visible;
    }
    .overlay.active {
      display: block;
      opacity: 1;
      visibility: visible;
    }    
    
  }