/* =====================================================================
   ABOUT INTRO – "Welcome to Zehra Hospital" text + photos + Emergency/Maternity boxes (home)
   File: css/sections/about-intro.css
   .ab = welcome block, .ims = 4 photo grid, .sv = service mini box (icon + text).
   ===================================================================== */

/* ---------------------------------------------------------------------
   MAIN STYLE (desktop)
   --------------------------------------------------------------------- */
.ab h6 {
  color: #302929;
  font-size: 1rem;
  font-weight: 400;
}
.ab h1,
.ab h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 8px 0 16px;
  color: #111;
}
.ab p {
  color: var(--gy);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.ims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ims img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 6px #0002;
  margin-bottom: 8px;
  transition: transform .5s;
  object-fit: cover;
}
.ims img:hover {
  transform: scale(1.05);
}
.sv {
  display: flex;
  padding: 20px;
  border-radius: 8px;
  transition: .3s;
  gap: 20px;
}
.sv:hover {
  background: #fef2f2;
  box-shadow: 0 10px 15px #0001;
}
.sv .i {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}
.sv h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #302929;
  margin-bottom: 8px;
}
.sv p {
  color: var(--gy);
  margin-bottom: 10px;
}
.sv a {
  color: var(--gy);
  font-weight: 600;
}
.sv a:hover {
  color: #ef4444;
}

.ims .tall { height: 260px; }
.ims .short { height: 160px; }
.ab .sv-row { margin-top: 40px; gap: 8px; }

/* ---------------------------------------------------------------------
   RESPONSIVE – Tablet (max 1023px) aur Mobile (max 767px)
   --------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .ab h1, .ab h2 { font-size: 1.7rem; }
  .ab p { font-size: 1rem; }
  .ims .tall { height: 220px; }
  .ims .short { height: 140px; }
}
@media (max-width: 767px) {
  .ab h1, .ab h2 { font-size: 1.5rem; }
  .ab .sv-row { margin-top: 24px; }
  .ims .tall { height: 180px; }
  .ims .short { height: 120px; }
  .sv { padding: 16px 8px; gap: 14px; }
  .sv .i { width: 52px; height: 52px; font-size: 1.3rem; }
}
