*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  /*border: solid red;*/
}

html{
  font-size: 14px;
  scroll-behavior: smooth;
}
.heading{
  text-align: center;
  display: block;
  margin: auto;
   width:fit-content;
  border-bottom: 3px solid #092;
  padding-bottom: 10px;
}
header{
  /*height: 720px;*/
  /*background: url('../img/home.jpg'),linear-gradient(to right,rgba(0,0,0,0.9),#555, #fff);*/
  background: linear-gradient(to right,#112,#122233);
  /*background-blend-mode: multiply;*/
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
nav{
  padding: 0px 10px;
  display: flex;
  background:#fff /* rgba(0,0,0,0.51);
  /*justify-content: space-between;*/
 
}
#logo{
  width:170px;
  display: grid;
  align-items:  center;
  
}
#logo div{
  
  width:50px;
  height: 50px;
  display: grid;
  align-items:  center;
  border-radius: 80px;
  border: solid #000;
  margin: auto;
  
}
#logo1{
  width:100px;
  margin-left: 30px;
}
#logo2{
  width:200px;
  height: 50px;
}
#logo h1{
  color:navy;
  width:fit-content;
  margin: auto;
  
}
#title{
  color: midnightblue;
  display: grid;
  align-items:  center;
  
}
#nav-ul{
  list-style: none;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 30px;
  gap: 25px;
 
}
#nav-ul li{
  display: grid;
  align-items:  center;
}
#nav-ul li a{
  text-decoration: none;
  color:#026;
  font-size:1.2rem;
  font-weight: 600;
  
}
#nav-ul li#current-page-link a{
  padding: 10px;
    border-bottom: 3px solid #092;
    
  }

.nav-search {
  /*position: relative;*/
  max-width: 260px;
  
  display: grid;
  place-content: center;
}
.nav-search div{
  display: flex;
  gap:15px;
}

.nav-search input {
  width: 100%;
  padding: 10px 38px 10px 2px;
  border-radius: 6px;
  border: 1px solid #0a3a5a;
  font-size: 14px;
}

.nav-search button {
  /*position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);*/
  background: none;
  border: none;
  color: #0a3a5a;
  font-size: 16px;
  cursor: pointer;
  width:fit-content;
}

/* Autocomplete dropdown */
.autocomplete-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  position: absolute;
  width: 260px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  max-height: 220px;
  overflow-y: auto;
  top:55px;
  right:0;
  z-index: 999;
  font-size: 13px;
}

.autocomplete-list li {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: solid #ccc;
  margin: 0 10px;
}

.autocomplete-list li:hover {
  background-color: #e6f2ec;
}


#serviceSearchBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}



#close-menu{
  display: none;
}
#open-menu{
  display: none;
}
.hero {
  color: #fff;
  /*padding: 100px 20px;*/
  display: flex;
  justify-content: space-between;
  height: fit-content;
  
}
.hero2{
  height: 300px;
  color: #fff;
  text-align: center;
  background: linear-gradient(to left,#042,#024,#014);
}
.hero-content {
  max-width: 300px;
  margin:  auto 50px;
  
  
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-btn {
  padding: 12px 25px;
  background-color: #042;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: darkred;
}
#slant{
  border-left:80px solid #032;
  /*clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%)
  */
  transform: skewX(-25deg);
  /*background: url('../img/home.jpg');*/
  background-size: cover;
  
}
#home-model{
  width:300px;
  
}
#home-model-mobile{
  display: none;
}
.service-link{
  text-decoration: none;
}
/** why us **/
/*#why-us{
  display: flex;
  flex-wrap: wrap;
  max-width: 90%;
  margin: 50px auto;
}
#why-us div{
  width:400px;
  
}
#why-us p{
  display: flex;
  flex-wrap: wrap;
  
  
}
#why-us img{
  display: block;
  width:min(400px,80%);
  margin: auto;
  object-fit: cover;
}*/

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#back-to-top a {
  font-size: 5rem;
  color: #3498db;
  text-decoration: none;
}



.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-column a {
  color: #cbd5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-column a:hover {
  color: #38bdf8;
}

.footer-column p {
  margin: 8px 0;
}

.footer-top {
  display: flex;
  align-items: flex-start;
}

.back-to-top {
  display: inline-block;
  padding: 10px 15px;
  background: #042;
  color: #0f172a;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: #0ea5e9;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #94a3b8;
}
#author a{
  text-decoration: none;
  color:#eee;
}
@media(max-width:768px){
  html{
    font-size:16px;
  }
  header{
    height: 100vh;
  }
  nav{
    position:sticky;
    top:0;
  }
  #nav-ul{
    display: block;
    background: rgba(0,58,32,0.8);
    position: fixed;
    z-index: 999;
    height: 100vh;
    width:200px;
    top:0;
    left:-300px;
    transition:0.5s ease;
    backdrop-filter:blur(3px);
    box-shadow: 2px 3px 5px rgba(0,0,0,0.5);
  }
  #nav-ul li{
  margin: 0 10px;
}
  #nav-ul li a{
  color:#fff;
    padding: 10px 20px;;
    font-size: 1rem
}
 #nav-ul li#current-page-link a{
    background: #fff;
    color:#042;
   padding-left: 20px;
   border-bottom:none;
  }
  
  .nav-search {
    max-width: 150px;
    margin-left: auto;
    margin-right: 15px;
  }
  #serviceSearchInput{
    width:150px;
  }

  .autocomplete-list li {
    padding: 14px;
    font-size: 16px;
  }
  #open-menu{
  display:inline-block;
   /* vertical-align: middle;
    line-height: 1;
    border: solid red;*/
    margin: auto;
    margin-right: 20px;
    color:midnightblue;
    
}
  #close-menu{
  display: flex;
    margin: 30px 20px;
    border: 1px solid #fff;
    padding: 5px;
    
}
  .hero{
    display: block;
    
    
    
    
  }
  .hero h1{
    font-size: 32px;
  }
  /*.hero2{
  height: 50vh;
  }
  .hero2 h1{
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(50%,-50%);
    z-index: 2
  }
  .hero-content {
    margin-top: 20%;
  }*/
  #slant{
    display: none;
  }
  #image-div{
    
    position:absolute;
    
    right:0px;
    bottom: -50vh;
    
    width:fit-content;
    
    display:none;
  }
  #home-model{
    
    z-index: 800;
  width:270px;
   
    
  
    /*border: solid yellow;*/
}
  #home-model-mobile{
    display: block;
    width:270px;
    margin-left:auto;
    margin-right:0;
    margin-bottom:0;
    
    
  }
  #back-to-top{
  display: block;
    position:sticky;
    bottom:10px;
    right:20px;
    font-size: 60px;
    opacity: 0.7;
    
}
  #back-to-top a{
    text-decoration: none;
    color:gray
  }
}
