@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Nunito Sans', sans-serif;

}
main {
    padding-top: 169px;
}
@media (max-width:848px) {
    main{
        padding-top: 82px;
    }
}
.heading-pages {
    margin: 10px 0px;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.eight h1 {
    text-align: center;

    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 1px;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto 1fr;

    grid-gap: 15px;
    margin: 0;
}

.eight h1:after,
.eight h1:before {
    content: " ";
    display: block;
    border-bottom: 2px solid #ccc;
}
@media (max-width:1200px) {
    .eight h1 {
        text-align: center;
        text-transform: uppercase;
        font-size: 15px;
        letter-spacing: 1px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;

        grid-gap: 10px;
        margin: 0;
    }

    .school-gallery {
        height: 500px;
    }
}
.department-card{
    cursor: pointer;
}
.faculty-card{
    cursor: pointer;
}
/* school CSS */

.swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.gallery-top {
    height: 80%;
    width: 100%;
    position: relative;
}

.gallery-thumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.school-gallery {
    height: 700px;
}

.swiper-container {
    overflow: hidden;
}


.swiper-button-next:after,
.swiper-button-prev:after {
      color: #ffffff;
    font-size: x-large !important;
}




.department-card {
    display: flex;
    box-shadow: 2px 5px 6px 2px rgba(0, 0, 0, 0.075);
    border-radius: 10px;
    padding: 10px;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 15px;
}

.department-card .department-profile-photo {
    width: 150px;
}

.department-card .department-profile-photo img {
    width: 100%;
}

.department-small {
    font-size: x-small;
}

.faculty-card {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.075);
    margin-bottom: 10px;
    border-radius: 10px;
}

.fac-card-img {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
}

.fac-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fac-card-text {
    width: 70%;
}

.fac-card-main {
    font-size: medium;
}

.fac-card-small {
    font-size: small;
}

.button {
    position: relative;
    width: fit-content;
    padding-right: 70px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: none;
    background-color: rgb(8, 89, 61);
    overflow: hidden;
    text-decoration: none;
  }
  
  .button, .button__icon, .button__text {
    transition: all 0.3s;
  }
  
  .button .button__text {
    transform: translateX(15px);
    color: white;
    font-weight: 600;
  }
  
  .button .button__icon {
      position: absolute;
      right: 0;
      height: 100%;
      width: 39px;
      border-left: 1px solid black;
      background-color: black;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .button .svg {
    width: 20px;
    fill: #fff;
  }
  
  .button:hover {
    background: black;
  }
  
  .button:hover .button__text {
    color: transparent;
  }
  
  .button:hover .button__icon {
      width: 100%;
     
    transform: translateX(0);
  }
  
  .button:active .button__icon {
    background-color: #e2b71d;
  }
  
  .button:active {
    border: none;
  }
  
  .download-buttons{
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
  }


  .heading-pages{
    text-align: left;
  }
  .heading-pages h4{
  margin-bottom: 0;
  }


  .gov-card {

    background: white;
    box-shadow: 0px 1px 8px 0px gray;
    border-radius: 10px;
  }

  .gov-card h3 {
    border-bottom: 1px solid black;
  }

  .gov-card a {
    padding: 10px;
    border: 1px solid #e2b71d;
    text-align: center;
    color: #e2b71d;
  }

  .nav-link {
    color: rgb(255, 255, 255) !important;
  }

  .nav-link.active {
    background-color: #e42026 !important;
    color: white !important;
  }

  @media (max-width: 767.98px) {
    .nav-link.active {
      border: none;
      border-bottom: 2px solid #E2B71C;
      border-radius: 10px !important;
    }

  }

  .button__icon{
    color: white !important;
  }
  .notice-card {
    border-left: 5px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    background: #f8f9fa;
    transition: transform 0.3s ease-in-out;
}

.notice-date {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.notice-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #e42026;
}
.notice-text {
    font-size: 1rem;
    color: #555;
}
.notice-link {
    font-size: 1rem;
    font-weight: bold;
    color: #dc3545;
    text-decoration: none;
}
.notice-link:hover {
    text-decoration: underline;
}
@media (max-width: 576px) {
    .notice-card {
        padding: 15px;
    }
    .notice-title {
        font-size: 1.1rem;
    }
    .notice-text {
        font-size: 0.9rem;
    }
}