* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

.header {
  height: 100vh;
  overflow: auto;
  overflow-x: hidden;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/index.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 5%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 300px;
  margin-left: -60px;
  margin-top: -20px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 5px 5px;
  padding-right: 0%;
  position: relative;
}

.nav-links ul li a:link {
  color: white;
  text-decoration: none;
  font-size: 13px;
}

.nav-links ul li a:visited {
  color: white;
  font-size: 13px;
}

.nav-links ul li a:hover {
  /* color: rgb(185, 74, 89); */
  font-size: 13px;
  font-style: italic;
}

.nav-links ul li::after {
  content: "";
  height: 2px;
  width: 0%;
  background-color: rgb(185, 74, 89);
  display: block;
  margin: auto;
  transition: 1s;
}

.nav-links ul li:hover::after {
  /* content: ''; */
  height: 2px;
  width: 100%;
  display: block;
  margin: auto;
  /* transition: 1s; */
}

.text-book {
  width: 90%;
  position: absolute;
  text-align: center;
  color: floralwhite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-book h1 {
  font-size: 62px;
}

.text-book p {
  margin: 10px 0px 40px;
  font-size: 14px;
}

.visit-btn {
  display: inline-block;
  background: transparent;
  color: white;
  border: 3px solid white;
  padding: 12px 34px;
  text-decoration: none;
  font-size: 13px;
  position: relative;
  cursor: pointer;
}

.visit-btn:hover {
  background-color: black;
  color: white;
  border: 3px solid white;
  border-radius: 1rem;
  padding: 12px 34px;
  text-decoration: none;
  font-size: 13px;
  position: relative;
  transition: 0.5s;
}

nav .fa-solid {
  display: none;
}

@media (max-width: 700px) {
  .text-book h1 {
    font-size: 40px;
  }

  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: absolute;
    position: fixed;
    background: #f44336;
    height: 100vh;
    width: 150px;
    top: 0px;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  nav .fa-solid {
    display: block;
    font-size: 22px;
    margin: 10px;
    margin-left: 3px;
    cursor: pointer;
    /* width: fit-content; */
  }

  .nav-links ul {
    padding: 10px;
  }
}

/* ---------------------------------------------- COURSES -------------------------------------------------------- */

.courses {
  width: 80%;
  margin: auto;
  text-align: center;
  padding: 100px;
  max-width: fit-content;
}

h1 {
  font-size: 66px;
  font-weight: 600;
}
.courses h4 {
  font-weight: 400;
  text-align: center;
  margin: 10px 0;
}
.courses p {
  color: black;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

.course-col {
  flex-basis: 25%;
  background-color: #e2d9d9;
  border-radius: 10px;
  margin-top: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
}

h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.course-col:hover {
  box-shadow: 0 0 20px 0px rgb(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
  .courses {
    width: auto;
    max-width: fit-content;
    padding: 0px;
  }

  h1 {
    font-size: 40px;
    font-weight: 600;
  }

  .row {
    flex-direction: column;
  }
}

/* -------------------------------------------------- CAMPUS  --------------------------------------------------------- */

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.campus-col {
  flex-basis: 25%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.campus-col img {
  width: 100%;
  height: 100%;
  display: block;
}

.layer {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  transition: 0.5;
}

.layer:hover {
  background: rgba(226, 0, 0, 0.7);
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: white;
  font-size: 20px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

@media (max-width: 700px) {
  .campus-col {
    width: 60%;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

/* ------------------------------------------------- Facilities --------------------------------------------- */

.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.facilities-col {
  flex-basis: 25%;
  /* border-radius: 10px; */
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.facilities-col img {
  width: 100%;
  height: 45%;
  border-radius: 10px;
}

.facilities-col p {
  padding: 0;
  text-align: justify;
}

.facilities h4 {
  font-weight: 400;
  text-align: center;
  margin: 10px 0;
}

.facilities-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
}

/* -----------------------------------------------Testimoniala ------------------------------------------- */

.testimonials {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.testimonial-col {
  flex-basis: 33%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: rgb(255, 234, 220);
  padding: 25px;
  cursor: pointer;
  display: flex;
}

.testimonial-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonial-col p {
  padding: 0;
}

.testimonial-col h3 {
  margin-top: 15px;
  text-align: left;
}

.testimonial-col .fa-solid {
  color: gold;
}

.testimonial-col .fa-regular {
  color: gold;
}

@media (max-width: 700px) {
  .testimonial-col img {
    margin-left: 0px;
    margin-right: 15px;
  }

  .testimonial-col p {
    padding: 0;
    width: fit-content;
  }

  .testimonial-col h3 {
    margin-top: 5px;
    text-align: left;
    width: fit-content;
  }
}

/* CONTACT US */

.contact {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgb(0, 0, 0, 0.7), rgb(0, 0, 0, 0.7)),
    url(images/enroll.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.contact h1 {
  color: white;
  margin-bottom: 40px;
  padding: 0;
}

@media (max-width: 700px) {
  .contact h1 {
    font-size: 20px;
  }
}

/* ------------------------------------------------------------ FOOTER --------------------------------------------------------------------------- */

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.footer h4 {
  margin-top: 25px;
  margin-bottom: 20px;
  font-weight: 600;
}

.icons .fa-brands {
  color: red;
  margin: 0 10px;
  cursor: pointer;
  padding: 0 10px;
}

.footer-bottom {
  margin-top: 15px;
}

/* ---------------------------------------------------------------------------------------------------------------------- */

/* -------------------------------------------- ABOUT US PAGE ------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------------------------------------------ */

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgb(4, 9, 30, 0.7), rgb(4, 9, 30, 0.7)),
    url(images/about.jpg);
  background-position: center;
  background-size: cover;
  height: 400px;
  text-align: center;
  color: white;
}

.sub-header h1 {
  margin-top: 10px;
}

.about-us {
  width: 80%;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.about-col {
  flex-basis: 50%;
  padding: 30px 2px;
}

.about-col img {
  width: 100%;
}

.about-col h1 {
  padding-top: 0;
  font-size: 55px;
}

.about-col p {
  padding: 15px 0 25px;
}

#btn {
  border: 4px solid black;
  background: transparent;
  color: black;
  box-shadow: 0 0 10px 0 rgba(107, 107, 107, 0.5);
}

#btn:hover {
  background: black;
  color: white;
}

/* ---------------------------------------------------------------------------------------------------------------------- */

/* -------------------------------------------- BLOG PAGE ------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------------------------------------------ */

.blog-content {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.blog-left {
  flex-basis: 60%;
}

.blog-left img {
  width: 100%;
}

.blog-left h2 {
  color: black;
  font-weight: 500;
  margin: 30px 0;
}

.blog-left p {
  color: black;
  padding: 0;
}

.blog-right {
  flex-basis: 30%;
}

.blog-right h2 {
  background: orangered;
  color: white;
  padding: 7px 0;
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 10px;
}

.blog-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  margin-top: 5px;
  padding: 10px;
  box-sizing: border-box;
}

.comment {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}

.comment h3 {
  text-align: left;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
  margin-left: -2px;
}

.comment-form button {
  margin: 10px 0;
}

@media (max-width: 700px) {
  #blog-head h1 {
    font-size: 24px;
  }
}

/* ---------------------------------------------------------------------------------------------------------------------- */

/* -------------------------------------------- CONTACT PAGE ------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------------------------------------------ */

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}

.location iframe {
  width: 100%;
}

.contact-us {
  width: 80%;
  margin: auto;
}

.contact-col {
  flex-basis: 48%;
  margin: 30px;
}

.contact-col div {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .fa-solid {
  font-size: 20px;
  color: #f44336;
  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: 400px;
}

#contact-page {
  margin-top: -5px;
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
  }

  .contact-col div {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 40px;
    margin-left: -40px;
    box-sizing: border-box;
  }

  .contact-col div .fa-solid {
    font-size: 20px;
    color: #f44336;
    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: 400px;
  }
}
