* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html, body {
    scroll-behavior: smooth;
}
.main-container {
    width: 100%;
    position: relative;
    background: rgba(2, 19, 34, 0.9);
    color: #ddd;
}
.nav {
    width: 100%;
    padding: 2px 2px;
    background: #1a237e;
    position: sticky;
    top: 0;
    z-index: 5;
}
.logo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: center;
    width: 20%;
    height: 115px;
    float: left;
}
.logo > div {
    text-align: center;
  }
.nav-links {
    width: 80%;
    float: left;
    margin-top: 5%;
}
.nav .fa-bars {
    display: none;
}
.nav-links .fa-times {
    display: none;
    font-size: 2rem;
}
.dropbtn .fa-caret-down {
    margin-left: 5px;
}
.nav-links a {
    float: left;
    text-decoration: none;
    font-size: 18px;
    border: none;
    outline: none;
    color: #fff;
    padding: 8px 10px;
    margin: 0;
    position: relative;
}
.nav-links a:hover {
    text-decoration: none;
    color: #fff;
}
.dropdown {
    float: left;
    position: relative;
}
.dropdown .dropbtn {
    background-color: transparent;
    font-size: 18px;  
    border: none;
    outline: none;
    color: white;
    padding: 8px 10px;
    margin: 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    width: 0;
    height: 1px;
    background: #fff;
    margin: 0;
    transition: 0.5s;
    position: absolute;
    left: 0;
    bottom: 5px;
}
.dropdown .dropbtn::after {
    content: '';
    width: 0;
    height: 1px;
    background: #fff;
    margin: 0;
    transition: 0.5s;
    position: absolute;
    left: 0;
    bottom: 5px;
}
.nav-links a:hover::after {
    width: 100%;
}
.dropdown .dropbtn:hover::after {
    width: 100%;
}
.dropdown-content {
    display: none;
    position: absolute;
    text-align: left;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 5;
}
.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.nav .search-container {
    float: right;
  }
.nav input[type=text] {
    padding: 6px;
    border: none;
    margin-top: 8px;
    font-size: 17px;
    color: black;
  }
  .nav .search-container button {
    float: right;
    padding: 6px 10px;
    margin-top: 8px;
    background: blue;
    font-size: 17px;
    border: none;
    cursor: pointer;
  }
.header {
    width: 100%;
    min-height: 30vh;
    padding: 10% 5px;
    text-align: center;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/maingate.JPG);
    background-position: center;
    background-size: cover;
    position: relative;
}
.header h1 {
    font-size: 4rem;
    font-weight: 600;
}
.header a {
    text-decoration: none;
    color: #fff;
    border: 1px solid #3f51b5;
    padding: 5px 20px;
    font-size: 16px;
    background: #3f51b5;
    cursor: pointer;
}
.header a:hover {
    color: #fff;
    background: #3f51b5;
    text-decoration: underline;
    transition: 1s;
}
.page-container {
    width: 100%;
    padding: 20px 10px;
    color: #ddd;
}
.page-content p {
    font-size: 1.5rem;
    line-height: 25px;
}
/* Slideshow container */
.slideshow-container {
    max-width: 1366px;
    position: relative;
    margin: auto;
  }
  /* Hide the images by default */
.mySlides {
    display: none;
    width: 100%;
    text-align: center;
  }
