/* ─── PAGE HERO — FULL WIDTH, NO SHADOW ─────────────────────── */
.dev-page-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  max-width: 100vw;
  background: #0a0a14;              /* ← dark base, no white showing */
}

.dev-page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://hvm.co.in/images/wh8.jpeg') center/cover no-repeat;
  opacity: 0.75;                    /* ← was 0.40, increased so no white */
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

.dev-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17,29,62,0.70) 0%,
    rgba(17,29,62,0.50) 40%,
    rgba(17,29,62,0.30) 100%
  );
}

.dev-page-hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem var(--gutter, 2rem) 4rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.dev-page-hero-content .display-title {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.dev-page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-top: 1rem;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ─── STATS BAR — FULL WIDTH ─────────────────────────────────── */
.stats-bar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  max-width: 100vw;
  background: var(--clr-navy, #1B2D5B);
  padding: 1.2rem 0;
}

.stats-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

/* ─── INTRO BAND ─────────────────────────────────────────────── */
.intro-band {
  background: var(--clr-offwhite, #f6f7f9);
  border-bottom: 1px solid var(--clr-border, rgba(27,45,91,0.12));
  padding: 3rem var(--gutter, 2rem);
  text-align: center;
}

.intro-band p {
  max-width: 740px;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
  color: var(--clr-muted, #5c6272);
  line-height: 1.85;
}

.intro-band p:last-child { margin-bottom: 0; }
.intro-band strong { color: var(--clr-navy, #1B2D5B); font-weight: 500; }

/* ─── DEVELOPER CARDS GRID ───────────────────────────────────── */
.dev-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dev-full-card {
  background: var(--clr-white, #fff);
  border: 1px solid var(--clr-border, rgba(27,45,91,0.12));
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: default;
}

.dev-full-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27,45,91,0.10);
  border-color: var(--clr-navy, #1B2D5B);
}

.dev-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.dev-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dev-full-card:hover .dev-card-img img { transform: scale(1.06); }

.dev-card-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--clr-red, #C22032);
  padding: 0.22rem 0.65rem; border-radius: 2px; font-weight: 500;
}

.dev-card-body { padding: 1.6rem; }

.dev-card-name {
  font-size: 1rem; font-weight: 700;
  color: var(--clr-navy, #1B2D5B); margin-bottom: 0.4rem;
}

.dev-card-tagline {
  font-size: 0.88rem;
  color: var(--clr-muted, #5c6272);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.dev-card-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem;
}

.dev-tag-pill {
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--clr-navy, #1B2D5B);
  background: var(--clr-offwhite, #f6f7f9);
  border: 1px solid var(--clr-border, rgba(27,45,91,0.12));
  border-radius: 2px; padding: 0.2rem 0.6rem;
}

.dev-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--clr-border, rgba(27,45,91,0.12));
}

.dev-card-projects {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--clr-muted, #5c6272);
}

.dev-card-projects span {
  font-size: 1.1rem; font-weight: 700;
  color: var(--clr-navy, #1B2D5B);
  display: block; line-height: 1;
}

/* ─── WHY PARTNER GRID ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--clr-white, #fff);
  border: 1px solid var(--clr-border, rgba(27,45,91,0.12));
  border-radius: var(--radius-md, 8px);
  transition: all 0.35s ease;
}

.why-card:hover {
  border-color: var(--clr-navy, #1B2D5B);
  box-shadow: 0 8px 30px rgba(27,45,91,0.08);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--clr-offwhite, #f6f7f9);
  border: 1px solid var(--clr-border, rgba(27,45,91,0.12));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  transition: background 0.35s ease;
}

.why-card:hover .why-icon { background: var(--clr-navy, #1B2D5B); }
.why-card:hover .why-icon svg { stroke: #fff; }
.why-icon svg { stroke: var(--clr-navy, #1B2D5B); transition: stroke 0.35s ease; }

.why-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--clr-navy, #1B2D5B); margin-bottom: 0.6rem;
}

.why-desc { font-size: 0.85rem; color: var(--clr-muted, #5c6272); line-height: 1.7; }

/* ─── DREAM BAND CTA ─────────────────────────────────────────── */
.dream-band {
  background: var(--clr-offwhite, #f6f7f9);
  padding: 4rem var(--gutter, 2rem);
  text-align: center;
}

.dream-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--clr-heading, #111);
  line-height: 1.3; margin-bottom: 0.75rem;
}

.dream-band p {
  color: var(--clr-muted, #5c6272);
  font-size: 0.95rem; margin-bottom: 2rem;
}

/* ─── FAQ SECTION ────────────────────────────────────────────── */
.faq-section { background: var(--clr-white, #fff); }

.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--clr-border, rgba(27,45,91,0.12)); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0; cursor: pointer;
  font-size: 0.95rem; color: var(--clr-heading, #111);
  gap: 1rem; transition: color 0.35s ease;
  background: none; border: none; width: 100%; text-align: left;
}

.faq-question:hover { color: var(--clr-navy, #1B2D5B); }

.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--clr-border, rgba(27,45,91,0.12));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s ease;
  font-size: 1rem; color: var(--clr-muted, #5c6272);
}

.faq-item.open .faq-question { color: var(--clr-navy, #1B2D5B); }

.faq-item.open .faq-icon {
  background: var(--clr-navy, #1B2D5B);
  border-color: var(--clr-navy, #1B2D5B);
  color: #fff; transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.4rem;
  font-size: 0.88rem; color: var(--clr-muted, #5c6272); line-height: 1.85;
}

.faq-item.open .faq-answer { display: block; }

/* ─── SEO TEXT BLOCK ─────────────────────────────────────────── */
.seo-text-block { background: var(--clr-white, #fff); }

.seo-text-block .seo-inner { max-width: 860px; margin: 0 auto; }

.seo-text-block h2 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--clr-navy, #1B2D5B); margin-bottom: 1rem;
}

.seo-text-block p {
  font-size: 0.9rem; color: var(--clr-muted, #5c6272);
  line-height: 1.9; margin-bottom: 1rem;
}

.seo-text-block .read-more {
  font-size: 0.82rem; letter-spacing: 0.08em;
  color: var(--clr-navy, #1B2D5B);
  border-bottom: 1px solid var(--clr-navy, #1B2D5B);
  display: inline-block; cursor: pointer; transition: color 0.35s ease;
}

.seo-text-block .read-more:hover { color: var(--clr-red, #C22032); border-color: var(--clr-red, #C22032); }
.seo-text-block .seo-extra { display: none; }
.seo-text-block.expanded .seo-extra { display: block; }

/* ─── ICON STATS BAR ─────────────────────────────────────────── */
.icon-stats-bar {
  background: var(--clr-offwhite, #f6f7f9);
  border-top: 1px solid var(--clr-border, rgba(27,45,91,0.12));
  padding: 3rem 0;
}

.icon-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
}

.icon-stat-item { padding: 1.5rem 0.5rem; }

.icon-stat-num {
  font-size: 1.8rem; font-weight: 600;
  color: var(--clr-navy, #1B2D5B); line-height: 1;
  margin: 0.75rem 0 0.4rem;
}

.icon-stat-label {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--clr-muted, #5c6272);
}

/* ─── CONTACT SECTION ────────────────────────────────────────── */
.contact-map { margin-top: 1.5rem; }
.contact-map iframe { border-radius: 8px; display: block; }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.contact-cta {
  background: var(--clr-navy, #1B2D5B);
  padding: 4rem var(--gutter, 2rem);
}

.contact-cta-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}

.contact-cta-inner h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300; color: #fff; line-height: 1.4;
}

.contact-cta-inner p { color: rgba(255,255,255,0.60); margin-top: 0.5rem; font-size: 0.9rem; }

.cta-buttons { display: flex; gap: 1rem; flex-wrap: nowrap; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dev-full-grid         { grid-template-columns: repeat(2, 1fr); }
  .why-grid              { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-5          { grid-template-columns: repeat(3, 1fr); }
  .icon-stats-grid       { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* Hero */
  .dev-page-hero         { min-height: 70vh; }
  .dev-page-hero-bg      {
    background-position: 50% 20% !important;
    transform: none;
    opacity: 0.35;
  }
  .dev-page-hero-content { padding: 6rem 1.2rem 2.5rem; }
  .dev-page-hero-content .display-title { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; }
  .dev-page-hero-desc    { font-size: 0.92rem; }

  /* Grids */
  .dev-full-grid         { grid-template-columns: 1fr; }
  .why-grid              { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-5          { grid-template-columns: repeat(2, 1fr); }
  .icon-stats-grid       { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .contact-cta-inner     { flex-direction: column; text-align: center; }
  .cta-buttons           { flex-direction: row !important; flex-wrap: nowrap !important; width: 100%; gap: 0.5rem; }
  .cta-buttons .btn-dark { flex: 1; justify-content: center; padding: 0.75rem 0.5rem; font-size: 0.65rem; white-space: nowrap; }

  /* Intro band */
  .intro-band            { padding: 2rem 1.2rem; }
  .dream-band            { padding: 3rem 1.2rem; }
}

@media (max-width: 480px) {
  .dev-page-hero         { min-height: 75vh; }
  .dev-page-hero-bg      { background-position: 40% 15% !important; }
  .why-grid              { grid-template-columns: 1fr; }
  .icon-stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-5          { grid-template-columns: repeat(2, 1fr); }
}