@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,900&family=Montserrat:wght@300;600;900&family=Oswald&family=Paytone+One&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200&family=Shadows+Into+Light&display=swap");

/* Icon set - http://ionicons.com/ */
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,800);


*,
*::before,
*::after {
    box-sizing: border-box;
    
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    background-color: #e9e6e6;
}

nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
}
nav .navbar{
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}
.navbar .logo a{
  font-size: 30px;
  color: #777;
  text-decoration: none;
  font-weight: 600;
}
.navbar .logo img{
 height: 70px;
 margin-top: 5px;
}
nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
nav .navbar .links{
  display: flex;
}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}
nav .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #777;
  font-size: 20px;
  margin-bottom: 1rem;
  font-weight: 500;
}
nav .navbar .links li a:hover{
  color: #313030;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }
nav .navbar .links li .arrow{
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  margin-bottom: 1rem;
  display: inline-block;
  color: #777;
  transition: all 0.3s ease;
}
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #777;
  font-size: 15px;
  margin-bottom: 0;
  font-weight: 500;
}
.navbar .links li .sub-menu .more-arrow{
  line-height: 40px;
}
.navbar .links li .htmlCss-more-sub-menu{
  /* line-height: 40px; */
}
.navbar .links li .sub-menu .more-sub-menu{
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}
.links li .sub-menu .more:hover .more-sub-menu{
  display: block;
}

.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
@media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
  nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}
@media (max-width:800px){

  nav .navbar{
    max-width: 100%;
    padding: 0 17px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 2px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 12px;
  }
  .navbar .logo img{
    height: 50px;
    margin-top: 5px;
   }
   nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}



  @media screen and (min-width: 380px)and (max-width:430px) {
  html{
    font-size: 12px;
  }
  nav .navbar{
    max-width: 100%;
    padding: 0 10px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 2px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 12px;
  }
  .navbar .logo img{
    height: 40px;
    margin-top: 1px;
   }
   nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
  
}
@media screen and (min-width: 300px)and (max-width:380px) {
  html{
    font-size: 8px;
  }
  nav .navbar{
    max-width: 100%;
    padding: 0 3px;
  
    display: flex;
  
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 1px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 10px;
  }

  .navbar .logo img{
    height: 30px;
    margin-top: 1px;
   }
   nav .navbar .links li{
    position: relative;
    align-items: left;
    justify-content: space-between;
    list-style: none;
    padding: 0 3px;
  }
  nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}
@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 100%;
} 
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 50px;
  left: -300%;
  line-height: 30px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
.navbar .links li .sub-menu a{
  color: #777;
  font-size: 12px;
  margin-bottom: 0;
  font-weight: 500;
  margin-left: -40px;
}
}

#abc .planery{
  
    max-width: 1000px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin-left: 5rem;
}
.planery{
    position: absolute;
}


#abc{
    
    height: 100%;
    background-image:radial-gradient(#133a787f, #062982a5), url(images/fist.avif);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width:100%;
    height:100vh;
   
  
  }

  #abc h1{
    color: white;
    text-align: center;
    font-size: 70px;
    margin-top: 7rem;
  }
  #abc p{
    color: white;
    text-align: center;
    font-size: 30px;
    margin-top: -2REM;

  }
  #abc .button{
margin-left: 40%;
margin-right: 40%;
background-color: #12034c;
  }
  .button {
    background-color: #12034c;
    border-radius: 15px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
  }
  .button:hover {
    
        letter-spacing: .2rem;
       
}

  /*******banner********/

.study{
    
    margin-top: 6rem;
    text-align: center;
}
.study h1{
    font-size: 30px;
}
.study ul li{
    text-align: left;
    margin-left: 4rem;
    
}
.points ul li{
  font-size: 15px;
  margin-right: 3rem;
}
.points a{
  margin-top: 1rem;
  width: 200px;
}
.study h2{
    font-size: 30px;
    font-weight: normal;
    text-align: left;
    margin-left: 3rem;
    margin-top: 3rem
}
.first{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 3rem;
}
.ponit img{
  width: 80vh;
  height: 50vh;
}
/*****study*****/
.about {
    
   
    background-color: #111111;
    
  }
  .about .container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
 .about h1{
    color: wheat;
 }
 .about p{
    color: white;
 }
  
  /*******about*******/


  /* Footer ====================================*/
 
