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

body {
  background-color: #eed;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 10, 0.7), rgba(4, 9, 10, 0.7)),
    url(images/banner2.png);
  background-position: center;
  background-size: cover;
  position: relative;
}

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

nav img {
  height: 120px;
}

.nav-links {
  margin-top: -50px;
  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: white;
  text-decoration: none;
  font-size: 13px;
}

.nav-links ul li ::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.3s;
}

.nav-links ul li :hover::after {
  width: 100%;
}

.logo {
  height: 160px;
}

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

.text-box h1 {
  font-size: 62px;
}
.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: white;
}

.plain-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

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

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 0.5s;
}

nav .fa {
  display: none;
}

.header h3 {
  color: white;
  position: absolute;
  transform: translate(-50%);
  margin-top: 80px;
  left: 50%;
  font-weight: 100;
  font-size: 16px;
}

.arrows {
  width: 60px;
  height: 72px;
  position: absolute;
  left: 50%;
  margin-left: -10px;
  bottom: 0px;
  z-index: 3;
}

.arrows path {
  stroke: white;
  fill: transparent;
  stroke-width: 1px;
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite;
}

@keyframes arrow {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes arrow {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.arrows path.a1 {
  animation-delay: -1s;
  -webkit-animation-delay: -1s;
}

.arrows path.a2 {
  animation-delay: -0.5s;
  -webkit-animation-delay: -0.5s;
}

.arrows path.a3 {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
}

@media (max-width: 700px) {
  nav img {
    height: 70px;
    padding: 20px;
  }
  .text-box h1 {
    font-size: 20px;
  }
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    margin-top: 0px;
    position: fixed;
    background: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
  }
  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    padding: 10px;
  }
  .nav-links ul {
    padding: 30px;
  }

  .arrows {
    /* width: 40px;
    height: 28px; */
    bottom: 50px;
    opacity: 0.8;
  }

  .arrows path {
    stroke: #aaa;
  }

  .header h3 {
    display: none;
  }
  ::-webkit-scrollbar {
    display: none;
  }
}

/* -------COURSE------- */

.course {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
h1 {
  font-size: 36px;
  font-weight: 600;
}
p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.course-col {
  flex-basis: 48%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  margin-right: 50px;
  box-sizing: border-box;
  transition: 0.2s;
}
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);
}

@media (max-width: 1000px) {
  .row {
    flex-direction: column;
  }
}

/* ------- campus ------- */

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

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

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

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.2s;
}

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

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

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

/* --------facilities-------- */

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

.facilities-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}

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

.facilities-col p {
  padding: 0;
}

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

/* --------- Testimonials ------- */

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

.testimonials-col {
  margin: 0px 20px;
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #fff3f3;
  padding: 35px;
  padding-left: 30px;
  cursor: pointer;
  display: flex;
  transition: 0.5s;
}

.testimonials-col img {
  margin-top: 20px;
  height: 50px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

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

.testimonials-col p {
  padding: 0;
}

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

.testimonials-col .fa {
  color: #fa7e75;
}

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

/* ------- Call to action ------- */

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

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

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

/* --------footer-------- */

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

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

.icons {
  color: #f44336;
  margin: 0 13px;
  cursor: pointer;
  /* padding: 18px 0; */
  font-size: 24px;
}

.icons-blue {
  color: #3f5177;
  cursor: pointer;
  font-size: 18px;
}

/* ------------Sub header---------- */

.sub-header {
  height: 50vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: white;
}

.sub-header-image-1 {
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/banner.png);
}

.sub-header-image-2 {
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/students.jpg);
}

.sub-header-image-3 {
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/background2.png);
}

.sub-header-image-4 {
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/OAT.jpg);
}

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

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

.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
  transition: 0.2s;
}

.about-col img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

.about-col h1 {
  padding-top: 0;
}

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

.red-btn {
  border: 1px solid #f44336;
  background: transparent;
  color: #f44336;
}

.red-btn:hover {
  color: white;
}

/* ------- Blog -------   */

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

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

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

.blog-left h2 {
  color: #222;
  font-size: 40px;
  font-weight: 600;
  margin: 30px;
}

@media (max-width: 700px) {
  .blog-left h2 {
    font-size: 20px;
  }

  .sub-header h1 {
    font-size: 26px;
  }
}

.comment-box {
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 50px 0;
  padding: 10px 20px;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

.comment-box h3 {
  text-align: left;
  padding: 20px;
  padding-left: 0px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  background: #f0f0f0;
}

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

/* --------Contact us-------- */

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

.location h1 {
  text-align: center;
  padding: 20px;
}

.map {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

.location iframe {
  width: 100%;
  margin-bottom: -10px;
}

.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: #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: 400;
}

.contact-col h1 {
  text-align: center;
  padding: 20px;
}

.contact-col form input,
.contact-col form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 10px;
}

.contact-col form textarea {
  resize: none;
}

.submit-btn {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .contact-col div h5 {
    font-size: 15px;
  }
}

#status {
  justify-content: center;
  width: 90%;
  max-width: 600px;
  text-align: center;
  padding: 10px;
  margin: 20px auto;
  border-radius: 10px;
}

#status.success {
  background-color: rgb(142, 252, 98);
  animation: status 4s ease forwards;
}

#status.failure {
  background-color: rgb(245, 60, 60);
  color: #fff;
  animation: status 4s ease forwards;
}

@keyframes status {
  0% {
    opacity: 1;
    pointer-events: all;
  }
  90% {
    opacity: 1;
    pointer-events: all;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}
.course-col-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* Example height for the container */
}

.hero-btn-2 {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  color: black;
  border: 1px solid white;
  background: transparent;
  cursor: pointer;
}

.hero-btn-2:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 0.5s;
}

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

.hero-btn-4 {
  display: inline-block;
  text-decoration: none;
  color: black;
  border: 1px solid white;
  border-radius: 5%;
  padding: 12px;
  font-size: 13px;
  background-color: white;
  position: relative;
  cursor: pointer;
}


.hero-btn-4:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 0.5s;
}