* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.header {
  min-height: 100vh;
  width: 100%;
  /* background-image: linear-gradient(rgba(4, 9, 30, 1), rgba(4, 9, 30, 0.7)),
    url(./eduford_img/pexels-gintarė-kairaitytė-17178100.jpg); */
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url("./eduford_img/header.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
}
nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  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: #fff;
  text-decoration: none;
  font-size: 13px;
}

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

.log {
  width: 15%;
}

.text-box {
  color: white;
  width: 90%;
  position: absolute;
  z-index: 1;
  top: 52%;
  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: #fff;
}
.visit {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  font-size: 13px;
  background: transparent;
  position: relative;
  padding: 10px 20px;
}
.visit:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}

@media screen and (max-width: 700px) {
  .visit {
    border: 1px solid #f44336;
    background: #f44336;
  }
}
/*----------------Course----------------*/
.course {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
h1 {
  font-size: 36px;
  font-weight: 600;
}
h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}
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: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

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

/*----------------swiper overflow----------------*/

.swiper-overflow {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-overflow .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(
    to top,
    rgba(72, 72, 72, 1),
    rgb(72, 72, 72, 0.2)
  );
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.2);
  filter: blur(5px);
  color: white;
}
.swiper-overflow .swiper-slide-active {
  filter: blur(0px);
}

.swiper-overflow .swiper-slide img {
  display: block;
  width: 100%;
}
.course-box > div {
  padding: 0 12px;
}
.swiper-overflow h3 {
  padding: 5px;
}

.swiper-3d .swiper-slide-shadow-left {
  background-image: none;
}

.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

.slide-layer {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(255, 0, 0, 0));
}
.slide-layer p {
  color: white;
}

@media screen and (max-width: 700px) {
  .swiper-overflow .swiper-slide {
    width: 200px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/*----------------Campus----------------*/

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  overflow: hidden;
  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.5s;
}
.layer:hover {
  background: rgba(256, 0, 0, 0.7);
}
.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/*-- Swiper slide per view --*/
.slider-per-view {
  width: 90%;
  margin-top: 80px;
  max-height: 85vh;
}

.slider-per-view .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  width: 100%;
  background: red;
  border-radius: 10px;
  overflow: hidden;
  color: rgb(255, 255, 255);
  background: rgb(205, 205, 205);
  position: relative;
}

.slider-per-view .swiper-slide img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.slider-per-view .swiper-wrapper {
  margin-bottom: 40px;
}

@media screen and (max-width: 700px) {
  .layer:hover {
    background: transparent;
  }
  .layer h3 {
    font-size: 26px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 1;
    transition: 0.5s;
  }
  .swiper-container {
    display: flex;
    justify-content: center;
  }
  .slider-per-view {
    width: 600px;
  }
}

/*----------------Who we are----------------*/

.who-we-are {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.row-wrapp {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 5%;
}
.who-are-we-link {
  text-decoration: none;
  color: black;
  flex-basis: 17%;
  
}
.image-flex {width: 80%; margin: auto;}
.image-flex img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.image-flex > div > div {
  flex-basis: 31%;
}

.who-are-we-col {
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: 0.5rem;
  box-sizing: border-box;
  transition: 0.5s;
}
.who-are-we-col img {
  width: 8rem;
  border-radius: 8px;
}
.who-are-we-col i {
  font-size: 1.5rem;
  margin-top: 16px;
}
.who-are-we-col:hover {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}
.details {
  padding: 0;
}


@media screen and (max-width: 900px) {
  .who-are-we-link {
    flex-basis: 46%;
    
  }
  .who-are-we-col {
    
    padding: 20px 0px;
  }
  .who-are-we-col img {
    width: 4rem;
  }
  .image-flex > div > div {
    flex-basis: 100%;
  }

  .details {
    padding: 0 0px;
  }
}
@media screen and (max-width: 700px) {
  .who-are-we-col {
    flex-basis: 100%;
  }
}

/*-----------------     Progressive number counter     -----------------*/

.anc {
  width: 80%;
  margin: auto;
  padding: 50px 10px;
  color: #d3d3d3;
  background: #2b2d42;
}
.wrapper {
  position: static;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
}
.counter-box {
  width: 28vh;
  height: 28vh;
  border: 1px solid #8d99ae;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1em 0;
  border-radius: 0.5em;
  background: #2f2f2f;
  border-bottom: 10px solid #d80032;
}
.counter-box i {
  color: #8d99ae;
  font-size: 2.5em;
  text-align: center;
}
span.counter,
.counter-box span {
  /*
        display: grid;
        place-items: center;
    */
  display: inline-block;
  font-weight: 600;
  font-size: 3em;
}
.counter-box div {
  text-align: center;
}
span.text {
  font-size: 1em;
  text-align: center;
  pad: 0.7em 0;
}

@media screen and (max-width: 700px) {
  .container {
    width: 100%;
  }
}

/*----------------Facilities----------------*/

.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.facilities-col, .gallery-col {
  border-radius: 10px;
  margin-bottom: 5%;
  overflow: hidden;
  text-align: left;
}
.facilities-col {  flex-basis: 31%;}
.gallery-col {  flex-basis: 45%;}
.facilities img, .gallery-col img {
  width: 100%;
  border-radius: 10px;
}
.facilities-col p, .gallery-col p {
  padding: 0;
}
.facilities-col h3, .gallery-col h3 {
  margin-top: 16px;
  text-align: left;
}

/*----------------testimonials----------------*/
.testimonials {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.testimonials-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #fff3f3;
  padding: 25px;
  cursor: pointer;
  display: flex;
}
.testimonials-col img {
  height: 40px;
  width: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}
.testimonials-col p {
  padding: 0;
}
.testimonials-col h3 {
  margin-top: 15px;
  text-align: left;
}
.fa-solid,
.fa-regular {
  color: #f44336;
}

@media screen and (max-width: 700px) {
  .testimonials-col {
    flex-direction: column;
    padding: 5px;
  }
}
/*----------------   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(../eduford_img/pexels-diva-plavalaguna-6146823.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}
.cta h1 {
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}

/*----------------   Footer  ----------------*/

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}
.footer h4 {
  margin-bottom: 25px;
  font-weight: 600;
}

