@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;
  }
  }
  
/**************** header**************/

.contact {
    padding: 10px 0;
}
.container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 5rem;
    margin-right: 5rem;
}
h2 {
    font-size: 70px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    padding: 0;

}

 h2 span {
    color: #28137c;
}

.contact .heading p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #999999;
   margin-right: 70%;

    padding: 0;
}

.contact .form-control {
    padding: 25px;
    margin-top: 1rem;
    width: 500px;
    font-size: 13px;
    text-align: left;
    margin-bottom: 10px;
    background: #f9f9f9;
    border: 0;
    border-radius: 10px;
}

.contact button.btn {
    padding: 10px;
    border-radius: 10px;
    width: 490px;
    font-size: 15px;
    background: #28137c;
    color: #ffffff;
}

.contact .title h3 {
    font-size: 18px;
    font-weight: 600;
}

.contact .title p {
    font-size: 18px;
    font-weight: 400;
    color: #999;
    line-height: 1;
    margin: 0 0 40px;
}

.contact .content .info {
    margin-top: 30px;
}
.contact .content .info i {
    font-size: 25px;
    padding: 0;
    margin: 0;
    color: #02434b;
    margin-right: 20px;
    text-align: center;
    width: 20px;
}
.contact .content .info h4 {
    font-size: 18px;
    line-height: 1;
}

.contact .content .info h4 span {
    font-size: 15px;
    font-weight: 300;
    color: #999999;
}






/********** 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 (max-width:900px){
  
    html{
      font-size: 17px;
    }
    
    .container{
        grid-template-columns: 1fr;
        margin-left: 5rem;
        margin-right: 5rem;
    }
  }
  
@media (max-width:650px){

    html{
      font-size: 12px;
    }
   
  .container{
    grid-template-columns: 1fr;
    margin-left: 5rem;
    margin-right: 5rem;
}
h2{
    font-size: 50px;
}
}

@media (max-width:540px){

    .contact .form-control {
        width: 380px;
    }
    .contact button.btn {
        width: 390px;
    }
    .contact .content .info h4 {
        margin-right: 40%;
    }

}
@media (max-width:440px){

    .contact .form-control {
        width: 300px;
    }
    .contact button.btn {
        width: 300px;
    }
    .contact .content .info h4 {
        margin-right: 40%;
    }
    h2{
        font-size: 40px;
    }
}
@media (max-width:360px){

    .contact .form-control {
        width: 210px;
    }
    .contact button.btn {
        width: 210px;
    }
    .contact .content .info h4 {
        margin-right: 40%;
    }

}