footer{
  background: #c3c7ce;
  background: #c3c7ce;
  background-color: ;
  padding-top: 1rem;
  font-size: 13px;
  
  color: #777;
}
.footer-container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-left: 0rem;
  margin-right: 0;
  
}
.footer-container > div h4{
margin-bottom: 1.2rem;
color: #777;

}
.footer a{
  text-decoration: none;
}
.footer-2 a{
  text-decoration: none;
  list-style: none;
}
.footer-1 p{
list-style: none;
  color: #777;
}
footer ul li{
 list-style: none;
  color: #777;
  list-style: none;
}
footer ul li a{
  color: #777;
  list-style: none;
}
footer ul li a:hover{
  text-decoration: underline;
}
.footer a{
  color: #777;
}
.footer-2 a{
  font-size: 13px;
}
.footer ul li a{
  font-size: 13px;
  line-height: 1;
  list-style: none;
  text-decoration: none;
}
.footer-socials{
  display: flex;
 
  font-size: 13px;
  margin-top: 2rem;
}
.footer-copyright{
  text-align: center;
  margin-top: 1rem;
  font-size: 25px;
  padding: 1.2rem;
  border-top: 1px solid var(--color-bg2);
}
.footer-4{
margin-right: 0rem;
}
@media screen and (max-width:800px) {
  
  .footer-container{
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    gap: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
}
.footer-1 p{
    margin: 1rem auto;
}
}

@media screen and (min-width: 200px)and (max-width:500px) {
  html{
    font-size: 12px;
  }
 
  .footer-container{
      grid-template-columns: 1fr;
      text-align: center;
      gap: 2rem;
  }
  .footer-1 p{
      margin: 1rem auto;
  }
}

/* media query on extra small */




/*******card******/
.container {
  max-width: 1400px;
  padding: 0 10px;
  margin: 0 auto;
  background-color: #c3c7ce;
}

h2 {
  font-size: 30px;
  margin-bottom: 1em;
  text-align: center;
}
p{
  margin-left: 5rem;
  margin-right: 5rem;
  text-align: center;
}

.cards {
  display: flex;
  padding: 20px 0px;
  list-style: none;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.card {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  padding: 15px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
  scroll-snap-align: start;
  transition: all 0.2s;
}
.card ul li{
  font-size: 15px;
}
.card:not(:last-child) {
  margin-right: 10px;
}

.card:hover {
  color: var(--white);
  background: var(--red);
}

.card .card-title {
  font-size: 18px;
}

.card .card-content {
  margin: 20px 0;
  max-width: 85%;
}

.card .card-link-wrapper {
  margin-top: auto;
}

.card .card-link {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: var(--red);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.card:hover .card-link {
  background: var(--darkred);
}

.cards::-webkit-scrollbar {
  height: 12px;
}

.cards::-webkit-scrollbar-thumb,
.cards::-webkit-scrollbar-track {
  border-radius: 92px;
}

.cards::-webkit-scrollbar-thumb {
  background: #12034c;
}

.cards::-webkit-scrollbar-track {
  background: var(--thumb);
}

@media (min-width: 500px) {
  .card {
    flex-basis: calc(50% - 10px);
  }

  .card:not(:last-child) {
    margin-right: 20px;
  }
}

@media (min-width: 700px) {
  .card {
    flex-basis: calc(calc(100% / 3) - 20px);
  }

  .card:not(:last-child) {
    margin-right: 30px;
  }
}

@media (min-width: 1100px) {
  .card {
    flex-basis: calc(25% - 30px);
  }

  .card:not(:last-child) {
    margin-right: 40px;
  }
}


/******CARDS*******/
.ind{
  background-color: #436ac3;
  
  background-image:radial-gradient(#133a787f, #062982a5), url(images/family.webp);
  background-attachment: fixed;
  margin-top: -4rem;
  height: 100%;
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width:100%;
  height:100vh;
 
}
.offer{
  margin-left: 15rem;
  margin-right: 15rem;
  display: grid;
  grid-template-columns: repeat(2,1fr)
  background-color:;
}
h4{
  font-size: 60px;
  text-align: center;
  margin-top: 4rem;
  color: #f9f9f9;
}
.offer h2{
  color: #d5d3d3;
  margin-top: -1rem;

}
.offer p{
  margin-bottom: 2rem;
  color: #f9f9f9;
}
.ind .button {
  background-color: #12034c;
  border-radius: 15px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  margin-left: 43%;
  margin-right: 43%;
  margin-bottom: 5rem;

}
.button:hover {
  
      letter-spacing: .2rem;
     
}


/******services********/
.service p{
  margin-left: 4rem;
  font-size: 16px;
  margin-right: 4rem;
  margin-bottom: 5rem;
}
.service h1{
  text-align: center;
  font-weight: normal;
  margin-top: 4rem;
  margin-left: 4rem;
  margin-right: 4rem;
}
@media screen and (max-width:1000px) {
  .offer{
    margin-left: 9rem;
    margin-right: 9rem;
    
  }
  
}
@media screen and (max-width:800px) {
  .container{
      width: var(--container-width-md);
      margin: 0 1rem ;
      overflow: hidden;

  }
  
}
@media screen and (min-width: 500px)and (max-width:800px) {

html{
  font-size: 15px;
}
#abc h1{
  color: white;
  text-align: center;
  font-size: 55px;
  margin-top: 6rem;
}
#abc p{
  color: white;
  text-align: center;
  font-size: 25px;
  margin-top: -2REM;

}
#abc .button{
margin-left: 33%;
margin-right: 33%;
background-color: #12034c;
}
.container{
  width: var(--container-width-sm);
}
.study{
    
  margin-top: 2rem;
  text-align: center;
}
.study h1{
  font-size: 25px;
  margin-left: 3rem;
  margin-right: 3rem;
}
.study ul li{
  text-align: left;
  margin-left: 1rem;
  font-size: 12px;
}
.study h2{
  font-size: 25px;
  font-weight: normal;
  text-align: left;
  margin-left: 2rem;
  margin-top: 2rem
}
.first{
display: flex;
margin-left: 1rem;
}
.ponit img{
width: 50vh;
height: 50vh;
}
.points ul li{
  font-size: 13px;
  margin-right: 3rem;
}
.points a{
  margin-top: 1rem;
  width: 150px;
}
h4{
  font-size: 60px;
  text-align: center;
  margin-top: 4rem;
  color: #f9f9f9;
}
.offer{
  margin-left: 1rem;
  margin-right: 1rem;
  display: flex;
  background-color:;
}
h4{
  font-size: 50px;
  text-align: center;
  margin-top: 2rem;
  color: #f9f9f9;
}

.offer p{
  margin-bottom: 2rem;
  color: #f9f9f9;
}
.ind .button {
  margin-left: 35%;
  margin-right: 35%;
  margin-bottom: 5rem;

}
}