.mySlides img {
    width: 90%;
    vertical-align: middle;
    margin: auto;
}
/* Caption text */
.text {
    color: #fff;
    font-size: 2.5rem;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  .active, .dot:hover {
    background-color: #717171;
  }
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

/* Facility */
.facility {
    width: 100%;
    padding-top: 50px;
}
.facility .facility-heading {
    width: 100%;
    text-align: center;
}
.facility .facility-heading h2 {
    font-size: 30px;
    font-weight: 600;
}
.facility .facility-heading p {
    font-size: 1.5rem;
    font-weight: 400;
    padding: 10px;
}
.facility .facility-heading a {
    display: inline-block;
    text-decoration: none;
    color: #b7bbec;
    border: 1px solid #3f51b5;
    padding: 5px 20px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.facility .facility-heading a:hover {
    color: #fff;
    background: #3f51b5;
    transition: 1s;
}
.facility .facility-grid {
    width: 100%;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    padding: 15px 0;
    margin-top: 5px;
}
.facility .facility-grid .facility-col {
    background: #1a237e;
    color: rgba(255,255,255);
    border-radius: 10px;
    padding: 15px 15px;
    transition: 0.5s;
}
.facility .facility-grid .facility-col h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.facility .facility-grid .facility-col p {
    font-size: 1.7rem;
    font-weight: 200;
    color: #fff;
    padding: 5px 0px 5px 0;
}
.facility .facility-grid .facility-col img {
    width: 100%;
    border-radius: 10px;
}
.facility .facility-grid .facility-col img:hover {
    opacity: 0.5;
}
/* News and Events */
.news {
    width: 100%;
    padding-top: 50px;
}
.news .news-heading {
    width: 100%;
    text-align: center;
}
.news .news-heading h2 {
    font-size: 30px;
    font-weight: 600;
}
.news .news-heading p {
    font-size: 1.5rem;
    font-weight: 400;
    padding: 10px;
}
.news .news-grid {
    width: 100%;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    padding: 15px 0;
    margin-top: 5px;
}
.news .news-grid .news-col {
    background: #1a237e;
    color: rgba(255,255,255);
    border-radius: 10px;
    padding: 15px 15px;
    transition: 0.5s;
}
.news .news-grid .news-col h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.news .news-grid .news-col p {
    font-size: 1.7rem;
    font-weight: 200;
    color: #fff;
    padding: 5px 0px 5px 0;
}
.news .news-grid .news-col img {
    width: 100%;
    border-radius: 10px;
}
.news .news-grid .news-col img:hover {
    opacity: 0.5;
}
.news .news-grid .news-col a {
    text-decoration: none;
    border: 1px solid #fff;
    color: aqua;
    padding: 3px 10px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
}
.news .news-grid .news-col a:hover {
    border: 1.5px solid blue;
    color: #fff;
    text-decoration: none;
    transition: 1s;
}
/*-------------------------------------    
Statistics Counter
--------------------------------------*/
.statistics {
    position: relative;
    display: flex;
    align-items: center;
    background: url("../images/schoolcomp.JPG") no-repeat fixed;
    background-position: center;
    background-size: cover;
    padding: 100px 0px 100px 0px;
}
.statistics::before {
    position: absolute;
    content: '';
    background: rgba(75,75,75,.60);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
/* single-ststistics-box */
.single-statistics-box {
    text-align: center;
    margin-bottom: 20px;
    width: 200px;
}
.statistics-content {
    display: flex;
    justify-content: center;
    color:#fff;
    font-size:50px;
}
.statistics-content .studentsCounter,
.statistics-content .managementStaffCounter,
.statistics-content .academicStaffCounter,
.statistics-content .nonacademicStaffCcounter {
    letter-spacing: 0.5rem;
}
.statistics-content span {
    margin-left: 0;
}
.single-statistics-box h3 {
    color:#fff;
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 500;
}
/* Prefooter */
.prefooter {
    width: 100%;
    margin: auto;
    background: rgba(2, 19, 34, 0.9);
}
.prefooter a {
    text-decoration: none;
    color: #f2f2f2;
}
.prefooter a:hover {
    text-decoration: underline;
    color: blue;
}
.prefooter-grid {
    width: 95%;
    margin: auto;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 20px 0;
    margin-top: 5px;
}
.prefooter-col {
    flex-basis: 33.3%;
    color: rgba(255,255,255);
    padding: 20px 12px;
    transition: 0.5s;
}
.prefooter-col h3 {
    font-weight: 600!important;
    margin-left: 10px!important;
}
.prefooter-col p {
    font-weight: 300;
    color: #fff;
    padding: 10px;
}
.prefooter-col:hover {
    box-shadow: 0 0 20px 0 rgba(0, 30, 0, 0.5);
}
.footer {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    background: rgba(2, 19, 34, 0.9);
    color: #fff;
    position: relative;
}
.footer .fa {
    padding: 10px 20px;
    font-size: xx-large;
    color: white;
}
.gotoBtn {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 1;
    color: blue;
    display: none;
    margin-right: 10px;
    font-size: 40px;
}
@media (max-width: 700px) {
    .header h1 {
        font-size: 2rem;
    }
    .header h3 {
        font-size: 16px;
    }
    .header h4 {
        font-size: 14px;
    }
    .logo {
        width: 35%;
        float: left;
    }
    .logo img {
        width: 45px;
        height: 45px;
    }
    .nav .fa-bars {
        display: block;
        color: #fff;
        margin-right: 30px;
        margin-top: 50px;
        font-size: 25px;
        cursor: pointer;
        float: right;
    }
    .nav-links .fa-times {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 20px;
        cursor: pointer;
        padding-bottom: 25px;
    }
    .nav-links {
        position: fixed;
        background:#1a237e;
        height: 100%;
        width: 70%;
        padding-left: 15px;
        margin-top: 0;
        top: 0;
        right: -70%;
        text-align: left;
        z-index: 2;
        transition: 1s;
        }
    .nav-links a, .dropdown {
        float: none;
        display: block;
        text-align: left;
        }
.dropbtn .fa-caret-down {
        float: right;
        margin-top: 3px;
        font-size: 18px;
}
.nav .search-container {
        display: none;
}
.mySlides img {
        width: 100%;
        vertical-align: middle;
}
.text {
        font-size: 1.5rem;
}
      /* The dots/bullets/indicators */
      .dot {
        height: 10px;
        width: 10px;
      }
      .footer .fa {
        padding: 10px 15px;
        font-size: x-large;
    }
}