@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
}

h3 {
  font-size: 30px;
  padding: 0px;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

button.white {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  cursor: pointer;
  outline: none;
  transition: 0.2s;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

body {
  width: 100%;
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: #e3e6f3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}

#header a img {
  height: 40px;
  max-height: 100%;
  display: inline-block;
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  transition: 0.3s ease;
}

#navbar li a.nav-svg-bg {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  transition: fill 0.3s ease;
  background-color: #f7f7f7;
}

#navbar li a:hover,
#navbar li a.active {
  color: #088177;
}

#navbar li a.active:not(.nav-svg-bg)::after,
#navbar li a:not(.nav-svg-bg):hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background-color: #088177;
  position: absolute;
  bottom: -4px;
  left: 20px;
}

#navbar li a:hover svg g,
#navbar li a:hover svg path {
  fill: #088177;
}

#navbar li a.nav-svg-bg.active,
#navbar li a.nav-svg-bg:hover {
  background-color: #088177;
}

#navbar li a.nav-svg-bg.active svg path,
#navbar li a.nav-svg-bg:hover svg path {
  fill: white;
}

#navbar li.pc {
  display: block;
}

#navbar li.mob {
  display: none;
}

/* Footer Design*/
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer img {
  height: 40px;
  margin-bottom: 30px;
  cursor: pointer;
  transform: translateY(5px);
  transition: opacity 0.5s ease, transform 1s ease;
}

footer img:hover {
  transform: scale(1.1);
}

footer h4 {
  font-size: 14px;
  padding-bottom: 20px;
}

footer p {
  font-size: 13px;
  margin: 0 0 8px 0;
}

footer a {
  font-size: 13px;
  text-decoration: none;
  color: #222;
  margin-bottom: 10px;
  transform: translateY(1px);
  transition: opacity 0.5s ease, transform 1s ease;
}

footer a:hover {
  color: #088177;
  transform: scale(1.1);
}

footer .follow svg {
  margin-top: -15px;
  margin-right: 10px;
  cursor: pointer;
  margin-bottom: 20px;
  width: 18px;
}

footer .col .payment-icon svg {
  width: 40px;
  height: 40px;
}

footer .copyright {
  width: 100%;
  text-align: center;
}

footer .col .col-pay-txt {
  padding-bottom: 5px;
}

#menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  /* Adjust header padding */
  #header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative; /* Adjust height as needed */
    padding: 10px 20px;
  }

  #header a img {
    height: 25px;
    align-self: flex-start;
  }

  #menu-icon {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
  }

  #navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    width: 50%;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  }

  #navbar.active {
    display: flex;
    align-items: flex-start;
  }

  #menu-icon {
    display: block;
  }

  #navbar li {
    list-style: none;
    padding: 20px;
    position: relative;
  }

  #navbar li.pc {
    display: none;
  }

  #navbar li.mob {
    display: block;
  }

  /* Reduce font sizes for better readability */
  h1 {
    font-size: 25px;
    line-height: 42px;
  }

  h2 {
    font-size: 23px;
    line-height: 36px;
  }

  h3 {
    font-size: 20px;
    padding: 0px;
  }

  h4 {
    font-size: 16px;
  }

  p {
    font-size: 12px;
  }

  /* Adjust button sizes */
  button.normal {
    font-size: 12px;
    padding: 10px 20px;
  }

  /* Make the footer more mobile-friendly */
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .col {
    align-items: center;
  }

  footer img {
    height: 30px;
  }

  /* Adjust section padding */
  .section-p1 {
    padding: 20px;
  }
}
