/* Author: @AbdulKhadhar - SnabCreation */
/* ─── CATEGORY LANDING PAGE CUSTOM TWEAKS ─── */
/* Note: 95% of the styling is now inherited directly from main.css */

/* Custom Hero Layout adjustment for the contact form */
@media (min-width: 1025px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.hero-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  color: var(--black);
}

.hero-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

/* Ensure process step connectors look correct in the global theme */
.process-steps {
  position: relative;
}

.service-card {
  text-align: left;
  display: block;
}

.service-card:hover {
  text-decoration: none;
}

/* --- DENSITY TWEAKS --- */
/* Reduce the large white spaces from main.css to create a thicker, denser layout */
.service-category-page .section {
  padding: 3rem 0;
}

.service-category-page .hero {
  padding: 2.5rem 0;
  min-height: auto;
}

.service-category-page .section-label {
  margin-bottom: 0.5rem;
}

.service-category-page .section-title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.service-category-page .section-subtitle {
  margin-bottom: 2rem;
}

.service-category-page .factors-grid {
  gap: 1rem;
}

.service-category-page .why-grid {
  gap: 1rem;
}

/* Also ensure the top navbar doesn't cause a blank white strip before a dark hero */
/* The main tag gets padding-top: var(--nav-h) which is white. If hero is dark, it looks odd. */
/* We can pull the hero up to hide that space if necessary, but actually the nav is white,
   so it should look like a white header, then a dark hero. However, reducing hero padding helps. */

@media (max-width: 768px) {
  .service-category-page .section {
    padding: 2.5rem 0;
  }
  .service-category-page .hero {
    padding: 2rem 0;
  }
}
