@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap");
* {
  margin: 0%;
  padding: 0%;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(banner.png);
  background-size: cover;
  background-position: center;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  padding-top: 15px;
  width: 100%;
  height: 100%;
  /* width: 50px;
  height: 50px; */
}

.rightnavbar {
  flex: 1;
  text-align: right;
}

.rightnavbar ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.rightnavbar ul li a {
  text-decoration: none;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

.rightnavbar ul li:hover {
  background-color: rgba(29, 32, 39, 0.603);
  border-radius: 8%;
  transform: scale3d(1.2, 1.3, 1.4);
  transition: all 200ms ease-in;
}

.rightnavbar ul li a:hover {
  color: rgb(55, 96, 167);
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  font-size: 4rem;
}

.text-box p {
  margin: 10px 0 40px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

.utbtn {
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.966);
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
}

.utbtn:hover {
  border: #f44336;
  background-color: #f44336;
  transition: 600ms;
}
nav .fa {
  display: none;
}

@media (max-width: 500px) {
  .text-box h1 {
    font-size: 50px;
  }

  /*  .rightnavbar ul li {
    display: block;
  }
 .rightnavbar {
    position: absolute;
    background: rgba(0, 0, 0, 0.411);
    height: 100vh;
    width: 200px;
    top: 0;
    right: 0;
    text-align: left;

    padding: 10px;
    transition: all 1s ease;
  }

  .rightnavbar ul li:hover {
    width: 250px;
    height: 23px;
    background-color: rgba(14, 11, 11, 0.411);
    border-radius: 8%;
    transform: scale3d(1.06, 1.06, 1.06);
    transition: 200ms;
  }

  .rightnavbar ul li a:hover {
    color: rgb(55, 96, 167);
  }*/
}

/*-------- Course---------------  */
.course {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 10vh;
}

.course h1 {
  font-weight: 600;
  font-size: 3.5vh;
}
.course p {
  font-size: 15px;
  font-weight: 300;
  line-height: 2vh;
  padding: 1vh;
}

.row {
  display: flex;
  margin-top: 5%;
  justify-content: space-between;
}
.course-col {
  flex-basis: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 2vh 1.2vh;
  transition: 0.5s;
}

h3 {
  text-align: center;
  font-weight: 600;
  margin: 1vh 0;
}

.course-col:hover {
  border-radius: 10px;
  background: linear-gradient(rgba(111, 125, 184, 0.7), rgba(4, 9, 30, 0.7));
  color: rgb(19, 4, 4);
  transform: scale3d(1.1, 1.1, 1.1);
  transition: all 200ms ease-in;
}

@media (max-width: 500px) {
  .row {
    flex-direction: column;
  }
}

/*---- campus -------*/

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 5vh;
}

.campus-col {
  flex-basis: 32%;
  border-radius: 1vh;
  margin-bottom: 3vh;
  position: relative;
  overflow: hidden;
}

.campus-col img {
  width: 100%;
}

.layer {
  /* background: transparent; */
  height: 100%;
  width: 100%;
  position: absolute;
  top: 5%;
  left: 0;
}
.layer h3 {
  width: 100%;
  font-weight: 500;

  font-size: 25px;
  bottom: 7%;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}
.campus-col:hover {
  border-radius: 8%;
  transform: scale(1.1);
  transition: all 200ms ease-in;
}

/* ------ facuilities --------*/

.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 10vh;
}

.facilities-col {
  flex-basis: 31%;
  border-radius: 1vh;
  margin-bottom: 5%;
  text-align: center;
}

.facilities-col img {
  width: 100%;
  border-radius: 1vh;
}

.facilities-col:hover {
  border-radius: 8%;
  transform: scale3d(1.1, 1.1, 1.1);
  transition: all 200ms ease-in;
}
.facilities-col p {
  padding: 0%;
}

.facilities-col h3 {
  margin-top: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

/* =========== testimonilas---------*/

.testimonials {
  width: 80%;
  margin: auto;
  padding-top: 9vh;
  text-align: center;
}
.testimonials-col {
  flex: 44%;
  border-radius: 1vh;
  text-align: left;
  background-color: #fff3f3;
  padding: 2.5vh;
  display: flex;
}

.testimonials-col:hover {
  border-radius: 8%;
  transform: scale3d(1.1, 1.1, 1.1);
  transition: all 200ms ease-in;
}
.testimonials-col img {
  height: 4vh;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

@media (max-width: 500px) {
  .testimonials-col img {
    margin-left: 0px;
    margin-right: 20px;
  }
}

/*--------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(/image/banner2.jpg);

  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  padding: 100px;
}

.cta h1 {
  color: #fff;
  margin-bottom: auto;
}

@media (max-width: 500px) {
  .btn h1 {
    font-size: 24px;
  }
}

/*----- Footer ------*/

.footer {
  margin: auto;
  margin-top: 0%;
  background-image: linear-gradient(#fff);
  padding-top: 20px;
  /* width: 99%; */
  text-align: center;
  border-radius: 10px;
}

.footer p {
  padding: 50px;
  padding-top: 30px;
  font-family: "Inter", sans-serif;
}

.footer img {
  height: 120px;
  width: 120px;
  border-radius: 50%;
}
.footer img:hover {
  transform: scale3d(1.2, 1.2, 1.2);
}

body {
  animation: nav-load 700ms ease-in;
}
@keyframes nav-load {
  0% {
    /* border: 5px solid black; */
    /* border-inline-start: #f44336 20px solid; */
    border-collapse: collapse 30px solid green;
  }
  100% {
    transform: translateX(0%);
  }
}
