/* Website: Sree Sankara College
Author: Weberge by ipsr 
responsive.css*/
/********** CSS **********/
:root {
    --primary: #1C1E53;
    --secondary: #FCD980;
    --dark: #202426;
    --light:#666666;
    --bg-light: #F6F6F6;
}

@media (max-width: 991.98px) {}

@media (min-width: 1200px) {
   
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) and (max-width: 1400px) {}

@media (max-width: 1500px) {

}

@media (max-width: 1400px) {
  .banner h1 {
    top: auto;
    bottom: 60%;
  }
  .welcome img{
    height: 400px;
  }
.abt-est {
    width: 150px;
    height: 150px;
    left: 0;
}

.abt-est h3 {
    font-size: 60px;
}
.abt-est h5 {
    line-height: 20px;
}
.quick-links{
  background-image: url(../img/gallery-bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 60px;
}
}

@media (max-width: 1200px) {
 
  .gallery-grid-container{
    gap: 10px;
  }
  /* .gallery{
    background-image: url(../img/gallery-bg.jpg);
    background-size: cover;
  }
  .gallery1{
    position: relative;
    top: -100px;
  } */

  .gallery{
    background-image: none;
}

 
}


@media (max-width: 992px) {
    section {
    padding: 40px 0px;
  }
 
  .banner{
    height: 70vh;
  }
.welcome img{
      right: -50px;
    position: relative;
}

.facility-main-img {
    height: 350px !important;
    width: 100% !important;
}
.achievements img{
  border-radius: 10px 10px 0 0;
  height: 250px;
}
.achievements-info{
  border-radius: 0 0 10px 10px;
}
.links1{
  margin-bottom: 15px;
}
.footer-links{
  margin: 20px 0px;
}
footer .footer-links ul {
    padding-bottom: 10px;
    column-count: 1;
}

footer .footer-logo img, .copyright img{
  margin: 0 auto;
  display: block;
}
.footer-logo-sec p{
  text-align: center;
  margin: 15px 0;
}
.ipsr p{
  text-align: center;
}
.error1{
  justify-content: center;
}
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
    line-height: 36px;
  }

  h3 {
    font-size: 25px;
  }

  .banner{
    height: 60vh;
  }
  .news-updates-title{
    display: none;
  }
  .scroll-news{
    padding: 10px 15px;
  }
  .scroll-news .owl-nav{
    display: none !important;
  }
.counter-sec1 {
    margin: 30px 0;
    text-align: center;
}
.section-title-view-all {
  display: block !important;
  margin-bottom: 30px;
  /* text-align: center; */
}
.section-title-view-all .section-title{
  margin-bottom: 20px;
}
.news-main .link-arrow{
  margin-top: 20px;
}
    
.gallery-grid-container {
  display: grid;
  grid-template-areas: 
      'photo1 photo1' 'photo2 photo3' 
      'photo4 photo4';
      grid-template-columns: auto;
}
.photos:first-child img{
  height: 240px;
  width: 100%;
  object-position: center;
}
.links-icon {
    margin: 0 auto 10px;
    width: 70px;
    height: 70px;
}
.quick-links img {
    height: 40px;
}
.quick-links h4 {
    font-weight: 600;
    font-size: 20px;
}
.copyright p{
  text-align: center;
}
.ipsr img{
  margin-top: 10px;
}
}

@media (max-width: 576px) {
.welcome img {
        height: 300px;
        right: -130px;
    }
        .abt-est {
        left: 70px;
    }

}

@media (max-width: 450px) {
      .welcome img {
        height: 270px;
        right: -55px;
    }
    .abt-est {
        left: 40px;
    }
    .counter-sec1 h3 {
    font-size: 32px;
    }
    .counter-sec1 h4 {
    font-size: 18px;
    }
    .links1 {
    padding: 15px 10px;
    }
    .quick-links h4{
      font-size: 17px;
    }
}

/************************ Menu ************************/
/* responsive menu */
/* @media (max-width: 576px) {}

@media (max-width: 768px) {}*/

@media (max-width: 1600px) {

}
@media (max-width: 1400px) {
  header{
    padding: 0px 25px 5px;
  }
  /* .main-menu-sec {
    padding: 5px 40px;
  } */
  .custom-nav .navbar {
    gap: 16px;
  }
  .custom-nav a{
    font-size: 14px;
  }
}

/* @media (min-width: 1200px) {
    .custom-nav a {
        display: inline-block !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
} */
@media (max-width: 1200px) {

  .menu{
    padding: 0;
  }
  .custom-nav .navbar{
    gap: 15px;
  }
  .custom-nav .navbar a, .contact-top a{
    font-size: 13px;
  }

  #mainNav {
    background: var(--primary);
    position: fixed;
  }
  #topNav{
    background: var(--secondary);
}
  body.menu-open{
    overflow: hidden;
  }

  .custom-nav.open {
    left: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }

  .custom-nav {
    width: 100%;
    max-width: 300px;
    height: 100vh;
    position: absolute;
    left: -350px;
    top: 0;
    overflow: scroll;
    z-index: 99999;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }


  .custom-nav .navbar {
    display: block;
    float: initial;
    margin-top: 30px;
    width: 100%;
  }

  .custom-nav .submenu {
    position: inherit !important;
    height: 0;
    padding: 0 0;
    top: initial;
    top: 0 !important;
    width: 100% !important;
    background: #fff !important;
    box-shadow: none;
    margin: initial !important;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }
  .custom-nav a {
    padding: 10px 30px;

    font-weight: 400 !important;
    color: #fff !important;
  }
.custom-nav ul li a:hover {
    color: #FFCA00 !important;
}
  .custom-nav .submenu a {
    color: var(--dark) !important;
    padding: 5px 15px;
    white-space: initial !important;
  }

  .custom-nav .submenu.open {
    height: fit-content;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }

     .topNav-btn,
  .mainNav-btn{
      display: block;
  }
  /* .mainNav-btn {
    display: block;
  } */

  .custom-nav .submenu .submenu {
    left: initial !important;
    background: rgba(0, 0, 0, 0.05) !important;
  }
} 

@media (max-width: 992px) {
  header {
    /* padding: 10px 0px; */
  }
  .logo img{
    height: 50px;
  }
  .contact-top ul {
    gap: 10px;
  }
  
}

@media (max-width: 768px) {
  .contact-top{
    justify-content: center;
    padding: 3px 20px;
  }
    .contact-top ul {
        gap: 5px;
    }
    .contact-top a{
      font-size: 12px;
    }
}

@media (max-width: 576px) {
  /* .main-menu-sec {
    padding: 5px 25px;
} */
 .top-bar1{
      display: flex;
    justify-content: center;
 }
 .top-bar-mob{
  column-count: 2;
  gap: 10px !important;
  margin-bottom: 5px !important;
 }
  .contact-top ul li:first-child a, .contact-top ul li:nth-child(3) a{
    color: white;
}
 .contact-top ul li:nth-child(2) a, .contact-top ul li:last-child a{
    color: var(--secondary);
}

  .contact-top ul li:first-child a:hover, .contact-top ul li:nth-child(3) a:hover{
    color: var(--secondary);
}
 .contact-top ul li:nth-child(2) a:hover, .contact-top ul li:last-child a:hover{
    opacity: 0.8;
}



}
@media (max-width: 400px) {
  .contact-top ul {
    gap: 10px;
  }
  .contact-top i {
    padding-right: 5px;
}
}

