/* =============================
   Fonts
============================= */
@import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap");

/* =============================
   Base Reset
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* =============================
   Colors
============================= */
:root {
  --primary: #1e2a38; /* Deep Navy */
  --gold: #d4af37; /* Gold */
  /* --background: linear-gradient(90deg,rgba(255, 224, 224, 0.88) 0%, rgba(255, 237, 242, 1) 42%); Blush Pink Gradient */
  --background: #ffffff;
  --secondary: #0a4e9d; /* Subtle Highlights */
  --secondary-dark: #333333; /* Dark Charcoal */
  --white: #ffffff; /* Pure White */
  --blue: #1661be; /* Vivid Blue */
}

/* =============================
   Body
============================= */
body {
  background: var(--background);
  color: var(--text-dark);
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
h2 {
  color: var(--secondary);
}
.banner-img {
  max-width: 100%;
  height: auto;
  position: relative; /* remove absolute */
  bottom: 0;
}

.btn {
  background-color: var(--secondary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.btn:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn1 {
  background-color: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.btn1:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn2 {
  background-color: var(--gold);
  color: var(--white);
  border: 3px solid var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.btn2:hover {
  background-color: var(--gold);
  color: var(--blue);
  border-color: var(--blue);
}
.btn3 {
  background-color: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.pulse-button {
  -webkit-animation: pulse 1.5s infinite ease-in-out;
  animation: pulse 1.5s infinite ease-in-out;
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 10px 10px rgba(245, 211, 148, 0.8);
    /* Brighter and larger shadow */
  }

  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(191, 142, 50, 0);
    /* Shadow fades out */
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 15px 12px rgba(244, 194, 194, 0.6);
    /* Brighter and larger shadow */
  }

  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(191, 142, 50, 0);
    /* Shadow fades out */
  }
}
/* HERO BANNER */
.hero-banner {
  position: relative;
  height: 100vh;
  background: url("images/banner/banner3.avif") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding: 0 5%;
}

/* Top Bar */
.top-bar {
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  height: 60px;
}

/* Text Content */
.text-content {
  max-width: 600px;
  z-index: 2;
}

.text-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.highlight {
  color: var(--primary);
}

.sub-highlight {
  color: var(--primary);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .text-content h1 {
    font-size: 2rem;
  }

  .book-btn {
    padding: 6px 15px;
  }
}

/**************************** SOP Section ****************************/
#sop {
  background-color: var(--background);
  padding: 3rem 0;
}

.counter-card {
  border: 2px solid var(--secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  box-shadow: 0 4px 12px rgba(10, 78, 157, 0.8);
}

.counter-card .p-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.counter-card .icon {
  color: var(--secondary);
  font-size: 3rem;
  transition: color 0.3s, transform 0.3s;
}

.counter-card .bg-light {
  padding: 0.75rem 0;
  transition: background-color 0.8s;
}

.counter-card .bg-light p {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  word-wrap: break-word;
  text-align: center;
  padding: 0 0.5rem;
  transition: color 0.3s;
}

/* Hover Effects */
.counter-card:hover .bg-light {
  background-color: var(--secondary) !important;
}

.counter-card:hover .bg-light p {
  color: #fff;
}

.counter-card:hover .icon {
  color: var(--gold);
  transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .counter-card .icon {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .counter-card .icon {
    font-size: 2.5rem;
  }
  .counter-card .bg-light p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .counter-card .p-4 {
    gap: 8px;
  }
  .counter-card .icon {
    font-size: 2.2rem;
  }
  .counter-card .bg-light p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .counter-card .icon {
    font-size: 2rem;
  }
  .counter-card .bg-light p {
    font-size: 0.85rem;
  }
}

/* footer */

.footer-custom {
  background-color: var(--primary); /* dark navy/blue-gray */
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.social-icon {
  color: #ffffff;
  font-size: 1.2rem;
}

/* CTA */
.cta-parallax {
  position: relative;
  background: url("images/banner/bg-banner-image.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed; 
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-parallax .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.cta-parallax .container {
  z-index: 1;
}

/* Card style */
.feature-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.15);
  border-color: transparent;
}

/* footer */
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 212, 96, 0.5);
}

/******************** review ********************/
/* Carousel container */
.owl-carousel .testimonial-card {
  width: 100%;           /* Owl controls width */
  max-width: 320px;      /* Card max size */
  margin: 0 auto;
  margin-bottom: 10px;
  margin-top: 5px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.owl-carousel .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Card header */
.owl-carousel .testimonial-card .card-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.owl-carousel .testimonial-card .name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

/* Verified icon */
.owl-carousel .testimonial-card img.verified-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* Google stars */
.owl-carousel .testimonial-card .google-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.owl-carousel .testimonial-card img.google-icon {
  width: 25px;
  height: auto;
  display: inline-block;
}

.owl-carousel .testimonial-card .stars {
  color: #f4b400;
  font-size: 18px;
}

/* Testimonial text */
.owl-carousel .testimonial-card .testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-top: 8px;
}

/* doctor */

.doctor-name {
  font-weight: 600;
}

.doctor-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: bold;
}

.doctor-points li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.doctor-certificates {
  gap: 20px;
  white-space: nowrap;
}

.cert-logo-m {
  height: 35px;
  width: auto;
  flex-shrink: 0;
}
.cert-logo {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

.expertise-buttons img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}
.doctor-points {
  list-style: none;
  padding-left: 0;
}

.doctor-points li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}
.doctor-points li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: var(--white); /* pinkish arrow */
  font-size: 16px;
}

