* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.8)), url("Images/HomePage/img_1.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 80px;
}

nav h1 {
    color: #e5e5e5;
    margin-left: 40px;
    font-size: 30px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #e5e5e5;
    display: block;
    margin: auto;
    transition: 500ms;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.nav-links ul li audio {
    height: 30px;
    width: 80px;
}

.nav-links ul li:last-of-type::after {
    display: none;
}

.text-box {
    width: 80%;
    color: #e5e5e5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 61px;
}
.text-box h1 span{
    color: red;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #e5e5e5;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #003262;
    background: #003262;
    transition: 500ms;
    transform: scale(1.1);
}

nav .fa {
    display: none;
}

@media (max-width: 700px) {

    nav a img {
        width: 60px;
    }

    nav h1 {
        font-size: 18px;
        text-align: center;
        margin: 10px;
    }

    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: #18181a;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 500ms;
    }

    nav .fa {
        display: block;
        color: #e5e5e5;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }

    .nav-links ul li::after {
        display: none;
    }

    .nav-links ul li audio {
        width: 80px;
    }

}

/* -------- Course -------- */

.course {
    width: 80%;
    margin: auto;
    margin-bottom: 100px;
    text-align: center;
    padding-top: 100px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: #666;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content:space-evenly;
}

.course-col {
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    text-align: left;
    transition: 500ms;
    margin-left: 10px;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

@media (max-width: 700px) {
    .row {
        flex-direction: column;
        gap: 20px;
    }
}

/* ------- Campus -------- */

.campus {
    background: #003262;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 100px 120px 0 120px;
}

.campus h1,.campus p {
    color: #e5e5e5;
}

.campus-col {
    height: 450px;
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img {
    display: block;
    width: 100%;
    height: 100%;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 500ms;
}

.layer:hover {
    background: rgba(0, 50, 98, 0.5);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 500ms;
}

.layer:hover h3 {
    bottom: 50%;
    opacity: 1;
}

/* -------- Facilities --------- */

.facilities {
    background: #003262;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 100px;
    padding-bottom: 30px;
}

.facilities h1, .facilities p {
    color: #e5e5e5;
}

.facilities p {
    text-align: center;
}

.facilities-col {
    flex-basis: 33%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    padding: 20px;
}

.facilities-col img {
    width: 100%;
    height: 470px;
    border-radius: 10px;
    transition: 500ms;
}

.facilities-col h3 {
    color: #e5e5e5;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.facilities-col p {
    padding: 0;
    text-align: left;
}

.facilities-col:hover img {
    margin-bottom: 15px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

@media (max-width: 700px) {
    .campus {
        padding: 50px;
    }
    .facilities {
        padding: 50px;
    }
    .facilities-col img {
        height: auto;
    }
}

/* Our_Team */
.main {
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0c5db9;
}
  .profile-card{
    position: relative;
    font-family: sans-serif;
    width: 220px;
    height: 220px;
    background: #fff;
    padding: 30px;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
    margin: 0 25px;
  }
  .profile-card:hover{
    border-radius: 10px;
    height: 260px;
  }
  .profile-card .img{
    position: relative;
    width: 100%;
    height: 100%;
    transition: .6s;
    z-index: 99;
  }
  .profile-card:hover .img{
    transform: translateY(-60px);
  }
  .img img{
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
  }
  .profile-card:hover img{
    border-radius: 10px;
  }
  .caption{
    text-align: center;
    transform: translateY(-80px);
    opacity: 0;
    transition: .6s;
  }
  .profile-card:hover .caption{
    opacity: 1;
  }
  .caption h3{
    font-size: 21px;
    font-family: sans-serif;
  }
  .caption p{
    font-size: 15px;
    color: #0c52a1;
    font-family: sans-serif;
    margin: 2px 0 9px 0;
  }
  .caption .social-links a{
    color: #333;
    margin-right: 15px;
    font-size: 21px;
    transition: .6s;
  }
  .social-links a:hover{
    color: #0c52a1;
  }
/* End_our_team */

/* Happy_Client */

#counter {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #e6e6e7;
    padding: 40px 0px;
    width: 100%;
}
  #counter .item{
    background: #fff;
    width: 200px;
    height: 200px;
    padding: 35px 40px;
    margin: 10px;
    text-align: center;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 38px -8px rgba(0,0,0,0.34);
  -moz-box-shadow: 0px 0px 38px -8px rgba(0,0,0,0.34);
  box-shadow: 0px 0px 38px -8px rgba(0,0,0,0.34);
  } 
  #counter .item .count{
    color: #e8b12d;
    margin-bottom: 5px;
    font-size: 40px;
  }
  #counter .item h3{
    color: #4f4e28;
    text-transform: capitalize;
  }


