* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: min(5%, 1rem);
  background-color: #fafafd;
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid #e0e0e0;
}

.navbar img {
  height: clamp(40px, 8vw, 55px);
  width: auto;
  max-width: 100%;
  cursor: pointer;
}

.nav-links a {
  text-decoration: none;
  margin: 0 0.6rem;
  color: #315687;
  font-size: 1rem;
  position: relative;
  font-weight: 550 !important;
}

.nav-links a::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 0%;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 148, 0.792);
  transition: all ease 500ms;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}

.nav-toggle i {
  font-size: 1.5rem;
  color: black;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] i {
  transform: rotate(90deg);
  color: rgba(0, 0, 148, 0.792);
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: black;
  margin: 5px 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* hero section */
.hero {
  height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: self-start;
  width: 100%;
  background: #ffffff;
  background: linear-gradient(
    279deg,
    rgba(255, 255, 255, 1) 47%,
    rgba(0, 4, 255, 0.09) 100%
  );
}

.hero-content {
  padding-left: min(5%, 1rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  margin-left: 0.5rem;
  margin-top: 8rem;
  width: 60%;
}

.hero-content h1 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  color: #49646e;
  font-weight: 700;
  line-height: 3.5rem;
  text-wrap: wrap;
}

.hero-content .auto-type {
  display: inline-block;
  color: rgb(21, 198, 21);
}

.typed-cursor {
  color: rgb(21, 198, 21);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1rem);
  color: #444444;
  line-height: 1.5;
  font-family: Verdana, Tahoma;
  margin-top: 1.2rem;
}

.hero-button {
  display: flex;
  gap: 2rem;
}

.hero-button button {
  padding: 0.75rem 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: white;
  background-color: #315687;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    background-color 300ms ease;
  box-shadow: 0 8px 18px rgba(49, 86, 135, 0.25);
  isolation: isolate;
}

.hero-button button::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, #00d4ff, #315687, #26ff00, #00d4ff);
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: -1;
}

.hero-button button::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, #3f6fb3 0%, #23436c 100%);
  border-radius: 4px;
  z-index: -1;
}

.hero-button button:hover,
.hero-button button:focus-visible {
  transform: translateY(-3px) scale(1.02);
}

.hero-button button:hover::before,
.hero-button button:focus-visible::before {
  opacity: 1;
  animation: glow-spin 2s ease-in-out infinite;
}

.hero-button button:active {
  transform: translateY(0) scale(0.98);
}

@keyframes glow-spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-video {
  width: 40%;
  height: auto;
  margin-right: 0.5rem;
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(-2);
  filter: saturate(2);
  transform: scale(0.8);
  margin-top: -4rem;
}

.other-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.other-services h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #49646e;
  font-weight: 700;
  margin: 2rem 0;
}

.service {
  margin-bottom: 2rem;
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 4rem;
}

.service img {
  height: 400px;
  width: auto;
  margin-bottom: 1rem;
}
#service-img2 {
  margin: 0;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 60%;
  margin-top: 1.5rem;
}

.service-content h3 {
  font-size: clamp(2.5rem, 4vw, 2rem);
  color: #49646e;
  font-weight: 700;
  line-height: 3.6rem;
}

.service-content span {
  color: rgb(21, 198, 21);
}

.service-content p {
  font-size: clamp(1.1rem, 2.5vw, 1rem);
  color: #444444;
  line-height: 1.5;
  font-family: Verdana, Tahoma;
}
.benefits {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 80%;
  line-height: 1.5rem;
}
.benefits li {
  font-size: clamp(1rem, 2.5vw, 1rem);
  color: #444444;
  font-family: Verdana, Tahoma;
  margin-bottom: 0.5rem;
  list-style: none;
}
.benefits li i {
  color: #28d30a;
  margin-right: 0.5rem;
  font-size: 1.2rem;
}
.client-feedback {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  background: linear-gradient(
    88deg,
    rgba(255, 255, 255, 1) 25%,
    rgba(85, 0, 255, 0.09) 100%
  );
  padding-bottom: 2rem;
  gap: 2rem;
}
.client-feedback h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #49646e;
  font-weight: 700;
  margin: 2rem 0;
}

.feedback {
  width: 20%;
  margin-top: 2rem;
  font-size: clamp(1rem, 2.5vw, 1rem);
  color: #444444;
  line-height: 1.5;
  font-family: Verdana, Tahoma;
  text-align: center;
  border-left: 4px solid #004cff;
  padding-left: 1rem;
  border-radius: 14px;
  background-color: mintcream;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem;
}

.client-profile img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.feedback p {
  color: #333333;
  font-size: 0.7rem;
  text-align: start;
  padding-left: 0.5rem;
  font-style: italic;
  font-weight: 500;
  padding-bottom: 1rem;
}

.feedback span {
  font-weight: 700;
  color: gold;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .navbar button {
    font-size: 1.7rem;
  }
  .navbar img {
    height: clamp(60px, 6vw, 45px);
  }
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
  }

  .hero-content {
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    margin-top: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 2rem;
  }

  .hero-content span {
    color: #004cff;
  }

  .hero-content p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
  }

  .hero-button button {
    padding: 0.45rem 1.2rem;
    font-size: 0.7rem;
    background-color: #004cffc5;
  }
  .hero-button {
    flex-direction: column;
    gap: 0;
  }

  .hero-video {
    width: 100%;
    margin-top: 2rem;
    margin-left: -1rem;
    padding-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #e6eaf0;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-links a {
    margin: 0.25rem 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  /* Service section responsive styles */
  .service {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
  }

  .service:nth-child(3) {
    flex-direction: column-reverse;
  }

  .service img {
    height: auto;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 0;
  }

  #service-img2 {
    margin: 0;
  }

  .service-content {
    width: 100%;
    margin-top: 0;
  }

  .service-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 2.2rem;
  }

  .service-content p {
    font-size: clamp(0.9rem, 2vw, 1rem);
  }

  .benefits {
    width: 100%;
  }

  .benefits li {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
  }
}

@media (max-width: 480px) {
  .hero {
    background: #fff;
  }

  .other-services h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 1.5rem 0.5rem;
  }

  .service {
    padding: 1rem;
    gap: 1rem;
  }

  .service img {
    height: auto;
    max-height: 400px;
  }

  .service-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.8rem;
  }

  .service-content p {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }

  .benefits li {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #315687;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 76, 255, 0.3);
}

.scroll-to-top:hover {
  background-color: #315687;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 76, 255, 0.5);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top.show {
  display: flex;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .whatsapp_icon {
    bottom: 1rem;
    right: 0.8rem;
    height: 10px;
    width: 600px;
  }

}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .whatsapp_icon {
    bottom: 1rem;
    right: 0.8rem;
    height: 10px;
    width: 600px;
  }

  .about {
    background-color: #fff;
  }
}

/* whatsapp icon */
.whatsapp_icon {
  position: fixed;
  bottom: 6rem;
  right: 1.6rem;
  cursor: pointer;
  z-index: 1001;
  background: transparent !important;
}
