

:root {
  --primary-color: #111317;
  --primary-color-light: #1f2125;
  --primary-color-extra-light: #35373b;
  --secondary-color: #f9ac54;
  --secondary-color-dark: #d79447;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;

  ---color-primary:#6c63ff;
  --color-success:#00bf8e;
  --color-warning:#f7c94b;
  --color-danger: #f75842;
  --color-danger-varient: rgba(247,88,66,0.4);
  --color-white: #ffffff;
  --color-light: rgba(255,255,255,0.7);
  --color-black:#000;
  --color-bg:#1f2641;
  --color-bg1:#2e3267;
  --color-bg2: #424890;
}





.explore__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.explore__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.explore__nav span {
  padding: 0 6px;
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.explore__nav span:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.explore__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  
}

.explore__card {
  padding: 1rem;
  background-color: var(--primary-color-light);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: 0.3s;
  
}

.explore__card:hover {
  background-color: var(--primary-color-extra-light);
  border-color: var(--secondary-color);
}

.explore__card span {
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--white);
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
}

.explore__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.explore__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
  text-align: justify;
}

.explore__card a {
  color: var(--white);
  transition: 0.3s;
}

.explore__card a:hover {
  color: var(--secondary-color);
}

/*.class__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 60px;
  background: var(---color-primary);
  border-radius: 10px;

}

.class__image {
  position: relative;
}

.class__image .class__img-1 {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 500px;
  border-radius: 10px;
}

.class__image .class__img-2 {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 300px;
  border-radius: 10px;
}

.class__content {
  padding: 2rem 0;
}

.class__content .section__header {
  text-align: left;
  max-width: 400px;
}

.class__content p {
  margin-bottom: 4rem;
  color: var(--text-light);
}

.join__image {
  margin-top: 4rem;
  position: relative;
  padding-bottom: 30px;
}

.join__image img {
  border-radius: 10px;
}

.join__grid {
  position: absolute;
  bottom: -5rem;
  width: calc(100% - 4rem);
  padding: 2rem;
  margin: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background-color: var(--primary-color-light);
  border-radius: 10px;
}

.join__card {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 40px;
}

.join__card span {
  padding: 5px 12px;
  font-size: 1.75rem;
  color: var(--white);
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
}

.join__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.join__card p {
  color: var(--text-light);

}*/

@media (width < 1024px) {
    .header__container {
        grid-template-columns: repeat(1, 1fr);
    } 
    .header__content h1{
        font-size: 40px;
    }

    .explore__grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}






@media (width < 900px) {
  

  .header__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .header__image {
    grid-area: 1/1/2/2;
  }

  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .class__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .class__image {
    min-height: 500px;
  }

  .price__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review__container {
    gap: 2rem;
  }

  
}

@media (width < 680px) {
  .explore__header {
    flex-direction: column;
  }

  .explore__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .join__container {
    margin-bottom: 15rem;
  }

  .join__grid {
    width: 100%;
    margin: 0;
    bottom: -20rem;
  }

  .price__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .review__container {
    flex-direction: column;
    gap: 0;
  }
  
  
}


/* the section info and news*/
.card{
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  width: 80%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  background: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: 2rem ;
  justify-content: center;
}

.profile-image{
  border-radius: 50%;
  border: 4px solid white;
}

.profile-name{
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 1px;
}

.profile-name::after{
  content: "";
  display: block;
  height: 5px;
  width: 2rem;
  background: blue;
  margin: 0.7em auto 0.5em;
}

.profile-position{
  margin: 0;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: white;
  margin-bottom: 2em;
}

.profile-body{
  font-weight: 300;
  margin-bottom: 0;
}

.social-list{
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: ce;
  width: 125px;
  margin: 0 auto;
}
.social_link{
  color: red;
  opacity: 0.5;
  font-size: 1.25rem;
}


@media (min-width: 600px){
  .card{
    flex-direction: row;
  }

  .profile-main{
    text-align: left;
    margin-left: 2em;
  }

  .profile-name::after{
    margin-left: 0;
  }
}



.main {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  position: relative;
  padding: 0 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cantent {
  text-align: center;
  color: var(--text-light);
}

.cantent h1 {
  font-family: "Sedgwick Ave Display";
  font-size: 5rem;
  line-height: 1.2;
}

.cantent h1 span {
  font-size: 5rem;
}

.cantent p {
  font-family: "Alkatra";
  font-size: 1.5rem;
  margin-bottom: 2rem;

}

.cantent .promo {
  padding: 0.5rem;
  width: 300px;
  margin: auto;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-family: "Alkatra";
  background-color: var(--primary-color);
  transition: 0.3s;
  cursor: pointer;
}

.cantent .promo:hover {
  background-color: var(--primary-color-dark);
}

.bg__video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@media (min-aspect-ratio: 16/9) {
  .bg__video {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 16/9) {
  .bg__video {
    width: auto;
    height: 100%;
  }
}


/*=========pupils in nursery school count===========*/
.content-mes img{
  height: auto;
  width: 550px;
  max-width: 100%;
  border-radius: 50px;
}

.text{
  width: 550px;
  max-width: 100%;
  padding: 0 10px;
  text-align: justify;
}
.content-mes{
  width: 1280px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
.text h1{
  color: #ffffff;
  font-size: 50px;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.text h5{
  color: white;
  font-size: 25px;
  margin-bottom: 25px;
  text-transform: capitalize;
  letter-spacing: 1px;
  margin-top: 40px;
}

.text p{
  color: #ffffff;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 1px;
  margin-bottom: 45px;

}
@media screen and (max-width: 1180px){
  .content-mes img{
    margin-bottom: 60px;
  }

  .text h1{
  font-size: 50px;
  margin-bottom: 40px;
  }
}


@media screen and (max-width: 650px){
  .content-mes img{
    margin-bottom: 40px;
  }

  .text h1{
  font-size: 40px;
  text-align: center;
  margin-bottom: 25px;
  }
}

/* the total number of nursery school pupils*/

.counter-wrapper{
  background: url("/images/school2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 1.5rem;
  padding: 10rem 9%;
  margin-top: 5rem;
  position: relative;
  
}
.counter-wrapper::before{
  position: absolute;
  content: '';
  content: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}
.counter{
 text-align: center;   
 color: #ddd;
 z-index: 2;
 position: relative;
}
.counter::before{
  position: absolute;
  content: '';
  bottom: -2rem;
  left: 50%;
  width: 20%;
  height: .2rem;
  background: #4DB7FE;
  border-radius: .5rem;
  -webkit-border-radius: .5rem;
  -moz-border-radius: .5rem;
  -ms-border-radius: .5rem;
  -o-border-radius: .5rem;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.counter .count{
  font-size: 5rem;
  margin-bottom: 1rem;    
}
.counter p{
  font-size: 1.4rem;
  /*font-family: 'Poppins', sans-serif;*/
  font-weight: 700;
}







@media (max-width: 991px) {
  html{
      
  }
}
@media (max-width: 768px) {
 .counter-wrapper{
     grid-template-columns: repeat(2, 1fr);
     grid-row-gap: 8rem;
 }
}
@media (max-width: 450px) {
  html{
      
  }
  .counter-wrapper{
      grid-template-columns: 1fr;
  }
}



























