.services-section {
  padding: 100px 6%;
  background: var(--bg-dark);
}

.services-container {
  max-width: 1200px;
  margin: auto;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main);
  margin-bottom: 12px;
}

.services-header p {
  color: var(--text-dim);
  max-width: 620px;
  margin: auto;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* CARD */
.service-card {
  position: relative;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  transform: translateY(40px);
  opacity: 1;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* IMAGE */
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* OVERLAY */
.service-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.9),
    rgba(5,5,5,0.4),
    rgba(5,5,5,0.1)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

/* TEXT */
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.5s ease;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  transform: translateY(20px);
  opacity: 0;
  transition: 0.6s ease;
}

/* HOVER */
.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-shadow);
}

.service-card:hover h3,
.service-card:hover p {
  transform: translateY(0);
  opacity: 1;
}

/* BORDER GLOW */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 140, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::after {
  opacity: 1;
}

/* SCROLL ACTIVE */
.service-card.visible {
  transform: translateY(0);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .service-card {
    height: 260px;
  }

  .service-card h3,
  .service-card p {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =====================================
   DESKTOP ONLY – SERVICES DROPDOWN
===================================== */

@media (min-width: 769px) {

  nav {
    z-index: 9999;
  }

  .nav-item.dropdown {
    position: relative;
  }

  .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }

  .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;

    min-width: 280px;
    padding: 10px 0;

    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(16px);

    border-radius: 14px;
    border: 1px solid rgba(255, 140, 0, 0.25);

    box-shadow:
      0 25px 60px rgba(0, 0, 0, 0.65),
      inset 0 0 0 1px rgba(255, 140, 0, 0.15);

    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition: all 0.3s ease;
    z-index: 10000;
  }

  .dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
  }

  .dropdown-menu li a:hover {
    color: var(--primary-orange);
    background: linear-gradient(
      90deg,
      rgba(255, 140, 0, 0.18),
      rgba(255, 69, 0, 0.05)
    );
  }

  /* SHOW ON HOVER */
  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Rotate arrow */
  .nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }
}
/* =====================================
   MOBILE – SERVICES AS NORMAL LIST
===================================== */

@media (max-width: 768px) {

  .dropdown-arrow {
    display: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;

    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;

    padding: 0;
    margin-top: 6px;
  }

  .dropdown-menu li a {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-dim);
  }
}

/* service section top */
.pro-services-section {
  position: relative;
  z-index: 10;
  padding-top: 80px !important;
}

.pro-services-header {
  position: relative;
  z-index: 20;
  text-align: center;
  margin-bottom: 60px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.pro-services-header h2 {
  font-size: 1.5rem;
  color: #ffffff !important;
  margin-bottom: 10px;
  display: block !important;
}

.services-sub {
  color: #bbbbbb !important;
  font-size: 1.2rem;
  display: block !important;
}
#services {
  padding-top: 80px;
  padding-bottom: 300px !important;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 122, 0, 0.15);
  color: #ff7a00;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.pro-services-header {
   display: none;
}
.pro-service-card {
  aspect-ratio: 4 / 3;
}