/* CTA form */
.appointment-section {
  background-color: var(--secondary);
  color: var(--primary-dark);
  padding: 30px 10px;
  text-align: center;
}

.appointment-box {
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 0 15px var(--primary);
}

.appointment-box h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--primary);
}

.appointment-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.appointment-form input {
  padding: 6px 9px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 200px;
  flex: 1 1 200px;
}

.appointment-form input::placeholder {
  color: #888;
}

.appointment-btn {
  margin-top: 20px;
  padding: 7px 20px;
  background-color: var(--primary);
  color: var(--secondary);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.appointment-btn:hover {
  background-color: var(--primary-dark);
}

@media (max-width: 80px) {
  .appointment-form {
    flex-direction: column;
  }

  .appointment-form input {
    width: 100%;
  }
}

/********************* benefits-section *****************/
.benefits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.benefit-card {
  flex: 1 1 calc(25% - 20px); /* desktop: 4 in a row */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  min-width: 220px;
  height: 400px; /* fixed portrait style */
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.benefit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* permanent bottom gradient */
.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* hover effect */
.benefit-card:hover img {
  transform: scale(1.05);
}
.benefit-card:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}

/* text always visible, bottom-left */
.benefit-text {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  text-align: center;
  width: 100%;
}

.benefit-subtext {
  font-weight: 400;
  font-size: 0.9rem;
  margin-top: 4px;
  opacity: 0.9;
}


/* stagger effect for desktop only */
.stagger-1 { margin-top: 20px; }
.stagger-2 { margin-top: -20px; }
.stagger-3 { margin-top: 30px; }
.stagger-4 { margin-top: -10px; }

/* responsive adjustments */
@media (max-width: 992px) {
  .benefit-card {
    flex: 1 1 calc(50% - 20px); /* 2 per row on tablets */
    height: 320px;
  }
}

@media (max-width: 576px) {
  .benefit-card {
    flex: 1 1 100%; /* 1 per row on mobile */
    height: 330px;
  }
  /* remove stagger on small screens */
  .stagger-1,
  .stagger-2,
  .stagger-3,
  .stagger-4 {
    margin-top: 0 !important;
  }
}

/********************* service-section *****************/
.service-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.1rem;
}

/* 🔥 Fixed circular image — no stretch */
.circular-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease-in-out;
}

.circular-image:hover {
  transform: scale(1.05);
}

/* 💎 Card styles */
.service-card {
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--blue);
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-title-line {
  position: relative;
  padding-bottom: 15px;
  font-size: 1.2rem;
  color: #333;
}

.card-title-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #9c27b0;
}

/* Hover effects */
.service-card:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-5px);
}

.service-card:hover h5,
.service-card:hover p {
  color: #fff !important;
}

.service-card:hover .card-title-line::after {
  background-color: #fff;
}

.sh {
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 16px 1px var(--secondary);
}

/* Layout adjustments */
#service .item {
  margin-top: 10px;
}