/* end_happy_client */

/* --------- Testimonials ----------- */

.testimonials {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.testimonials-col {
    flex-basis: 48%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
    transition: 500ms;
}

.testimonials-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.testimonials-col img {
    height: 60px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p {
    padding: 0;
}

.testimonials-col h3 {
    font-size: 16px;
    margin-top: 15px;
    text-align: left;
}

.testimonials-col i {
    font-size: 14px;
    color: #003262;
}

@media (max-width: 700px) {
    .testimonials-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
}

/* --------- Enroll Banner ---------- */

.enroll-banner {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("Images/banner.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.enroll-banner h1 {
    color: #e5e5e5;
    margin-bottom: 10px;
    padding: 0;
}

@media (max-width: 700px) {
    .enroll-banner h1 {
        font-size: 20px;
    }
}

/* -------- Footer --------- */

footer {
    width: 100%;
    text-align: left;
    margin-top: 100px;
    padding: 5px 200px;
    background-color: #003262;
}

.foot-col {
    flex-basis: 25%;
    margin-bottom: 5%;
    padding-left: 40px;
    border-right: 1px solid rgba(229, 229, 229, 0.2);
}

.foot-col:last-of-type {
    border-right: none;
}

.foot-col h3 {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 4px solid rgba(229, 229, 229, 0.3);
    color: #e5e5e5;
}

.foot-col:nth-of-type(1) h3 {
    width: 45%;
}

.foot-col:nth-of-type(2) h3 {
    width: 30%;
}

.foot-col:nth-of-type(3) h3 {
    width: 51%;
}

.foot-col p {
    font-size: 14px;
    color: #e5e5e5;
}

.foot-col ul li {
    list-style: none;
    margin-bottom: 5%;
}

.foot-col ul li a {
    font-size: 14px;
    text-decoration: none;
    color: #e5e5e5;
}

.foot-col ul li a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    footer {
        padding: 10px;
    }

    .foot-col {
        border-right: none;
    }
}




/* ------------------------ About Us Page ------------------------ */

.sub-header>h1 {
    margin-top: 100px;
}

.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.8)), url("Images/background.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #e5e5e5;
}

.about-us {
    width: 80%;
    margin: auto;
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col {
    padding: 30px 2px;
}

.about-col:first-of-type {
    flex-basis: 61%;
}

.about-col:last-of-type {
    flex-basis: 34%;
}

.about-col img {
    width: 100%;
    height: 370px;
    border-radius: 10px;
}

.about-col h1 {
    padding-top: 0;
}

.about-col p {
    padding: 15px 0 25px;
}

.mission a {
    text-decoration: none;
    margin-left: 10px;
}

.mission a:hover {
    text-decoration: underline;
}

.mission ul li {
    list-style: none;
}


/* -------------------- Contact Us Page ----------------------- */

.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe {
    border-radius: 5px;
    width: 100%;
}

.contact-us {
    width: 80%;
    margin: auto;
}

.contact-col {
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa {
    font-size: 28px;
    color: #003262;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p {
    padding: 0;
}

.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input, .contact-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.blue-btn {
    background-color: #003262;
    border: 1px solid #003262;
    color: #fff;
}

.blue-btn:hover {
    transform: none;
}

.footer-bar {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
  }

  .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-info a, .contact-info p {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
  }

  /* notice section */
  .floater-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 1000;
    animation: floatIcon 2s infinite linear;
  }

  @keyframes floatIcon {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    50% {
      transform: translateY(20px);
      opacity: 0.5;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }



  .floater-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 300px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
  }

  .floater-content {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .notice-image {
    max-height: 60px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 10px;
  }

  .notice-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .notice-title {
    flex-grow: 1;
    font-size: 1.2em;
    font-weight: bold;
  }

  .close-button {
    cursor: pointer;
    font-size: 1.5em;
    color: #888;
  }
  /* end of notice section */