html,
body {
  height: 100%;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

.hero-section {
  background: linear-gradient(rgba(0, 150, 150, 0.8), rgba(0, 150, 150, 0.8));

  background-size: cover;
  background-position: center;

  padding: 120px 0;
}

/* First Section Slider Image */

.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c8f8f;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.slider-bg {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: calc(250px * 8);
  animation: scroll 25s linear infinite;
}

.slide-track img {
  /* width:200px; */
  height: 480px;
  /* object-fit:cover; */
  margin: 10px;
  border-radius: 15px;
  opacity: 0.8;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Location Section CSS Code */

.locations-section-home {
  background: #eef3f5;
}

/* equal height columns */
.locations-section-home .row {
  display: flex;
  flex-wrap: wrap;
}

.locations-section-home .col-md-3 {
  display: flex;
}

/* card */
.location-card-home {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  transition: all 0.3s ease;
}

.location-card-home:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* icon */
.icon-circle-home {
  width: 50px;
  height: 50px;
  background: #e6f3f2;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;

  margin: 0 auto 15px;
}

/* subtitle line (A Unit of...) */
.unit1 {
  font-size: 13px;
  font-weight: 500;
  color: #777;
  margin-bottom: 6px;
}

/* Appoinment CTA Section CSS Code */

.appointment-cta {
  background: linear-gradient(90deg, #2c8f8f, #3fa9a9);

  padding: 80px 20px;
}

.appointment-cta h2 {
  font-size: 36px;
}

.appointment-cta p {
  font-size: 18px;
  opacity: 0.9;
}

.cta-btn {
  padding: 12px 35px;
  font-weight: bold;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffcc33, #ff9900);
  border: none;
  color: #000;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* hover animation */

.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: #000;
}

/* glow effect */

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: 0.6s;
}

.cta-btn:hover::before {
  left: 100%;
}

/* pulse attention animation */

@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

.cta-btn {
  animation: ctaPulse 2.5s infinite;
}

/* Popup Announcement Modal */

.popup-dialog {
  max-width: 560px;
}

.popup-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.popup-header {
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid rgba(44, 143, 143, 0.12);
  background: linear-gradient(135deg, #f7fbfb 0%, #eef8f8 100%);
}

.popup-kicker {
  color: #2c8f8f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.popup-header .modal-title {
  color: #1f3d3d;
  font-weight: 800;
  font-size: 1.35rem;
}

.popup-body {
  padding: 1.5rem 1.25rem 1.6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfc 100%);
}

.popup-message {
  color: #214545;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 576px) {
  .popup-dialog {
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
  }

  .popup-header {
    padding: 1rem 1rem 0.8rem;
  }

  .popup-body {
    padding: 1rem;
  }

  .popup-message {
    font-size: 1rem;
  }
}

/* Why Choose Us Section CSS Code */

.why-section {
  background: #f4f7f9;
}

.why-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: 0.3s;

  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: #2c8f8f;
  color: #fff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;

  margin: 0 auto 15px auto; /* center + spacing */
}

.why-card h5 {
  min-height: 18px; /* title height equal */
}

.why-card p {
  min-height: 70px; /* description height equal */
}

/* Services Offered Section */

.section-title1 {
  color: black;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
  position: relative;
}

.services-offered-section {
  background: #f5fbfb;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.05);
  padding-top: 90px;
  padding-bottom: 90px;
}

/* Service Card */

.service-card {
  display: block;
  background: #fff;
  padding: 40px 30px; /* increased padding */
  border-radius: 18px;
  border: 2px solid transparent;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  min-height: 190px; /* increased height */
}

/* Icon */

.service-icon {
  font-size: 34px;
  background: #eef7f7;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  color: #2c8f8f;
}

/* .op-icon {
  background: #e8f5ff;
  color: #1e88e5;
}

.ip-icon {
  background: #e8f8f0;
  color: #2e7d32;
}

.neo-icon {
  background: #fff4e6;
  color: #ff9800;
}

.spec-icon {
  background: #f3e8ff;
  color: #7b1fa2;
}

.cdc-icon {
  background: #e8f7f7;
  color: #2c8f8f;
} */

/* Title */

.service-card h6 {
  font-weight: 600;
  font-size: 17px;
  margin: 0;
}

/* Hover */

.service-card:hover {
  border-color: #2c8f8f;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  color: #2c8f8f;
}

/* Divider */

.section-divider {
  width: 60px;
  height: 3px;
  background: #2c8f8f;
  border: none;
  margin: 0 auto 40px auto;
  border-radius: 3px;
}

.services-offered-section .section-title1::after {
  display: none;
}

/* About Us Section CSS Code */

.about-home-section {
  background: #f5fbfb;
  padding-top: 90px;
  padding-bottom: 90px;
}

/* Image wrapper */

.about-image-wrapper {
  position: relative;
  border-radius: 18px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  border: 4px solid #2c8f8f;
  overflow: hidden;
}

/* Image */

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 50% 30%; /* horizontal center, vertical 10% from top */
  border-radius: 14px;
  transition: 0.4s;
}

/* Image hover zoom */

.about-image-wrapper:hover .about-img {
  transform: scale(1.05);
}

/* Experience badge */

.experience-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #2c8f8f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* About text */

.about-text {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 15px;
}

/* Learn More Button */

.about-btn {
  background: linear-gradient(135deg, #2c8f8f, #36b3b3);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Button hover */

.about-btn:hover {
  background: linear-gradient(135deg, #36b3b3, #2c8f8f);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.about-btn {
  padding: 10px 22px;
  border-radius: 30px;
  padding: 16px 24px; /* bigger */
  font-size: 17px;
}
