/* ===================================================
   1. UTILITY & GENERAL CLASSES
   =================================================== */
.text-blue {
  color: #056795 !important;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h4 {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-desc {
  max-width: 650px;
  margin: 15px auto 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

/* ===================================================
   2. HERO SECTION (Wide Horizontal Rectangle Stat Cards)
   =================================================== */
.specialties-hero-section {
   background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  padding: 70px 20px 60px;
  color: #ffffff;
}

.specialties-hero-section .hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.25;
}

.specialties-hero-section .highlight-cyan {
  color: #00a8ec;
  position: relative;
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: #00a8ec;
  text-underline-offset: 6px;
}

.specialties-hero-section .hero-description {
  max-width: 920px;
  margin: 0 auto 45px;
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
}

.specialties-hero-section .inline-link {
  color: #00a8ec;
  text-decoration: underline;
}

/* Horizontal Rectangular Cards Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Wide Rectangular Box Style */
.hero-stat-card {
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 22px 28px; /* Kam height, zyada width taake rectangle bane */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 95px; /* Wide horizontal shape */
}

.hero-stat-card:hover {
  transform: translateY(-3px);
}

.hero-stat-card h3 {
  font-size: 30px;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 4px 0;
  line-height: 1.1;
}

.hero-stat-card p {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin: 0;
  white-space: nowrap; /* Text ko single horizontal line mein rakhne k liye */
}

/* ===================================================
   3. SPECIALTIES GRID SECTION
   =================================================== */
.specialties-section {
  padding: 70px 20px 90px;
  background-color: #f8fbfe;
  position: relative;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1150px;
  margin: 0 auto;
}

.specialty-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.specialty-card:hover {
  transform: translateY(-5px);
  border-color: #00a8ec;
  box-shadow: 0 12px 20px -5px rgba(0, 168, 236, 0.15);
}

.specialty-card .icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background-color: #eff6ff;
  color: #00a8ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.3s ease;
}

.specialty-card:hover .icon-box {
  background-color: #00a8ec;
  color: #ffffff;
}

.specialty-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.specialty-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ===================================================
   4. BOTTOM FORM SECTION (mb-hero)
   =================================================== */
.mb-hero {
  padding: 80px 20px;
  background-color: #ffffff;
}

.mb-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

.mb-hero-content h1 {
  font-size: 38px;
  font-weight: 700;
  color: #1e293b;
}

.mb-hero-content .highlight-underline {
  color: #1a81e7;
  text-decoration: underline;
}

.mb-hero-form-box {
  background: #f8fbfe;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.mb-hero-form-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.form-row {
  margin-bottom: 15px;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.mb-hero-form-box input,
.mb-hero-form-box select,
.mb-hero-form-box textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.mb-hero-form-box input:focus,
.mb-hero-form-box select:focus,
.mb-hero-form-box textarea:focus {
  border-color: #2952e3;
}

.btn-primary.full-width {
  width: 100%;
  padding: 14px;
  background-color: #2952e3;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary.full-width:hover {
  background-color: #1d3bb3;
}

/* ===================================================
   5. RESPONSIVE BREAKPOINTS
   =================================================== */
@media (max-width: 991px) {
  .hero-stats-grid,
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mb-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .specialties-hero-section .hero-title {
    font-size: 28px;
  }
  .hero-stats-grid,
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  .hero-stat-card p {
    white-space: normal;
  }
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
}