* {
  font-family: Inter;
}

a {
  color: initial;
  text-decoration: initial;
}

body {
  margin: 0;
}

#mainBody {
  display: flex;
  /*align-items: start;*/
  justify-content: space-between;
  padding: 180px 80px 80px 80px;
}

.blog-card img,
.popular-blog img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

header {
  display: flex;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1105px;
  margin: 0;
  border-radius: 200px;
  padding: 18px 0 18px 0;
  z-index: 4;
  /* border: solid 1px #000; */
  /* background: #D1F054; */
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); */
  align-items: center;
  justify-content: space-between;
}

#logo, #menu {
  display: inline-block;
}

#logo img {
  max-width: 135px;
}

#menu {
  /* position: absolute;
  right: 40px;
  top: 32px; */
  font-size: 18px;
  font-weight: 300;
}

#mobileMenu {
  display: none;
}

#mobileMenu img {
  max-width: 70%;
}

/* .nav-link.active .label {
  color: #4039E6;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
} */

.nav-link.active .label {
  position: relative;
  color: #4039E6;
  font-weight: 750;
}

.nav-link.active .label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px; /* adjust if needed */
  width: 100%;
  height: 4px;
  background-color: #4039E6;
  border-radius: 999px; /* this gives curve */
}

.openTab {
  margin-left: -5px;
  width: 17px;
}

.label {
  margin: 0 10px;
  font-weight: 350;
}

#callNow .label {
  font-weight: 600;
  margin-top: -2px;
}

#callNow {
  background-color: #4039E6;
  color: #fff;
  padding: 9px 10px 10px 18px;
  border-radius: 50px;
  font-size: 18px;
  vertical-align: middle;
  margin-left: 20px;
  box-shadow: 0 0 10px #C1BFFF;
}

#chatIcon {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #8bd21d; /* WhatsApp green */
  color: white;
  font-family: sans-serif;
  padding: 14px 12px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#chatIcon img {
  width: 22px;
}

#chatIcon span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 24px;
}

#chatText {
  transform: rotate(180deg);
}

.call-img {
  filter: brightness(0) invert(1);
  width: 16px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* For Mobile */
@media screen and (max-width: 1125px) {
  #mainBody {
    flex-direction: column;
    padding: 98px 20px 32px 20px;
  }
  header {
    width: calc(100% - 80px);
    max-width: 340px;
    min-width: 180px;
    top: 20px;
    padding: 8px 18px 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    position: fixed;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background-color: #4039E6;
  }
  #logo img {
    max-width: 110px;
  }
  #logo {
    filter: brightness(0) invert(1);
  }
  #menu {
    display: none;
    background: #fff;
    width: 100%;
    position: absolute;
    right: 0;
    margin-top: 425px;
    border: solid 1px #D9D9D9;
    border-radius: 14px;
    padding: 8px 0 14px 0;
    background-image: url(../images/bg-menu.webp);
    background-size: 180px;
    background-repeat: no-repeat;
    background-position: bottom right;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
  }
  #mobileMenu {
    display: block;
    text-align: right;
    /*margin-right: 8px;*/
    background-color: #241E9E;
    padding: 14px 12px 12px 12px;
    border-radius: 500px;
  }
  #mobileMenu img {
    max-width: 20px;
    filter: brightness(0) invert(1);
  }
  .nav-link {
    margin: 8px 8px;
  }
  #callNow {
    padding-top: 10px;
    width: max-content;
    margin-left: 16px;
    margin-top: 12px;
    display: flex;
    align-items: center;
  }
  .call-img {
    vertical-align: unset;
    position: static;
    top: 0;
  }
  #callNow .label { 
    margin-top: -2px;
  }
}