/*----------------   icons  ----------------*/
.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}
.icons i {
  margin: 0 12px;
  cursor: pointer;
  padding: 18px 0;
  transition: 0.5s;
}
.icon a {
  text-decoration: none;
  color: none;
  background-color: none;
}
.icon a:active, .icon a:visited {
  color: black;
}
.fa-facebook:hover {
  color: lightskyblue;
  font-size: 30px;
}
.fa-square-x-twitter:hover {
  color: black;
  font-size: 30px;
}
.fa-square-instagram:hover {
  color: orangered;
  font-size: 30px;
}
.fa-linkedin:hover {
  color: blue;
  font-size: 30px;
}

@media screen and (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: fixed;
    background: #ff4436;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -300px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  .nav-links ul li:hover a {
    color: #777;
  }
  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links ul {
    padding: 30px;
  }

  .row {
    flex-direction: column;
  }
  /*------------testimonials------------*/
  .testimonials-col {
    margin-left: 0;
    margin-right: 15px;
  }

  /*------------progressive number counter------------*/
  .counter-box {
    width: 100%;
  }

  /*--------   call to action   _-------*/
  .cta h1 {
    font-size: 20px;
  }
}

/*--------                        About us Page                        -------*/

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url("./eduford_img/background.jpg");
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}
.sub-header h1 {
  margin-top: 100px;
}
.about-us {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  padding-bottom: 100px;
}
.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}
.about-col img {
  width: 100%;
}
.about-col h1 {
  padding-top: 0;
}
.about-col p {
  padding: 15px 0 25px;
}
.red-btn {
  border-color: #f44336;
  background: transparent;
  color: #f44336;
}
.red-btn:hover {
  color: #fff;
}
@media screen and (max-width: 700px) {
  .red-btn {
    border: 1px solid #f44336;
    background: #f44336;
    color: #fff;
  }
}

.mission {
  width: 80%;
  margin: auto;
  text-align: center;
  margin-bottom: 50px;
}

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

.blog {
  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;
}

.blog-right {
  flex-basis: 32%;
}
.blog-right h3 {
  background: #f44336;
  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;
}

.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}
.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;
}
.comment-form button {
  margin: 10px 0;
}

@media screen and (max-width: 700px) {
  .sub-header h1 {
    font-size: 24px;
  }
}

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

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

.location iframe {
  width: 100%;
}

.contact-us {
  width: 80%;
  margin: auto;
}
.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
}

.contact-col div {
  display: flex;
  align-items: center;
}

.contact-col div .fa,
.contact-col div .fa-envelope {
  color: #f44336;
  font-size: 28px;
  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 input,
.contact-col textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

@media screen and (max-width: 700px) {
  .contact-col div .fa,
  .contact-col div .fa-envelope {
    font-size: 16px;
  }
  .contact-col div h5 {
    font-size: 16px;
  }
}
.usefull-links {margin-top: 2rem;}
.usefull-links > div{
  margin-top: 0.5rem;
}
.usefull-links  a{
  text-decoration: none;
}
