* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
/* ########################### navbar styling ############################ */
.header {
  height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(./Images/banner.png);
  background-size: cover;
  background-position: center;
  position: relative;
}
.navbar {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}
.navbar img {
  width: 150px;
}
.nav-links {
  flex: 1;
  text-align: right;
}
.nav-links ul li {
  display: inline-block;
  padding: 0 1em;
  list-style: none;
  position: relative;
}
.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}
.nav-links ul li::after {
  content: " ";
  display: block;
  width: 0%;
  height: 2px;
  background: #f44336;
  transition: 0.5s;
  margin: auto;
}
.nav-links ul li:hover::after {
  width: 100%;
}
/* ################################### text area styling ####################### */
.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  font-size: 62px;
}
.text-box p {
  font-size: 13px;
  margin: 10px 0 40px;
}
.hero-btn {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  position: relative;
  display: inline-block;
  background: transparent;
  padding: 12px 34px;
  border: 1px solid #fff;
  cursor: pointer;
}

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}
nav .fas {
  display: none;
}
/* ################## course styling ########## */
.course {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}
.course h1 {
  font-size: 36px;
  font-weight: 600;
}
.course p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #777;
  padding: 10px;
}
/* ########################### rows styling ###################### */
.rows {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
.row {
  flex-basis: 31%;
  border-radius: 10px;
  background: #fff3f3;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}
.row h3 {
  font-weight: 600;
  margin: 10px 0;
  text-align: center;
}
.row:hover {
  box-shadow: 0px 0px 20px 0px rgb(150, 148, 148);
}
/* ################## campuses styling ###################### */
.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.campus p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #777;
  padding: 10px;
}
.campus h1 {
  font-size: 36px;
  font-weight: 600;
}
.campus-row {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}
.campus-row img {
  width: 100%;
  display: block;
}
.layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  top: 0;
  left: 0;
  transition: 0.5s;
}
.layer:hover {
  background: rgba(226, 0, 0, 0.7);
}
.layer h3 {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  bottom: 0;
  width: 100%;
  transform: translate(-50%);
  left: 50%;
  position: absolute;
  opacity: 0;
  transition: 0.7s;
}
.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}
/* ######################## facilities styling ########################### */
.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.facilities h1 {
  font-size: 36px;
  font-weight: 600;
}
.facilities p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #777;
  padding: 10px;
}
.facilities-row {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  /* overflow: hidden;
  position: relative; */
}
.facilities-row img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.facilities-row h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
}
.facilities-row p {
  padding: 0;
}
/* ################## testimonial ######################### */
.testimonial {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.testimonial h1 {
  font-size: 36px;
  font-weight: 600;
}
.testimonial p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #777;
  padding: 10px;
}
.testimonial-row {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  padding: 25px;
  display: flex;
  background: #fff3f3;
  cursor: pointer;
}
.testimonial-row img {
  height: 40px;
  margin-left: 5px;
  margin-right: 40px;
  border-radius: 50%;
  display: block;
}
.testimonial-row p {
  padding: 0;
}
.testimonial-row h3 {
  margin-top: 15px;
  text-align: left;
}
.testimonial .fa {
  color: #f44336;
}
/* ######################## cta styling ########################## */
.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(./Images/banner2.jpg);
  padding: 100px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}
.cta h1 {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}
/* ###################### footer styling ######################## */
.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}
.footer h4 {
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 25px;
}
.footer p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #777;
  padding: 10px;
}
.icons .fa {
  color: #777;
  padding: 18px 0;
  margin: 0 13px;
  cursor: pointer;
}
.fa-heart-o {
  color: #f44336;
}
/* ######################### about page styling ################# */
.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(./Images/background.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}
.sub-header h1 {
  margin-top: 100px;
}
/* ############# about-row styling ######################### */
.about-row p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #777;
  padding: 15px 0 25px;
}
.about-us {
  width: 80%;
  padding-top: 80px;
  padding-bottom: 50px;
  margin: auto;
}
.about-row {
  flex-basis: 48%;
  padding: 30px 2px;
}
.about-row img {
  width: 100%;
}
.about-row h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 32px;
  padding: 0;
}
.red-btn {
  border: 1px solid #f44336;
  color: #f44336;
  background: transparent;
}
.red-btn:hover {
  color: #fff;
}
/* --------------------- blog-content ------------------- */
.blog-content {
  width: 80%;
  padding: 60px 0;
  margin: auto;
}
.blog-left {
  flex-basis: 65%;
}
.blog-left img {
  width: 100%;
}
.blog-left h3 {
  font-weight: 600;
  color: #222;
  margin: 30px 0;
}
.blog-left p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #999;
  padding: 0;
}
.blog-right {
  flex-basis: 32%;
}
.blog-right h4 {
  font-size: 16px;
  /* font-weight: 600; */
  background: #f44336;
  color: #fff;
  padding: 7px 0;
  margin-bottom: 20px;
  text-align: center;
}
.blog-right div {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  color: #555;
}
.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 12px 20px;
}
.comment-box h3 {
  text-align: left;
}
.comment-box input,
.comment-box textarea {
  box-sizing: border-box;
  outline: none;
  margin: 15px 0;
  padding: 10px;
  width: 100%;
  border: none;
  background: #f0f0f0;
}
.comment-box button {
  margin: 10px 0;
}
/* ------------------- contact page styling -------------------- */
.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}
.location iframe {
  width: 100%;
}
.contact-us {
  width: 80%;
  margin: auto;
}
.contact-row {
  flex-basis: 48%;
  margin-bottom: 30px;
}
.contact-row p {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #999;
  padding: 0;
}
.contact-us div {
  display: flex;
  /* flex-direction: column; */
  margin-bottom: 30px;
  align-items: center;
}
.contact-row .fa {
  margin: 10px;
  margin-right: 30px;
  font-size: 28px;
  color: #f44336;
}
.contact-row h5 {
  font-size: 24px;
  font-weight: 400;
  margin: 5px;
  color: #555;
}
/* ################# media quiries ##################### */
@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    background: #f44336;
    height: 100vh;
    width: 200px;
    position: fixed;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  nav .fas {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links ul {
    padding: 30px;
  }
  .rows {
    flex-direction: column;
  }
  .testimonial-row img {
    margin-left: 0px;
    margin-right: 15px;
    display: block;
  }
  .cta h1 {
    font-size: 24px;
  }
  .sub-header h1 {
    font-size: 24px;
  }
  /* .contact-us div {
    flex-direction: column;
  } */
}
