/* ================= GLOBAL RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f6f9f6;
  overflow-x: hidden;
}

/* ================= REMOVE ALL EXTRA SPACING ================= */
section {
  margin: 0;
  padding: 50px 0;
}

/* ================= HERO ================= */
.hero {
  height: 420px;
  background: url('../images/abouthero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  color: #fff;
}

.hero h1 {
  font-size: 42px;
  font-weight: 600;
}

.hero p {
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.9;
}

/* ================= MAIN WRAPPER ================= */
.main-wrapper {
  background: url('../images/bg-medical.webp') center/cover no-repeat fixed;
  padding: 50px 6%;
}
/* ================= ABOUT DETAILS FULL WIDTH ================= */
.about-details {
  padding: 60px 6%;   /* same as other sections */
  background: #eaf3ec;
}

/* FULL WIDTH CONTAINER */
.about-container {
  width: 100%;
  max-width: 1200px;   /* match homepage */
  margin: auto;

  background: #ffffff;
  padding: 50px 60px;  /* more breathing space */
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

/* TEXT */
.about-text h2 {
  font-size: 34px;
  color: #1B5E20;
  margin-bottom: 20px;
  text-align: center;
}

.about-text p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 15px;
}

/* LIST */
.about-text ul {
  margin: 15px 0;
}

.about-text ul li {
  color: #2E7D32;
  margin-bottom: 8px;
  font-weight: 500;
}

/* BUTTON */
.about-btn {
  display: inline-block;
  margin-top: 20px;
  background: #1B5E20;
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.about-btn:hover {
  background: #2E7D32;
}
/* ================= SECTION TITLE ================= */
.section-title {
  text-align: center;
  font-size: 32px;
  color: #1B5E20;
  margin-bottom: 40px;
}

/* ================= GLASS CARD ================= */
.glass-card {
  background: rgba(255,255,255,0.30);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.4);
  transition: 0.35s ease;
  color: #1B5E20;
}

/* TEXT VISIBILITY FIX */
.glass-card h3,
.glass-card h4 {
  color: #145a1f;
  margin-bottom: 10px;
}

.glass-card p {
  color: #333;
  font-size: 14px;
}

/* ================= HOVER EFFECT (MATCH HOME PAGE) ================= */
.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(46,125,50,0.15); /* green tint */
  border: 1px solid #2E7D32;
  box-shadow: 0 12px 30px rgba(27,94,32,0.25);
}

/* TEXT ON HOVER */
.glass-card:hover h3,
.glass-card:hover h4 {
  color: #0d3b17;
}

.glass-card:hover p {
  color: #1b1b1b;
}

/* ================= ICON ================= */
.icon-style {
  font-size: 40px;
  color: #1B5E20;
  margin-bottom: 15px;
}

/* ================= MISSION & VISION ================= */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* ================= TRUST ================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 25px;
}

.small-card {
  padding: 25px;
}

.small-card i {
  font-size: 26px;
  color: #1B5E20;
  margin-bottom: 10px;
}

/* ================= STATS ================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 25px;
}

.stat-item h2 {
  font-size: 36px;
  color: #1B5E20;
}

.stat-item p {
  color: #333;
}

/* ================= DOCTORS ================= */
.doctors-section {
  background: #eaf3ec;
  padding: 60px 6%;
}

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

.doctor-card {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e5efe7;
  transition: 0.35s ease;
}

.doctor-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.doctor-card h3 {
  font-size: 16px;
  color: #1B5E20;
}

.doctor-card p {
  font-size: 13px;
  color: #666;
}

/* HOVER MATCH HOME PAGE */
.doctor-card:hover {
  transform: translateY(-8px);
  background: rgba(46,125,50,0.08);
  border: 1px solid #2E7D32;
  box-shadow: 0 10px 25px rgba(27,94,32,0.2);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }

  .main-wrapper {
    padding: 40px 5%;
  }

  section {
    padding: 40px 0;
  }
}

ul {
  list-style: none;
  padding-left: 0;
}