@font-face {
  font-family: Gilroy;
  src: url(font/Gilroy-Bold.ttf) format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: Gilroy;
  src: url(font/Gilroy-SemiBold.ttf) format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: Gilroy;
  src: url(font/Gilroy-Medium.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: Gilroy;
  src: url(font/Gilroy-Regular.ttf) format("truetype");
  /*  font-weight: 400; */
}



/* Box sizing rules */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Gilroy", Arial, san-serif;
  background: #fff;
  padding: 0;
  margin: 0;
  /* overflow-x: hidden; */
  scroll-behavior: smooth;
}
a {
  transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  text-decoration: none;
  display: block;
}
img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  padding: 0;
}
input,
button,
select {
  font-family: "Gilroy", Arial, san-serif;
}
p,
ol,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd,
pre,
input,
table,
tr,
td,
form {
  margin: 0;
  padding: 0;
}
ol,
ul,
li {
  list-style: none;
}
input {
  border: 0 none;
}
img {
  border: 0 none;
}

.float_clear {
  float: none;
  clear: both;
  display: block;
  width: 100%;
}

.main_content {
  display: block;
  margin: auto;
  padding: 0;
  overflow: hidden;
  font-size: 18px;
  min-height: 70vh;
  font-weight: 500;
  line-height: 1.45;
  color:#262626;
}

.header-container{
  max-width:1440px;
  margin-left:auto;
  margin-right:auto;
  display:flex;
  justify-content:space-between;
}
header{
  padding:12px 100px 12px 100px;
  position:relative;
}

nav{
  display:flex;
  align-items: center;
  font-size:16px;
}

nav ul{
  display:flex;
  gap:80px;
}

nav ul li a{
  color:#262626;
}

nav ul li a.nav-active{
  font-weight:700;
}
#nav-icon {
  width: 40px;
  height: 25px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  display:none;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 6px;
  width: 100%;
  background: black;
  border-radius: 9px;
  opacity: 1;
  right: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
  width:75%;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
  top: 12px;
}

#nav-icon span:nth-child(4) {
  top: 24px;
  width:60%;
}

#nav-icon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}
main{
  display:flex;
  flex-direction:column;
  gap:120px;
  padding: 120px 16px;
}
.banner{
  background:url(../images/banner_bg.jpg) no-repeat center;
  background-size:cover;
  height:360px;
}

.banner.services-banner{
  background-image:url(../images/services_banner_bg.jpg);
}
.banner.contact-banner{
  background-image:url(../images/contact_banner_bg.jpg)
}
.about-us{
  display:flex;
  justify-content:center;
  align-items: center;
  gap:125px;
}

.about-us-bottom{
  display:flex;
  padding-top:40px;
  border-top:1px solid #f0f0f0;
  margin-top:40px;
  justify-content: space-between;
}

.about-us-bottom p{
  max-width:310px;
}

.about-us-bottom img{
  max-width:189px;
}

.finalto-mobile{
  display:none;
}

.about-us-bottom a{
  color:#1f53da;
  text-decoration: underline;
}
.our-services{
  display:flex;
  justify-content:center;
  align-items: center;
  gap:105px;
}

.our-services div,.about-us div{
  max-width:525px;
}

h2{
  color:#1f1a51;
  font-weight:600;
  font-size:60px;
  margin-bottom:40px;
}



.contact-information{
  text-align: center;
}

.contact-information h5 a{
  color:#262626;
}

h3{
  color:#333333;
  font-size:28px;
  font-weight:600;
}

.address-line{
  display:flex;
  justify-content: center;
  align-items: center;
  gap:4px;
  color:#333333;
  margin-top:12px;
}

.contact-box{
  border-top:3px solid #c8d4ff;
  background:#f7fafc;
  flex:1;
  display:flex;
  align-items: center;
  gap:28px;
  padding-top:40px;
  padding-bottom:40px;
  padding-left:5%;
}

.contact-box >div {
  text-align: left;
}

.contact-container{
  max-width:1070px;
  margin-left:auto;
  margin-right:auto;
  gap:20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:48px;
}

h4{
  font-size:20px;
  font-weight:600;
}

h5{
  font-size:24px;
  font-weight:600;
}

h6{
  font-size:18px;
  font-weight:600;
}
.footer-nav{
  margin-top:60px;
}
.footer-nav ul{
  flex-direction:column;
  gap:32px;
}

.footer-nav ul li a{
  color:white;
}

footer{
  background:#333333;
}

.footer-left{
  flex-shrink:0;
}

.footer-container{
  max-width:1440px;
  margin-left:auto;
  margin-right:auto;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  color:white;
  font-weight:400;
  font-size:14px;
  padding:60px 30px;
  gap:100px;
}
.sticky-bottom{
  position:sticky;
  bottom:0;
  padding-top:12px;
  padding-bottom:12px;
  width:100%;
  background:#2c2c2c;
  color:#d5d5d5;
  font-size:14px;
  text-align: center;
}

@media (max-width:1040px){  
  h5{
    font-size:20px;
  }

  #nav-icon span{
    height:4px;
  }


  header nav ul{
    opacity:0;
    visibility: hidden;
    gap: 48px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    flex-direction: column;
    padding-top: 60px;
    padding-bottom: 60px;
    align-items: center;
    transition:opacity 0.3s;
  }
  nav.nav-open ul{
    opacity:1;
    visibility:visible;
  }
  header nav ul li a{
    font-size:24px;
  }
  #nav-icon{
    display:block;
  }
  header{
    padding:12px 16px;
  }

}

@media (max-width:1200px){
  .about-us{
    gap:24px;
  }
}
@media (max-width:900px){
  .footer-nav{
    margin-top:32px;
  }
  .footer-nav ul{
    opacity:1;
    visibility: visible;
    flex-direction:row;
    flex-wrap:wrap;
    gap:64px;
    row-gap:16px;
  }
  
  .finalto-mobile{
    display:block;
  }
  .finalto-pc{
    display:none;
  }
  .about-us-bottom{
    flex-direction:column;
    margin-top:28px;
    padding-top:28px;
    gap:28px;
  }
  .about-us-bottom img{
    max-width:100%;
  }
  .about-us-bottom p{
    max-width:none;
  }
  .logo{
    width:162px;
  }
  h5{
    font-size:24px;
  }

  .banner{
    background:url(../images/banner_bg_mobile.jpg) no-repeat center;
    background-size:cover;
    height:316px;
  }
  .banner.services-banner{
    background-image:url(../images/services_banner_bg_mobile.jpg);
  }
  .banner.contact-banner{
    background-image:url(../images/contact_banner_bg_mobile.jpg)
  }
  .about-us{
    flex-direction:column-reverse;
    gap:40px;
  }
  .our-services{
    flex-direction:column;
    gap:40px;
  }
  main{
    padding:60px 20px;
    gap:60px;
  }
  .contact-container{
    flex-direction:column;
    grid-template-columns:1fr;
  }
  .contact-container h6{
    text-align: center;
  }
  .our-services div,.about-us div{
    max-width:none;
  }
  h2{
    margin-bottom:28px;
    font-size:52px;
  }
  .contact-information{
    text-align: left;
  }
  .address-line{
    align-items:flex-start;
    justify-content:flex-start;
  }
  .contact-box{
    flex-direction:column;
    padding:28px 12px;
    gap:12px;
  }
  h4{
    text-align: center;
  }
  .footer-container{
    flex-direction:column; 
    padding:40px 20px;
    gap:36px;
  }

}

@media (max-width:400px){
  h5{
    font-size:18px;
  }
}