/* % Google Font(s) */
/* Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

/* Robot0-Mono */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap");

/* Titillium web */
@import url("https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap");

/* Ubuntu */
@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");

:root {
  --navy-blur: rgba(4, 9, 30, 0.7);

  --accent-color-1: #adf802;

  --hover-black: rgba(0, 0, 0, 0.2);

  --green-layer: rgba(174, 255, 98, 0.45);

  --cream: #fff3f3;

  --icon-color: #37522c;

  --icon-color-2: #1e2a19;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat Alternates", sans-serif;
}

#active {
  border-bottom: var(--accent-color-1) solid 2px;
}

/*$----------------------------------[***Home***]--------------------------------------- */

/** ----------------------------------[Header class Styling]-------------------------------------- */

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(var(--navy-blur), var(--navy-blur)),
    url(images/school_pictures/header.jpeg);
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 75px;
}

.nav-links {
  flex: 1; /* occupies all the space in that row.  */
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.nav-links ul li::after {
  content: ""; /* uses to insert generated content, when '::after is used'*/
  width: 0%;
  height: 2px;
  background: var(--accent-color-1);
  display: block;
  margin: auto;
  transition: 0.5s;
  cursor: pointer;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%); /* will mae it at the center of the div */
  text-align: center;
}

.text-box h1 {
  font-size: 62px;
}

.text-box p {
  font-family: "Roboto Mono", monospace;
  margin: 10px 0 40px;
  font-size: 14px;
  color: #fff;
}

.hero-btn {
  display: inline;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: ease-in-out 0.1s;
}

.hero-btn:hover {
  border: 1px solid var(--icon-color-2);
  background: var(--icon-color);
  transition: 1s;
  color: var(--navy-blur);
  color: #fff;
}

nav .fa {
  display: none;
}
/*# tried using the transition thing. didn't work out well. */

/* .spacer {
    aspect-ratio: 960/300;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.transition-1 {
    background-image: url("./images/transition_1.svg");
} */

/** ----------------------------------[education class Styling]-------------------------------------- */
.education {
  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; /*makes the items of the row alignable in rows or columns*/
  justify-content: space-between; /*self-explanatory*/
}

.education-col {
  flex-basis: 31%; /* determines the inital size of the flex item.*/
  background: var(--cream);
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box; /*evenly spreads out the padding between boxes/columns*/
  transition: 0.5s;
}

.row h3 {
  font-family: "Titillium Web", sans-serif;
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.education-col:hover {
  box-shadow: 0 0 20px 0px var(--hover-black);
  transform: translateY(-10%);
}

/** ----------------------------------[facilities class Styling]-------------------------------------- */

.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.facilities-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  max-height: 70vh;
}

.facilities-col img {
  width: 100%;
  display: block;
}

.layer {
  background: transparent;
  height: 0;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  transition: height 0.65s;
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: ease-in-out 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

.facilities-col:hover .layer {
  background-color: var(--green-layer);
  height: 99.9%;
}

/* * ----------------------------------[Campus class Styling]-------------------------------------- */

.campus {
  width: 70%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  background-color: var(--cream);
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#campus-about{
  margin-top: 100px;
}

.school-image img {
  max-width: 100%;
  height: 50vh;
  border-radius: 20px;
  transition: 0.5s ease-in-out;
}

.school-image img:hover {
  box-shadow: 20px 20px 60px 20px var(--hover-black);
}

.school-details {
  flex: 1;
  padding: 0 20px;
}

.school-details h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.school-details p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.learn-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--icon-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.learn-more:hover {
  background-color: var(--icon-color-2);
}
.school-details h6 {
  margin: auto;
  padding-bottom: 0.5rem;
}

.reg-orgs {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align items at the top */
  gap: 20px;
}

.org p {
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
}

#waec-text{
  margin-left: 70px;
}

#neco-text{
  margin-top: -15.5px;
  margin-left: 40px; 
}

.reg-orgs #waec {
  width: 190px;
}

.reg-orgs img {
  width:115px;
  margin: auto;
  padding: 1rem;
}

/** ----------------------------------[Swiper JS] ----------------------------------- */

.mySwiper {
  max-width: 1120px;
  width: 100%;
  padding: 40px 0;
}

.container {
  margin: 0 40px;
  overflow: hidden;
}

div.swiper-slide {
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-slide .box {
  height: 380px;
  width: 350px;
  background: var(--cream);
  flex-direction: column;
  border-radius: 25px;
}

.box .img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
}