.fixed-size-card-item {
  width: 100%;
  max-width: 300px;
  margin: auto;
}

.fixed-size-card-item .service-card {
  height: auto;
  min-height: 260px;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .circular-image {
    width: 140px;
    height: 140px;
  }

  .card-body {
    padding: 1rem !important;
  }

  .card-title-line {
    font-size: 1rem;
  }

  .fixed-size-card-item {
    max-width: 260px;
  }
}

@media (max-width: 576px) {
  .circular-image {
    width: 120px;
    height: 120px;
  }

  .service-image-container {
    margin-bottom: 0.8rem;
  }
}
/********************* WhatsApp Sticky Button start *********************/
.whatsapp-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #25d366; /* WhatsApp green */
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  z-index: 9999;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.whatsapp-btn i {
  font-size: 22px;
}

/* Hover effect */
.whatsapp-btn:hover {
  background-color: #1ebe5d;
  color: #fff;
}

/* Hide on desktop */
@media (min-width: 768px) {
  .whatsapp-btn {
    display: none;
  }
}
/********************* WhatsApp Sticky Button end *********************/
.rainbow-border-btn {
  position: relative;
  display: inline-block;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  background: #fff;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}

/* rainbow border wrapper */
.rainbow-border-btn::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: inherit;
  background: conic-gradient(
    red,
    orange,
    yellow,
    lime,
    cyan,
    blue,
    violet,
    red
  );
  z-index: -2;
  animation: rotate 4s linear infinite; /* continuous one direction */
}

/* keep button white inside */
.rainbow-border-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--gold);
  border-radius: inherit;
  z-index: -1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/********************** faq  **********************/
.faq-box {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border: 2px solid #eee;
  background-color: var(--secondary);
}

.faq-box:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.faq-box button {
  transition: color 0.3s ease;
  color: var(--white);
}

.faq-box:hover .faq-icon {
  transform: rotate(180deg);
  color: var(--white);
}
/************************* doctor *************************/
.doctor-img {
  right: 10px;  /* moves image outside */
  bottom: 0;
  max-width: 40%;
}

.doctor-img img {
  border-radius: 10px;
}
/************************** process section **************************/
.timeline {
  display: grid;
  grid-template-columns: repeat(7, auto); /* icon, line, icon, line, ... */
  align-items: center;
  justify-content: center;
  gap: 0; /* no gap because line should touch icons */
}

/* Items */
.timeline-item {
  text-align: center;
  z-index: 2;
}

.circle-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 5px;
  box-shadow: 0 8px 20px rgba(10, 78, 157, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(10, 78, 157, 0.6);
}

.timeline-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 15px;
  color: #0a4e9d;
}

/* Lines */
.timeline-line {
  width: 210px;   /* adjust length */
  height: 80px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  position: relative;
  top: -30px; /* align with icons */
}

/* Alternate line images */
.timeline-line:nth-of-type(odd) {
  background-image: url("images/left-to-right.png");
}
.timeline-line:nth-of-type(even) {
  background-image: url("images/right-to-left.png");
}

/* Mobile: stack items vertically and hide lines */
@media (max-width: 767px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline-line {
    display: none;
  }
}

/********************* service card  ********************/
.card-style {
  background-color: #fff;
  border-radius: 12px;
  border: 2px solid #0a4e9d;
  box-shadow: 0 4px 10px rgba(10, 78, 157, 0.15);
  padding: 1.2rem 1rem;
  text-align: center;
  width: 100%;
  max-width: 340px;
  transition: all 0.3s ease;
}

.card-style:hover {
  transform: translateY(-6px);
  background-color: #0a4e9d;
  color: #fff;
  box-shadow: 0 6px 20px rgba(10, 78, 157, 0.35);
}

.icon-box {
  background-color: #e8f1ff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.icon-box i {
  font-size: 32px;
  color: #0a4e9d;
  transition: color 0.3s ease;
}

.card-style:hover .icon-box {
  background-color: #ffffff;
  transform: scale(1.1);
}

.card-style:hover i {
  color: #0a4e9d;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card-style {
    max-width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .icon-box {
    width: 60px;
    height: 60px;
  }

  .icon-box i {
    font-size: 28px;
  }

  .card-style h5 {
    font-size: 1rem;
  }
}

