body {
    background-color: #919191;
}
/* Carousel */

.carousel-inner {
  max-height: 650px; /* set the desired max height */
  overflow: hidden; /* hide overflow for smoother visuals */
}

.carousel-item img {
  height: 650px; /* same as the carousel-inner height */
  object-fit: cover; /* maintain aspect ratio, crop if needed */
  width: 100%; /* full width */
}

.carousel-caption {
  /* Background overlay for better readability, optional */
  background: rgba(24,48,94,0.38);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
}

.hero-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.hero-desc, .carousel-caption h1 {
  color: #fff;
}

.carousel-inner {
  max-height: 650px;
  overflow: hidden;
}

.carousel-item img {
  height: 650px;
  object-fit: cover;
  width: 100%;
}

.carousel-caption {
  background: rgba(24, 48, 94, 0.38);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
}

.hero-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.hero-desc,
.carousel-caption h1 {
  color: #fff;
}

.btn-appointment {
  background-color: #263778 !important;
  color: white !important;
  border: none; /* optionally remove border */
}

.btn-appointment:hover,
.btn-appointment:focus,
.btn-appointment:active {
  background-color: #1f2c60 !important; /* a darker shade for hover/focus */
  color: white !important;
  box-shadow: none !important;
}

/* Stat Row */

.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 18px 12px;
  max-width: 1200px;
  margin: -80px auto 0 auto;
  position: relative;
  z-index: 10;
}

/* Each section inside box */
.stats-card {
  flex: 1;
  text-align: center;
  padding: 10px 20px;
  position: relative;
}

/* Add vertical divider between cards */
.stats-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #d4d8ee;
}

.stats-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #263778;
  margin: 0 0 8px 0;
}

.stats-card p {
  font-weight: 600;
  color: #4e587d;
  margin: 0;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .stats-row {
    flex-direction: column;
    gap: 25px;
    padding: 22px 10px;
  }

  /* Remove dividers for stacked layout */
  .stats-card:not(:last-child)::after {
    display: none;
  }
}


/* Hero Section */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  max-width: 1200px;
  margin: 50px auto;
  gap: 40px;
}

.hero-content {
  flex: 1;
  color: #2e3a59;
}

.hero-content .tagline {
  color: #e95b3a;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: #1e2a60;
  margin-bottom: 20px;
}

.hero-content .description {
  color: #272727;
  line-height: 1.6;
  margin-bottom: 36px;
  font-size: 20px;
}

.info-box {
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

.info-box h4 {
  color: #1e2a60;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.info-box p {
  color: #272727;
  margin: 0;
}

.hero-video {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video video {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  object-fit: cover;
  background: #eaeaea;
}

/* Responsive layout */
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-video video {
    max-width: 100%;
    margin-top: 20px;
  }

  .info-box {
    text-align: left;
  }
}


/* Services Section */

.clinic-services {
  background: #f8f8f8;
}

.section-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: #263778 !important;
}

.section-tag {
  color: #e95b3a !important;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.service-card {
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 0.2s, background 0.2s;
  text-align: left;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(38, 48, 120, 0.06);
}

.service-card:hover {
  box-shadow: 0 8px 40px rgba(38, 48, 120, 0.20);
  z-index: 2;
}

.special-bg {
  background: #ffc4a2 !important; /* light warm color for card 1 */
}

.special-bg-2 {
  background: #ffc4a2 !important; /* light cool color for card 3 */
}

.special-bg-3 {
  background: #ffc4a2 !important; /* Use any color you like! */
}

.service-card img {
  border-radius: 12px;
  padding: 0px;
  display: block;
}

.service-card h5 {
  font-weight: 700;
  color: #263778;
}

.service-card p {
  color: #868ea6;
  font-size: 1rem;
}

/* Responsive - Center content on small screens */
@media (max-width: 767px) {
  .service-card {
    text-align: center;
    align-items: center;
  }
}

