@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
}
.backdrop {
  width: 100%;
  height: 100%;
  position: fixed;
  display: none;
}
body {
  font-family: "Hanken Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.hero-section {
  background: url(pexels-molnartamasphotography-14031189.jpg);
  background: url(assets/pexels-vadutskevich-16066009.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 670px;
  position: relative;
}
.hero-section .navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 50px;
  position: relative;
}
.navigation ul {
  display: flex;
  gap: 17px;
}
.navigation ul li {
  list-style: none;
  position: relative;
}
.navigation ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f20e34;
  margin: 0px auto;
  position: absolute;
  display: block;
  left: 0px;
  bottom: 0px;
  transition: 0.5s;
}
.navigation ul li:hover::after {
  width: 100%;
}
.navigation ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
}
/* menu */
.navigation .menu-cover {
  cursor: pointer;
  padding-top: 6.5px;
  position: relative;
  padding-right: 5px;
  display: none;

  &:hover {
    border-right: 3px solid hsl(350, 100%, 88%, 0.9);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
}
.menu-cover .menu {
  width: 35px;
  height: 3px;
  margin-bottom: 6px;
  background-color: #fff;
  border-radius: 1px;
}

.menu-cover .line1 {
  width: 23px;
  margin-left: 12px;
}
.menu-cover .line2 {
  background-color: hsl(350, 100%, 88%, 0.9);
}
/* side bar */
.navigation .side-bar {
  background-color: hsl(240, 100%, 50%, 0.3);
  backdrop-filter: blur(2px);
  box-shadow: -3px 0px 9px rgb(46, 43, 40);
  position: fixed;
  right: 0px;
  top: 0px;
  height: 100%;
  width: 300px;
  z-index: 999;
  display: none;
  animation-name: slide;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}
@keyframes slide {
  from {
    transform: translateX(130%);
  }
}
.side-bar ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 50px;
  padding: 0.2rem 1.5rem;
}
.side-bar ul li {
  line-height: 60px;
}
@media (max-width: 706px) {
  .navigation .menu-cover {
    display: block;
  }
  .navigation .desktop-size-display {
    display: none;
  }
}
@media (min-width: 707px) {
  .navigation .side-bar {
    visibility: hidden;
  }
  .backdrop {
    visibility: hidden;
  }
}
.hero-section .center-hero-contents {
  color: #fff;
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.center-hero-contents h1 p {
  text-align: center;
}
.center-hero-contents .center-hero-h1 {
  font-size: 3.5rem;
  margin-bottom: 40px;
  text-align: center;
  /* color: ; */
}

.center-hero-contents .center-p-info {
  margin-bottom: 40px;
  text-align: center;
  width: 60%;
}
.center-hero-contents .hero-action-btn-link {
  border: none;
  cursor: pointer;
  background-color: transparent;
  padding: 15px 35px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 15px;
  position: relative;
  text-decoration: none;

  &:hover {
    /* background-color: rgb(240, 22, 58); */
    background-color: hsl(350, 100%, 88%, 0.9);
    border: 1px solid;
    transition: all 0.3s ease-in-out;
  }
}
.hero-action-btn-link::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 23px;
  width: 33px;
  height: 2px;
  background-color: rgb(255, 255, 255);
}
.hero-action-btn-link::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 23px;
  width: 33px;
  height: 2px;
  background-color: #fff;
}
.hero-action-btn-link:hover::after {
  /* background-color: rgb(240, 22, 58); */
  background-color: hsl(350, 100%, 88%, 0.8);
}
.hero-action-btn-link:hover::before {
  /* background-color: rgb(240, 22, 58); */
  background-color: hsl(350, 100%, 88%, 0.8);
}
.second-sec {
  background-color: #fff;
  padding: 5rem 0px;
}
.second-sec .course-h1,
.course-p {
  text-align: center;
}
.course-h1 {
  font-size: 200%;
}
.course-p {
  color: #333;
  padding: 14px;
}
.second-sec .courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 25px;
  margin: 0px auto;
  padding: 50px 50px;
}
.courses .course-box {
  /* background-color: rgb(249, 210, 234, 0.6); */
  background-color: hsl(350, 100%, 88%, 0.7);
  border-radius: 7px;
  padding: 25px 20px;
  color: #fff;
  text-align: center;
}
.course-box h3 {
  padding: 15px 0px 23px 0px;
  color: #000;
}
.course-box p {
  font-size: 15px;
  line-height: 23px;
  text-align: center;
  color: rgb(6, 35, 35);
}
.course-box:hover {
  box-shadow: 0px 0px 13px #bec1c3;
  transition: 0.2s;
}
@media (max-width: 723px) {
  .second-sec .courses {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 515px) {
  .second-sec .courses {
    grid-template-columns: repeat(1, 1fr);
  }
}
.third-section {
  /* background-color: rgba(226,0,0,0.7); */
}
.third-section .campus-h1,
.campus-p {
  text-align: center;
}
.campus-h1 {
  font-size: 200%;
  padding-bottom: 15px;
}
.campus-p {
  color: #7b7c7c;
}
.third-section .campus {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
}
.campus .campus-col {
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
}
.campus .campus-col:hover img {
  transform: scale(1.2);
  filter: brightness(70%);
}

.campus-col img {
  max-width: 250px;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  transition: 0.5s all ease-in-out;
  cursor: pointer;
}
.campus-col .layer {
  text-align: center;
}
.layer h3 {
  text-align: center;
  position: absolute;
}
@media (max-width: 601px) {
  .third-section .campus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
}
@media (max-width: 436px) {
  .third-section .campus {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 30px;
  }
  .campus-col img {
    max-width: 400px !important;
    width: 100%;
    height: 400px;
    border-radius: 10px;
  }
  .campus .campus-col {
    max-width: 370px;
    margin: auto;
  }
}
/* fourth-section */
.fourth-section {
  /* background-color: rgba(226,0,0,0.7); */
  padding: 50px 10px;
}
.fourth-section .fourth-section-h1,
.fourth-section-p {
  text-align: center;
  padding: 5px 0px;
}
.fourth-section-h1 {
  font-size: 200%;
}
.fourth-section-p {
  color: #7b7c7c;
}
.fourth-section .facilities {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: 320px 320px 320px;
  margin: 0px auto;
  padding: 35px 10px;
  gap: 20px;
  justify-content: center;
}
.facilities .column-layout-box {
  max-width: 350px;
  width: 100%;
  margin: 0px auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.column-layout-box img {
  /* max-width: 320px; */
  width: 100%;
  height: 250px;
  border-radius: 6px;
}
.column-layout-box figcaption {
  background-color: #fff;
  /* width: 320px; */
  margin: 10px 0px;
  padding: 5px 0px;
}
figcaption h3 {
  padding-bottom: 10px;
}
figcaption p {
  color: rgba(144, 145, 147, 0.968);
  font-size: 15px;
}
@media (max-width: 998px) {
  .fourth-section .facilities {
    grid-template-columns: 320px 320px;
    gap: 15px;
  }
}
@media (max-width: 681px) {
  .fourth-section .facilities {
    grid-template-columns: 50% 50%;
    gap: 15px;
  }
}
@media (max-width: 442px) {
  .fourth-section .facilities {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* fifth section */
.fifth-section {
  padding: 2rem 0rem;
}
.fifth-section .fifth-section-h1,
.fifth-section-p {
  text-align: center;
}
.fifth-section-h1 {
  font-size: 200%;
}
.fifth-section-p {
  font-size: 15px;
  color: #7b7c7c;
}
.fifth-section .testimonial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 2rem 1rem;
}
.testimonial .testimonial-columns {
  background-color: hsl(350, 100%, 88%, 0.7);
  padding: 0.8rem;
  border-radius: 5px;
}
.testimonial-columns .profile {
  width: 40px;
  border-radius: 50%;
}
.testimonial-columns .graduate-name {
  color: #000;

  &:hover {
    opacity: 0.7;
    transition: 0.3s;
    cursor: pointer;
  }
}
.testimonial-columns .rating-stars {
  width: 80px;
  cursor: pointer;
  margin-bottom: 10px;
}
.testimonial-columns .quote {
  font-size: 15px;
  font-style: italic;
}
@media (max-width: 813px) {
  .testimonial-columns {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .testimonial-columns .profile {
    margin: auto;
  }
}
@media (max-width: 685px) {
  .fifth-section .testimonial {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* sixth section */
.sixth-section {
  padding: 20px 20px;
}
.sixth-section .content-wrapper {
  border-radius: 7px;
  background-color: rgb(22, 17, 44, 0.8);
  max-width: 950px;
  width: 100%;
  margin: 60px auto;
  margin-bottom: 30px;
  box-shadow: 0px 5px 15px #383939;
  padding: 10px 0px 0px 0px;
  overflow: hidden;
}
.sixth-section .big-h1_contact-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.big-h1_contact-btn .big-h1_contact-h1 {
  /* font-size: 25px; */
  color: #fff;
  margin-bottom: 10px;
}
.big-h1_contact-btn .big-h1_contact-a {
  color: #fff;
  cursor: pointer;
  margin-bottom: 15px;
  font-size: 14px;
  width: 150px;
  height: 35px;
  display: flex;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 1px solid #fff;
  opacity: 0.9;
  position: relative;
  transition: 0.3s;

  &:hover {
    /* background-color: rgb(240, 22, 58); */
    background-color: hsl(350, 100%, 88%, 0.8);
  }
}
.big-h1_contact-btn .big-h1_contact-a::before {
  content: "";
  width: 15%;
  height: 2px;
  position: absolute;
  left: -12px;
  background: #ffffff;
}
.big-h1_contact-btn .big-h1_contact-a::after {
  content: "";
  width: 15%;
  height: 2px;
  position: absolute;
  right: -12px;
  background: #ffffff;
}
.big-h1_contact-btn .big-h1_contact-a:hover::before {
  /* background-color: rgb(240, 22, 58); */
  background-color: hsl(350, 100%, 88%, 0.8);
}
.big-h1_contact-btn .big-h1_contact-a:hover::after {
  /* background-color: rgb(240, 22, 58); */
  background-color: hsl(350, 100%, 88%, 0.8);
}

.big-h1_contact-btn .big-h1_contact-h,
.big-h1_contact-a {
  position: relative;
}
.sixth-section video {
  display: flex;
  align-items: center;
  width: 100%;
  height: 87%;
  object-fit: cover;
}
/* Footer section */
.seven-section {
  padding: 0.7rem;
}
.seven-section .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer h3 {
  padding-bottom: 20px;
}
.footer .sub-heading {
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin-bottom: 20px;
}
.footer .footer-links {
  display: flex;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.footer-links li {
  list-style-type: none;
  position: relative;
}
.footer-links a {
  /* color: #f20e34; */
  color: hsla(350, 95%, 84%, 0.99);
  font-size: 20px;
  text-align: center;

  &:hover {
    color: hsl(350, 100%, 88%, 0.8);
  }
}
.footer-links .move-top-arrow {
  width: 50px;
  position: absolute;
  right: 10%;
  transition: 0.3s;

  &:hover {
    /* background-color: #f20e34; */
    background-color: hsl(350, 100%, 88%, 0.7);
    overflow: hidden;
    border-radius: 8px;
  }
}
/* hero query */
@media (max-width: 795px) {
  .center-hero-contents .center-hero-h1 {
    font-size: 300%;
    margin-bottom: 35px;
  }
  .center-hero-contents .center-p-info {
    width: 70%;
    margin-bottom: 35px;
  }
}
@media (max-width: 453px) {
  .center-hero-contents .center-hero-h1 {
    font-size: 250%;
    margin-bottom: 25px;
  }
  .center-hero-contents .center-p-info {
    width: 68%;
    margin-bottom: 30px;
  }
}
.active {
  border-bottom: 2px solid #f20e34;
}

.img-wide {
  width: 100%;
}
