.social-icons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.15);
  opacity: 0.85;
}


/* ===================== */
/* LOGO (TOP CENTER) */
/* ===================== */

.logo1 {
  width: 100%;
  text-align: center;
  padding: 20px 0 10px;
  background: #f3f8f4; /* soft herbal background */
}

.logo1 img {
  max-height: 90px;
  width: auto;
  display: inline-block;
  object-fit: contain;
}

/* Add breathing space before slider */
.slider {
  margin-top: 10px;
  margin-bottom: 10px;
}


/* ===================== */
/* ABOUT */
/* ===================== */
.about {
  display: flex;
  gap: 30px;
  padding: 25px 12% 20px;
  align-items: flex-start;
  flex-direction: column;
}


.about-item {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  width: 100%;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about img {
  width: 380px;
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about img:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.16);
}

.about h2 {
  font-family: 'Playfair Display', serif;
  color: #2f5d44;   /* herbal heading */
  font-size: 32px;
  font-weight: 400;
}

.about p {
  margin-top: 15px;
  line-height: 1.9;
  color: #4f5f52;   /* soft leaf text */
}


/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 768px) {
  
  .about {
    flex-direction: column;
    text-align: center;
    padding: 60px 8%;
  }

  .about img {
    width: 100%;
    max-width: 340px;
  }

  .slider {
    height: 260px;
  }
}

/* ===================== */
/* RESPONSIVE: Mobile / Tablet */
/* ===================== */
@media (max-width: 992px) {
 .about-item {
    flex-direction: column !important; /* force vertical stacking */
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .about img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
  }

  .about-text {
    width: 100%;
  }

  .about h2 {
    font-size: 28px;
  }

  .about p, .homedetails ul {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .about-item {
    flex-direction: column !important; /* force vertical stacking */
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .about img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
  }

  .about-text {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .about-item {
    flex-direction: column !important; /* force vertical stacking */
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .about img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
  }

  .about-text {
    width: 100% !important;
  }
}



/* ===================== */
/* DOCTORS SECTION */
/* ===================== */
.doctors {
  background: #f6fbf7;
  padding: 20px 20px 25px;
  text-align: center;
}

.doctors h2 {
  font-size: 36px;
  color: #2f5d44;   /* deep herbal green */
  margin-bottom: 12px;
  font-weight: 700;
}

.doctors p {
  color: #5f6f63;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

/* Cards grid */
.doctors .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

/* Individual doctor card */
.doctors .card {
  background: #ffffff;
  padding: 28px 18px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(47,93,68,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctors .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px rgba(47,93,68,0.12);
}

/* Doctor image */
.doctors .card img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center top;   /* shows hair/top properly */
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 4px solid #6b8f71;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctors .card img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* Name & specialization */

.doctor-card h3 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f3d2e;   /* deep herbal tone */
}

.doctors .card p {
  font-size: 14px;
  line-height: 1.6;
  color: #4f5f52;
  margin-bottom: 4px;
}

/* Specialization highlight */
.doctors .card .specialization {
  color: #6b8f71;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .doctors .card img {
    width: 90px;
    height: 90px;
  }

  .doctors h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .review-section {
    max-width: 100%;
    padding: 18px 16px;
  }
}
/* DOT CONTAINER */
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

/* EACH DOT */
.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  display: inline-block;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: 0.3s;
}

/* ACTIVE DOT */
.dot.active {
  background: #ffffff;
  transform: scale(1.2);
}