.service-card:hover {
  box-shadow: 0 8px 40px rgba(38, 48, 120, 0.20);
  background: #afc4ff; /* Light blue on hover */
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

/* For special-bg cards hover (different color) */
.service-card.special-bg:hover {
  box-shadow: 0 8px 40px rgba(255, 131, 92, 0.6);
  background: #ffd7bf; /* warm light peach */
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

/* For special-bg-2 cards hover (different color) */
.service-card.special-bg-2:hover {
  box-shadow: 0 8px 40px rgba(58, 120, 255, 0.6);
  background: #0080ff; /* cool light blue */
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

/* For special-bg-3 cards hover (different color) */
.service-card.special-bg-3:hover {
  box-shadow: 0 8px 40px rgba(90, 200, 200, 0.6);
  background: #c9fafa; /* turquoise */
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.no-inconvenience-section {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fdfdfd;
  color: #0a1a4a;
  padding: 80px 10% 40px 10%;
}

.no-inconvenience-section .tagline {
  color: #d94830;
  font-size: 35px;
  margin-bottom: 40px;
  letter-spacing: 0.2px;
  font-weight: 600;
}

.no-inconvenience-section .no-list {
  list-style: none;
  padding: 0;
  margin: 0 0 60px 0;
}

.no-inconvenience-section .no-list li {
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.3;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 20px;
}

.no-inconvenience-section .buttons {
  display: flex;
  gap: 16px;
}

.no-inconvenience-section .about-btn {
  display: inline-block;
  text-decoration: none;
  border: 2px solid #203570;
  border-radius: 40px;
  padding: 12px 26px;
  color: #203570;
  font-weight: 500;
  transition: all 0.3s;
}

.no-inconvenience-section .about-btn:hover {
  background-color: #203570;
  color: #fff;
}

@media (max-width: 768px) {
  .no-inconvenience-section .no-list li {
    font-size: 28px;
  }
  .no-inconvenience-section {
    padding: 60px 5% 30px 5%;
  }
  .no-inconvenience-section .buttons {
    flex-direction: column;
  }
}


.section-header {
  color: #d86337;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 2rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 10px rgba(24,38,75,0.02);
  padding: 2rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-text {
  font-size: 1.18rem;
  color: #283593;
  margin-bottom: 2rem;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-footer img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 9px;
}
.testimonial-name {
  font-size: 1.18rem;
  color: #f25e3d;
  font-weight: 500;
}
.carousel-controls-top {
  position: absolute;
  top: -30px;
  right: 0;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
.nav-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #1a237e;
  border-radius: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: transparent;
  color: #1a237e;
  transition: background 0.2s, color 0.2s;
}
.nav-btn:hover {
  background: #1a237e;
  color: #fff;
}
.carousel-inner {
  min-height: 370px;
}
@media (max-width: 991px) {
  .testimonial-card {
    min-height: 220px;
    padding: 1.25rem;
  }
  .main-title {
    font-size: 2rem;
  }
  .carousel-inner {
    min-height: 250px;
  }
}


/* ---------- Team Section ---------- */
.team-section {
  background: #fafbfa;
}

.team-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #233064;
}

.team-section p.text-danger {
  font-weight: 500;
}

/* ---------- Doctor Profile ---------- */
.doctor-profile {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-profile:hover {
  transform: translateY(-8px);
}

/* ---------- Circular Image with Strong Dark Shadow ---------- */
.doctor-img {
  width: 210px;
  height: 210px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background-color: #f9f9f9;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
              0 0 0 5px #fff;
}

.doctor-profile:hover .doctor-img {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6),
              0 0 0 5px #fff,
              0 0 25px rgba(35, 48, 100, 0.4);
  transform: scale(1.05);
}

.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.doctor-img-ashiq-hussain img {
  object-position: center 10%;
}

/* Hover zoom */
.doctor-profile:hover .doctor-img img {
  transform: scale(1.08);
}

/* ---------- Text Styling ---------- */
.doctor-name {
  font-weight: 600;
  color: #233064;
  margin-bottom: 6px;
}

.doctor-name a {
  color: #233064;
  text-decoration: none;
}

.doctor-name a:hover {
  text-decoration: underline;
}

.doctor-position {
  color: #6c757d;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.doctor-position a {
  color: #6c757d;
  text-decoration: none;
}

.doctor-position a:hover {
  text-decoration: underline;
}

.doctor-info {
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
  max-width: 250px;
  margin: 0 auto;
}

.doctor-info a {
  color: #333;
  text-decoration: none;
}

.doctor-info a:hover {
  text-decoration: underline;
}

/* ---------- Badge ---------- */
.badge-inline {
  display: inline-flex;
  align-items: baseline;
  margin-left: 6px;
}

.badge-inline img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  position: relative;
  top: -1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .doctor-img {
    width: 160px;
    height: 160px;
    margin-bottom: 12px;
  }

  .doctor-info {
    font-size: 0.85rem;
  }
}

/* Clinic Features Section */
.clinic-features {
  background: #fff;
  padding: 80px 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Section Headings */
.clinic-features .section-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: #263778 !important;
  text-align: center;
}

.clinic-features .section-tag {
  color: #e95b3a !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  display: block;
}

/* Image Styling and Controls */
.feature-image-wrapper {
  position: relative;
  display: inline-block;
  width: 85%;
  max-width: 480px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-image {
  width: 100%;
  height: 80px;      /* change this value to control height */
  object-fit: cover;  /* keeps aspect ratio, crops if necessary */
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.feature-image-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

/* Right Content Styling */
.clinic-features .text-start p {
  color: #5a6285;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 520px;
}

/* Button Styling */
.clinic-features .about-btn {
  display: inline-block;
  text-decoration: none;
  border: 2px solid #203570;
  border-radius: 40px;
  padding: 12px 28px;
  color: #203570;
  font-weight: 500;
  transition: all 0.3s ease;
}

.clinic-features .about-btn:hover {
  background-color: #203570;
  color: #fff;
  box-shadow: 0 6px 22px rgba(32, 53, 112, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
  .clinic-features {
    text-align: center;
    padding: 60px 5%;
  }

  .clinic-features .section-title {
    font-size: 2.2rem;
  }

  .clinic-features .section-tag {
    font-size: 1rem;
  }

  .feature-image-wrapper {
    width: 100%;
    max-width: 400px;
  }

  .clinic-features .text-start {
    text-align: center !important;
  }

  .feature-image {
    margin-bottom: 40px;
    height: 220px;
  }
}

@media (max-width: 576px) {
  .clinic-features .section-title {
    font-size: 1.9rem;
  }

  .clinic-features .section-tag {
    font-size: 0.95rem;
  }

  .clinic-features .about-btn {
    padding: 10px 24px;
  }

  .feature-image {
    height: 140px;
  }
}