@media screen and (min-width: 200px)and (max-width:500px) {
  html{
    font-size: 12px;
  }
  #abc h1{
    color: white;
    text-align: center;
    font-size: 40px;
    margin-top: 5rem;
  }
  #abc p{
    color: white;
    text-align: center;
    font-size: 22px;
    margin-top: -2REM;

  }
  #abc .button{
margin-left: 28%;
margin-right: 28%;
background-color: #12034c;
  }
  .study{
    
    margin-top: 2rem;
    text-align: center;
  }
  .study h1{
    font-size: 25px;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .study ul li{
    text-align: left;
    margin-left: 0;
    font-size: 12px;
  }
  .study h2{
    font-size: 25px;
    font-weight: normal;
    text-align: left;
    margin-left: 2rem;
    margin-top: 2rem
  }
  .first{
    
  grid-template-columns: 1fr;
  margin-left: 1rem;
  }
  .ponit img{
  width: 50vh;
  align-items: center;
  height: 50vh;
  }
  .points ul li{
    font-size: 13px;
    margin-right: 1rem;
  }
  .points a{
    margin-top: 1rem;
    width: 150px;
  }
  .service p{
    margin-left: 4rem;
    font-size: 12px;
    margin-right: 4rem;
    margin-bottom: 2rem;
  }
  .service h1{
    text-align: center;
    font-weight: normal;
    margin-top: 4rem;
    margin-left: 4rem;
    margin-right: 4rem;
  }
  h4{
    font-size: 60px;
    text-align: center;
    margin-top: 4rem;
    color: #f9f9f9;
  }
  .offer{
    margin-left: 3rem;
    margin-right: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    
  }
  h4{
    font-size: 30px;
    text-align: center;
    margin-top: 1rem;
    color: #f9f9f9;
  }
  
  .offer p{
    margin-bottom: 2rem;
    margin-top: 0;
    color: #f9f9f9;
  }
  .ind .button {
    margin-left: 28%;
    margin-right: 23%;
    margin-bottom: 5rem;
  
  }
  .card {
    flex-basis: calc(50% - 10px);
  }

  .card:not(:last-child) {
    margin-right: 20px;
  }
  
  .container{
      width: var(--container-width-xs);
      margin: 0 1rem ;
      overflow: hidden;
  }
  
  .footer-container{
      grid-template-columns: 1fr;
      text-align: center;
      gap: 2rem;
  }
  .footer-1 p{
      margin: 1rem auto;
  }
}