@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6,p{
  font-family: "poppins", sans-serif;
}

h2{
  font-size: 36px;
  font-weight: 700;
}
ul,li {
    list-style-image: none;
    font-size: 18px;
    font-weight: 600;
}

section{
  margin-bottom: 20px;
}

.section-heading{
  text-align: center;
  margin-bottom: 5px;
}
.section-heading p{
  margin-top: 20px;
}
p{
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

a {
    text-decoration: none !important;
}

.container{
  margin: auto;
  max-width: 1200px;
}
button{
  min-height: 60px;
  border: none;
  background-color: #ecc917;
  color: #17234c;
  border-radius: 20px;
  padding: 5px 35px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  transition: transform 0.4s, background-color 1s;
}

button:hover{
  background-color: #17234c;
  color: #fff;
  border: 1px solid #fff;
}
/* 
---------------------------------------------
Pre-loader Style
--------------------------------------------- 
*/

.preloaderBg {
  position: fixed;
  z-index: 10; 
  top: 0;
  background: #fff;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 9999;
}

.preloader {
  margin: auto;
  background: url(/assets/images/HD_logo1.png) no-repeat center;
  background-size: 80px;
  width: 100px;
  height: 100px;
  position: relative;
  top: 220px;

}

.preloader2 {
border: 5px solid #f3f3f3;
border-top: 5px solid #17234c;
border-radius: 50%;
width: 150px;
height: 150px;
animation: spin 1s ease-in-out infinite ;
position: relative;
margin: auto;
top: 100px;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Navbar */
.navigation {
  position: fixed; /* Added */
  top: 0; /* Added */
  padding-top: 5px;
  width: 100%; /* Added to ensure it spans the full width */
  height: 95px;
  background-color: #fff;
  color: #17234c;
  z-index: 1000;
}
.brand {
  position: absolute;
  padding-left: 20px;
  float: left;
  line-height: 55px;
  text-transform: uppercase;
  font-size: 1.4em;
}
.brand a, .brand a:visited {
  color: #17234c;
  text-decoration: none;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
}
nav {
  float: right;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  float: left;
  position: relative;
}
nav ul li a,nav ul li a:visited {
  display: block;
  padding: 0 20px;
  line-height: 55px;
  font-weight: bolder;
  font-size: 18px;
  color: #17234c;
  background: #cbd5f1;
  text-decoration: none !important;
}
nav ul li a{
  background: transparent;
  color: #17234c;
}
nav ul li a:hover, nav ul li a:visited:hover {
  color: #ecc917;
}
.navbar-dropdown li a{
  background: #2581DC;
}
nav ul li a:not(:only-child):after, nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: ' \025BE';
}
nav ul li ul li {
  min-width: 190px;
}
nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}
.navbar-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  background: #fff;
  box-shadow: 0 0 35px 0 rgba(0,0,0,0.25);
}
/* Mobile navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  height: 55px;
  width: 70px;
}
@media only screen and (max-width: 800px) {
  .nav-mobile {
      display: block;
 }
  nav {
      width: 100%;
      padding: 55px 0 15px;
      margin-top: 35px;
 }
  nav ul {
      display: none;
 }
  nav ul li {
      float: none;
 }
  nav ul li a {
      padding: 15px;
      line-height: 20px;
      background: #fff;
 }
  nav ul li ul li a {
      padding-left: 30px;
 }
  .navbar-dropdown {
      position: static;
}
@media screen and (min-width:800px) {
  .nav-list {
      display: block !important;
 }
}
#navbar-toggle {
  position: absolute;
  left: 18px;
  top: 15px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}
#navbar-toggle span, #navbar-toggle span:before, #navbar-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 3px;
  width: 30px;
  background: #17234c;
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}
#navbar-toggle span:before {
  top: -10px;
}
#navbar-toggle span:after {
  bottom: -10px;
}
#navbar-toggle.active span {
  background-color: transparent;
}
#navbar-toggle.active span:before, #navbar-toggle.active span:after {
  top: 0;
}
#navbar-toggle.active span:before {
  transform: rotate(45deg);
}
#navbar-toggle.active span:after {
  transform: rotate(-45deg);
}
}



/* Service Cards */
.card {
  position: sticky;
  top: 0;
}

