/* =========================
   GLOBAL RESPONSIVE FIX
========================= */
html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   NAVBAR (MOBILE)
========================= */
@media (max-width: 991px) {

  .custom-nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .nav-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav-center a {
    display: block;
    padding: 8px 0;
  }

  /* NAVBAR FIX */
.custom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* KEEP LOGO LEFT */
.nav-left {
  display: flex;
  align-items: center;
}

/* MENU ICON RIGHT */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

/* ICON LINES */
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  display: block;
}

/* DESKTOP MENU */
.nav-center {
  display: flex;
  gap: 25px;
  align-items: center;
}

 /* SHOW TOGGLE */
  .menu-toggle {
    display: flex;
  }

  /* KEEP HEADER IN ONE LINE */
  .custom-nav {
    flex-direction: row;
  }

  /* HIDE MENU INITIALLY */
  .nav-center {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;

    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    z-index: 111;
    display: none;
  }

  /* SHOW MENU WHEN ACTIVE */
  .nav-center.active {
    display: flex;
    z-index: 111;
    margin-top: 8px;
    border-radius: 10px;
  }
}

/* =========================
   HERO SECTION
========================= */
@media (max-width: 768px) {

  .hero {
    padding: 0 20px 100px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-btn {
    margin-top: 15px;
  }

  /* TAGS HIDE ON MOBILE */
  .tag {
    display: none;
  }
    .logo-track img {
    height: 40px;
    margin: 0 15px;
  }
  .about-box {
    text-align: center;
  }

  .about-title {
    font-size: 26px;
  }

  .about-text {
    font-size: 14px;
  }

  .about-img {
    margin-top: 20px;
  }

  .avatar-group {
    justify-content: center;
  }

  .stats-box {
    flex-direction: column;
    gap: 20px;
  }

  .divider {
    display: none;
  }
    .pf-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .pf-title {
    font-size: 22px;
  }

  .pf-arrows {
    justify-content: center;
  }
    .testi-item .row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .testi-text {
    font-size: 14px;
  }

  .testi-img img {
    width: 100%;
  }
   .bottom-gradient span {
display: block;
    max-width: 180px;
    margin: 11px -83px;
    line-height: 1.4;
    font-size: 13px;
  }
}


/* =========================
   SERVICES GRID
========================= */
@media (max-width: 992px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 576px) {

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-header h2 {
    font-size: 24px;
  }
  .avatar-group img {
  width: 35px;
  height: 35px;
  }
  .avatar-group {
  right: 0;
}
}
