:root{
--primary-color: rgb(10, 10, 31);
--btn-color: rgb(10, 10, 31);
-sec-btn-color: rgb(238, 70, 70);
--secondary-color: rgb(10, 10, 31);
--secondary-font-color: rgb(39, 31, 31);
--font-color: #fff;
}
body{
margin: 0;
padding: 0;
min-height: 100vh;
text-rendering: optimizeSpeed;
box-sizing: border-box;
font-family: Poppins, Arial;
}
.container{
--max-width: 1110px;
  --padding: 1.5rem;

  width: min(var(--max-width), 100% - (var(--padding) * 2      )   );
margin-inline: auto;

}
html:focus-within{
  scroll-behavior: smooth;
}

/*Header*/
header{
  background-color: #fff;
  padding-top: 8px;
  position: relative;
}
.logo{
font-size: 24px;
font-weight: 700;
}
.logo span{
  color: orangered;
font-family: Kodchasan;
font-style: italic;

}
.nav-column{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-list{
  display: flex;
  gap: 28px;
}
.nav-item{
  list-style: none;
}
.nav-link{
  text-decoration: none;
  color: black;
  font-size: 18px;
  font-weight: 600;
}
.nav-link:hover{
color: red;
}

.nav-item a{
}
.btn{
  padding: 8px 14px;
  background-color: red;
  text-decoration: none;
  color: white;
  border: none;
  border-radius: 8px;
    font-weight: 600;
}
.btn:hover{
  transform: scale(1.05);

}

.toggle{
  background: none;
  border: none;
  display: none;
}

@media screen and (max-width: 1024px) {
.nav-list{
  gap: 18px;
}
}



@media screen and (max-width: 767px) {
.nav-list{
  display: none;
}

.nav-active{
  display: block;
  position: absolute;
  background-color: var(--secondary-color);
  left: 0px;
  right: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}
.nav-item{
  display: block;
  border-bottom: 1px grey solid;
  display: grid;
  align-items: center;
  justify-items: center;
  height: 80px;
  width: 100%;
  text-align: center;
  padding: 0;

}
.nav-item a{
  color: var(--font-color);
  
}
.toggle{
  display: block;
}
}
.opening-text{
background-color: var(--primary-color);
display: grid;
 text-align: center;
 padding-top: 35px;
}
.opening-text h1{
font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

section{
  padding-top: 20px;
}
section h3{
font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
    margin-bottom: 37px;
  text-align: center;
}
.our-services{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.our-services h2{
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
}

.service-grid{
display: grid;
  padding-top: 20px;
  gap: 20px;
  

}
.service{
 background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
display: flex;
align-items: start;
flex-direction: column;
padding: 11px 12px;
}
.service-image-container{
  height: 120px;
}
.service-image{
width: 110px;
}
.service h3{
  font-size: 19px;
  font-weight: 900;
  margin-top: 5px;
  margin-bottom: 8px;
  text-align: start;
}
.service h4{
  text-align: start;
  margin-top: 10px;
}
@media screen and (min-width: 1024px) {
.service-grid{
grid-template-columns: 1fr 1fr 1fr;
}




}











/*FOOTER*/
footer{
  background-color: var(--secondary-color);
  color: var(--font-color);
  margin-top: 50px;
}

.footer-columns{
  display: flex;
  flex-direction: column;
}

.left-footer{
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
}
.footer-nav-list{
  display: flex;
  gap: 13px;
  padding: 0;
}

  .left-footer h2{
  font-size: 15px;
  font-weight: 600;
  padding-top: 4px;
}
.left-footer li{
  list-style: none;
}
.left-footer li a{
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--font-color);
}
.left-footer li a:hover{
  color: red;
}


.right-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.right-footer h2{
font-size: 19px;
  font-weight: 600;

}
.right-footer p{
   font-size: 14px;
  font-weight: 500;
  margin-top: 0;
  color: var(--font-color);
  line-height: 1.5;
  text-align: center;
}
.copyright{
  font-size: 12px;
  font-weight: 500;
  display: flex;
  color: var(--font-color);
  align-self: center;
}
@media screen and (min-width: 50rem) {
.footer-columns{
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
}
.footer-nav-list{
  display: flex;
  flex-direction: column;
}
.left-footer li a{
  font-size: 18px;
  
}
.right-footer p{
  margin-top: 10px;
}
}