.box .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.box .info {
  padding: 10px;
  text-align: center;
}

.box .info h2 {
  font-size: 24px;
  font-weight: 600;
  cursor: text;
  margin-bottom: 5px;
}

.box .info p {
  font-size: 16px;
  cursor: text;
}

.box .info .btn {
  margin-top: 10px;
}

.box .info .btn button {
  background: var(--icon-color);
  color: #fff;
  font-size: 14px;
  padding: 8px 16px;
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
}

.box .info .btn button:hover {
  background: var(--icon-color-2);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  position: absolute;
  font-size: 2rem;
  font-weight: bold;
  padding: 10px;
  color: var(--icon-color);
}

.swiper-button-next::after {
  right: -15px;
}

.swiper-button-prev::after {
  left: -15px;
}

/* Default styling for larger screens */
/* .box {
  width: 350px;
} */

/* @media (max-width: 750px) {
  .box {
    width: 100%;
  }
} */

/** ----------------------------------[Testimonials class Styling]-------------------------------------- */
.testimonials {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.testimonial-col {
  flex-basis: 40%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: var(--cream);
  padding: 35px;
  cursor: pointer;
  display: flex;
  transition: ease-in-out 0.2s;
}

.testimonial-col img {
  height: 17vh;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 10%;
  border: solid var(--accent-color-1) 1.5px;
  transition: ease-in-out 0.5s;
}

.testimonial-col img:hover {
  transform: scale(1.2);
}

.testimonial-col:hover {
  box-shadow: 0 0 20px 0px var(--hover-black);
  transform: translateY(-7.5%);
}

.testimonial-col p {
  padding: 0;
  font-weight: 750;
}

.testimonial-col h3 {
  margin-top: 15px;
  text-align: left;
}

.testimonial-col .fa {
  color: var(--accent-color-1);
}

/** ----------------------------------[cta class Styling]-------------------------------------- */
.cta {
  margin-left: auto;
  margin-right: auto;
  margin-top: 160px;
  margin-bottom: 5px;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/school_pictures/header-sub.jpg);
  background-position: 0px -90px center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.cta h1 {
  color: white;
  margin-bottom: 20px;
  padding: 0;
}

/** ----------------------------------[Footer class Styling]-------------------------------------- */
.footer {
  height: 10vh;
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.footer h4 {
  margin-top: 5%;
  font-weight: 600;
}

.footer p i {
  font-size: 15px;
  color: #37522c;
  padding: 5px;
  cursor: pointer;
}

.footer-info {
  max-height: 50vh;
}

.footer-info p a {
  text-decoration: none;
  color: blue;
}

/** ----------------------------------[Icons class Styling]-------------------------------------- */
.icons .fa {
  color: var(--icon-color);
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}

/*$----------------------------------[***About***]--------------------------------------- */

/* Font */

#hamburger {
  color: var(--accent-color-1);
}

#about-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/sample_pictures/graduation.jpg);
  background-size: cover;
  text-align: center;
  color: #fff;
}

#about-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;
}

.about-col img {
  width: 100%;
  border: transparent 2px solid;
  border-radius: 10px;
}

.about-col h1 {
  font-family: "Titillium Web", sans-serif;
  padding-top: 0;
}

.about-col p {
  font-weight: 500;
  font-family: "Ubuntu", sans-serif;
  padding: 15px 0 25px;
}

.about-col a {
  color: black;
  border: var(--accent-color-1) 2px solid;
  border-radius: 5px;
}

/*$----------------------------------[***education***]--------------------------------------- */

#education-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/sample_pictures/course_banner.jpg);
  background-size: cover;
  text-align: center;
  color: #fff;
}

#education-header h1 {
  margin-top: 100px;
}

/*$----------------------------------[***Blog***]--------------------------------------- */

#blog-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/sample_pictures/update.jpg);
  background-size: cover;
  text-align: center;
  color: #fff;
}

#blog-header h1 {
  margin-top: 100px;
}

.blog-content {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.blog-left {
  flex-basis: 65%;
}

.blog-left img {
  width: 100%;
}

.blog-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.blog-left p {
  color: #999;
  padding: 0;
  font-weight: 600;
}

.blog-right {
  flex-basis: 32%;
}

.blog-right h3 {
  background: var(--icon-color);
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  margin-bottom: 20px;
}

.blog-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

#blog-btn {
  display: inline;
  text-decoration: none;
  color: var(--icon-color);
  border: 1px solid var(--icon-color);
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: ease-in-out 0.2s;
  border-radius: 7px;
}