.card__inner {
  will-change: transform;
  background: #decb6c;
  border-radius: 14px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px hsla(265.3, 20%, 10%, 35%);
  transform-origin: center top;
}

.cards {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: repeat(var(--cards-count), var(--card-height));
  gap: 40px 0;
}

.card__image-container {
  display: flex;
  width: 50%;
  flex-shrink: 0;
}

.card__image {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  /* aspect-ratio: 1; */
}

.card__content {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card__title {
  padding: 0;
  margin: 0;
  font-size: 50px;
  font-weight: 600;
  color: #17234c;
}

.card__description {
  line-height: 1.4;
  font-size: 20px;
  color: #16263a;
  margin-top: 20px;
}

.card__content ul,.card__content li {
  list-style-image: url(/assets/images/about-images/list\ style.png);
  font-size: 18px;
  font-weight: 600;
}

.space {
  height: 30vh;
}

.space--small {
  height: 25vh;
}

@media (max-width: 600px) {
  .card__inner {
    flex-direction: column;
  }

  .card__image-container {
    width: 100%;
  }

  .card__image {
    aspect-ratio: 16 / 9;
  }

  .card__title {
    font-size: 32px;
  }

  .card__description {
    font-size: 16px;
  }

  .card__content {
    padding: 30px 20px;
  }
}
@media (max-width:992px){
  .card__title {
    font-size: 35px;
  }
}

  @media (max-width:426px){
    #cards{
      grid-template-columns: auto;
    }
  }
  
/* Other Services */
h2 { 
  position: relative; 
  max-width: max-content; 
  margin: 2rem auto 5rem auto; 
} 

h2::after { 
  content: ""; 
  position: absolute; 
  width: 75%; 
  height: 5px; 
  background-color: #ecc917; 
  bottom: -1rem; 
  left: 30px; 
} 

.icon-container img{
  width: 50px; 
  height: 50px; 
  padding: 7px;
  transition: all 0.3s linear; 
  transform: rotate(-45deg); 
}

h3{
  margin-top: 15px;
  font-size: 22px;
}

.services-container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 10px; 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-around; 
} 

.service-card { 
  cursor: pointer; 
  width: 300px; 
  margin: 20px; 
  padding: 2rem 20px 20px 20px; 
  text-align: center; 
  border-radius: 5px; 
  transition: all 0.3s ease-in-out; 
} 

.icon-container { 
  border: 1px solid #17234c; 
  transition: 0.3s linear; 
  width: max-content; 
  margin: 0 auto; 
  transform: rotate(45deg); 
} 

.service-card p{
  font-size: 16px;
  height: 220px;
}

.service-card:hover { 
  box-shadow: 0 0 30px 0 #17234c; 
  transform: scale(1.1); 
} 

.service-card a { 
  color: #ecc917; 
  text-decoration: none; 
  font-weight: 600;
} 


/* Footer */
.footer-icons{
  margin-top: 10px;
  margin-bottom: 1rem;
}
#contact .footer-icons a{
  display: inline-block;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 2px;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  line-height: 25px;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
}
#contact .footer-icons a:hover{
  transition: 1s;
  rotate: 360deg;
  color: #ecc917;
}
#contact .link1 a:hover,
#contact .contact1 a:hover{
  color: #ecc917 !important;
}
#contact .link1, #contact .contact1 p{
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}
#contact p{
  margin-bottom: 1rem;
  font-size: 15px;
  max-width: 300px;
}
#contact .footer-company-about{
line-height: 20px;
color:  #92999f;
font-size: 13px;
font-weight: normal;
margin: 0;
}
#contact .links a{
  color: #ffffff;
}
footer .Copyright{
  color: #ecc917;
  font-size: 14px;
  margin-top: 10px !important;
  text-align: center;
}
