/* ============================================
   Modular UI System
   Consistent sections + cards + layout
   ============================================ */

:root {
  --section-space: 90px;
  --section-space-sm: 60px;
  --module-radius: 18px;
  --module-border: 1px solid rgba(0, 0, 0, 0.08);
  --module-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  --module-shadow-lg: 0 22px 50px rgba(15, 23, 42, 0.15);
  --module-bg: #ffffff;
  --module-muted: #f7f8fb;
}

.page-shell {
  background: var(--off-white);
}

.section {
  padding: var(--section-space) 0;
}

.section--tight {
  padding: var(--section-space-sm) 0;
}

.section--muted {
  background: var(--module-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.6);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.05rem;
}

.module-card {
  background: var(--module-bg);
  border-radius: var(--module-radius);
  border: var(--module-border);
  box-shadow: var(--module-shadow);
}

.module-card--padded {
  padding: 32px;
}

.section-form {
  background: linear-gradient(135deg, rgba(230, 53, 67, 0.1), rgba(255, 255, 255, 0.9));
}

.section-form .form-shell {
  max-width: 980px;
  margin: 0 auto;
}

.section-form .form-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--module-shadow-lg);
  border: 1px solid rgba(230, 53, 67, 0.15);
  padding: 36px;
}

.section-form .form-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-form .form-title p {
  color: var(--gray);
}

.section-form .form-control,
.section-form .form-select,
.section-form select {
  border-radius: 12px;
}

.section-form .btn-primary {
  border-radius: 12px;
  font-weight: 600;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.section-grid .single-services,
.section-grid .single-news,
.section-grid .success-story,
.section-grid .feature-item {
  height: 100%;
}

.navbar-modular .navbar-brand img {
  height: 70px;
}

.navbar-modular .navbar-nav .nav-item a {
  font-weight: 600;
}

.stats-section.section--muted {
  background: var(--gradient-primary);
  color: #fff;
}

.stats-section.section--muted .stat-number,
.stats-section.section--muted .stat-label {
  color: #fff;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.press-card {
  background: #f3f4f7;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.press-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.section-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 24px 0;
}

.section-hero .header-content h1 {
  font-size: 3.4rem;
}

.section-hero .header-image img {
  border-radius: 24px;
  box-shadow: var(--module-shadow-lg);
}

@media (max-width: 991px) {
  .section {
    padding: 70px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-hero .header-content h1 {
    font-size: 2.6rem;
  }

  .section-form .form-card {
    padding: 28px;
  }
}

@media (max-width: 575px) {
  .section {
    padding: 60px 0;
  }

  .section-form .form-card {
    padding: 22px;
  }
}