#blog-btn:hover {
  border: 1px solid var(--icon-color-2);
  background: var(--icon-color);
  transition: 1s;
  color: white;
}

.comment-box {
  border: 1px solid var(--icon-color);
  margin: 50px 0;
  padding: 10px 20px;
  border-radius: 15px;
}

.comment-box h3 {
  text-align: left;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
  font-family: "Ubuntu", sans-serif;
}

.comment-form button {
  margin: 10px 0;
}

/*$----------------------------------[***Contact***]--------------------------------------- */

#contact-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/sample_pictures/contact.jpg);
  background-size: cover;
  background-position: center calc(50% - 7px);
  text-align: center;
  color: #fff;
}

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}

.iframe-border {
  border: 3px solid var(--icon-color);
  border-radius: 11px;
  min-width: fit-content;
  min-height: fit-content;
}

.location iframe {
  width: 100%;

  border-radius: 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: var(--icon-color);
  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 form {
  border: 2px solid var(--icon-color);
  padding: 20px;
  width: 100%;
  border-radius: 10px;
}

.contact-col form h4 {
  text-align: center;
  font-size: 20px;
  padding-bottom: 10px;
}

.contact-col input,
.contact-col textarea {
  width: 90%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid var(--icon-color);
  border-radius: 10px;
  box-sizing: border-box;
}

/*$----------------------------------[Smaller Screens: <= 750px]--------------------------------------- */

@media (max-width: 750px) {
  /** ----------------------------------[Header class Styling]-------------------------------------- */

  .header {
    background-position:  center;
  }

  .box {
    width: 100%;
  }

  /* reduced font size for the center text  */
  .text-box h1 {
    font-size: 20px;
  }

  /* menu section */
  .nav-links ul li {
    display: block;
  }

  .nav-links ul li a {
    color: var(--navy-blur);
  }

  #active {
    color: white;
  }

  .nav-links {
    position: fixed;
    background: var(--accent-color-1);
    height: 100vh;
    width: 170px;
    top: 0;
    right: -170px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  nav .fa {
    display: block;
    color: var(--navy-blur);
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    padding-left: 0.5rem;
  }

  .nav-links ul {
    color: var(--navy-blur);
    padding-left: 0.5rem;
    font-weight: bold;
  }

  .nav-links ul li a {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
  }

  /** -----------------------------------[campus]------------------------ */

  .campus {
    flex-direction: column; /* Stack items vertically for mobile */
    padding: 20px; /* Adjust the padding as needed */
  }

  .school-image#mobile {
    text-align: center; /* Center-align the image */
    margin-bottom: 15px; /* Add spacing between image and text */
  }

  .school-image#mobile img {
    width: 95%; /* Adjust the image size */
    max-height: 50vh; /* Set max height for responsiveness */
    border-radius: 20px; /* Adjust the border-radius as needed */
  }

  .school-details#mobile {
    text-align: center; /* Center-align the text */
  }

  .learn-more {
    display: inline-block;
    padding: 10px 20px; /* Adjust the padding as needed */
    background-color: var(--icon-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push the button to the bottom */
    align-self: center; /* Center the button horizontally */
  }

  
  .reg-orgs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #waec-text,#neco-text{
    margin-left: -15px;
  }

  .org p {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
  }
  /** -----------------------------------[facilities]------------------------ */
  .info p {
    font-size: 2px;
    font-weight: 600;
  }

  div.swiper-slide {
    height: 70vh;
    width: fit-content;
  }

  /** ----------------------------------[Course class Styling]-------------------------------------- */

  .row {
    flex-direction: column;
  }
  /** ----------------------------------[Testimonials class Styling]-------------------------------------- */
  .testimonial-col {
    padding: 25px;
  }

  .testimonial-col img {
    margin-left: 0px;
    margin-right: 15px;
  }

  .cta h1 {
    font-size: 30px;
    font-family: "Ubuntu", sans-serif;
  }

  /** ----------------------------------[Contact class Styling]-------------------------------------- */

  .contact-col form {
    width: 80%;
  }

  .contact-col form button {
    margin-left: -0.5%;
    width: 90%;
  }

  /** ----------------------------------[Footer class Styling]-------------------------------------- */
  #bottom-remarks {
    font-size: 10px;
    font-weight: 800;
  }
}
