:root {
  --clinic-purple: #6A3E91;     /* Main accent - deep purple */
  --clinic-lilac: #F9E9F1;      /* Background soft lilac */
  --clinic-peach: #F6A7A1;      /* Peach accent (illustrations) */
  --clinic-blush: #FBDDD8;      /* Light blush (cards / hovers) */
  --clinic-mauve: #C39DB8;      /* Muted mauve (secondary text) */
  --clinic-coral: #E87C6D;      /* Coral (hover / highlights) */
  --clinic-white: #FFFFFF;      /* White (background / text contrast) */
    --card: #FFF7FA; 
  --line: rgba(106, 62, 145, 0.22);
  --clinic-pink: #E87C6D;
}



/* ===== Global ===== */
body {
  background: var(--clinic-lilac);         
  font-family: Arial, sans-serif;
  color: #3a2a35;
  margin: 0;
  padding: 0;
}
/* ===== NAVBAR ===== */
.custom-navbar {
      background-color: #ffffff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
       min-height: 60px;
  padding: 0; 
      display: flex;
      align-items: center;
    }
  

.navbar-brand img{
    height: 60px;   
  width: auto;
  display: block;
}
/*  */


/*  */
.nav-item a {
  position: relative;
  display: inline-block;
  overflow: hidden;
 color: var(--clinic-mauve);
  font-weight: 500;
  font-size: 0.95rem;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
}
.navbar .nav-link {
  color: var(--clinic-coral);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

 .nav-item a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   height: 4px;
   width: 100%;
background: linear-gradient(90deg, 
    var(--clinic-purple), 
    var(--clinic-coral), 
    var(--clinic-peach), 
    var(--clinic-blush)
  );   background-size: 200% auto;
   transition: all .5s;
   transform: translateX(-100%);
 }
 
.nav-item a:hover::after {
  transform: translateX(0%);
  animation: gradient-ivf 3s linear infinite;
 }
 
@keyframes gradient-ivf {
  0% { background-position: 100% 0%; }
  50% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/*  */
.navbar-brand{
   color: var(--clinic-purple);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/*  */
.btn_lg {
  
  background-size: 300% 300%;
   background: var(--clinic-purple);   /* Main accent */
  color: var(--clinic-white);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

.btn_lg:hover {
  animation: gradient-animate 4s linear infinite;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.4);
}

/* Gradient animation for button */
@keyframes gradient-animate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* ===== Hero Section (Carousel) ===== */
.carousel-item {
  height: 60vh;
  background-position: center;
  background-size: 100% 100%;
  position: relative;
  margin-top: 3rem;
}
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 15px;
  max-width: 800px;
  margin: auto;
}
.carousel-caption h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}
.carousel-caption h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--clinic-white);
  background: var(--clinic-purple);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
}

/* ===== Form Panel ===== */
.form-panel {
    border: 1px solid var(--clinic-blush);
    border-radius: 8px;
    background: var(--clinic-white);
    overflow: hidden;
}
.form-panel h5 {
  margin: 0;
  padding: 14px 16px;
  color: var(--clinic-purple);
  font-weight: 700;
}
.form-panel .inner {
  padding: 16px;
}
.form-control,
.form-select {
  border: 1px solid #f2c7db;
  border-radius: 8px;
  height: 42px;
  font-size: 14px;
}
.form-control::placeholder {
  color: #b08fa3;
}
.submit-bar {
  background: var(--clinic-purple);
  color: var(--clinic-white);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 12px 16px;
  border: 0;
  width: 100%;
  border-radius: 0 0 8px 8px;
  cursor: pointer;
}

/* ===== Content Card ===== */
.content-card {
  border: 1px solid var(--clinic-blush);
  border-radius: 8px;
  background: var(--clinic-white);
  padding: 16px;
}
.content-card h5 {
 color: var(--clinic-purple);
  font-weight: 700;
}
.about {
  font-size: 14px;
  color: var(--clinic-mauve);
  line-height: 1.55;
}
.section-line {
  height: 1px;
  background: var(--clinic-blush);
  margin: 14px 0;
}

/* ===== Doctor Card ===== */
.doc-card {
 border: 1px solid var(--clinic-blush);
  background: var(--clinic-white);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.doc-card:hover {
  transform: translateY(-6px);
  border-color: var(--clinic-peach);
  box-shadow: 0 10px 22px rgba(106, 62, 145, 0.15);

}
.doc-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid var(--clinic-blush);
  transition: transform 0.25s ease;
}
.doc-card:hover .doc-photo {
  transform: scale(1.06);
}
.doc-name {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--clinic-purple);

}
.doc-role {
  font-size: 12px;
  color: var(--clinic-coral);

}

/* ================= EXPERTISE SECTION ================= */
.expertise-section {
  padding: clamp(32px, 4.5vw, 56px) clamp(14px, 4vw, 22px);
  background: linear-gradient(
    135deg,
    #F4E6F0 0%,
    #FFF 100%
  );

}

/* ================= TITLE ================= */
.expertise-section .section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4.2vw, 2.1rem);
  font-weight: 700;
  color: var(--clinic-purple);
  margin-bottom: clamp(22px, 4vw, 42px);
}

/* ================= SWIPER ================= */
.expertise-swiper {
  position: relative;
  padding: 0 clamp(34px, 7vw, 64px);
  overflow: hidden;
}

.expertise-swiper .swiper-wrapper {
  align-items: stretch;
}

.expertise-swiper .swiper-slide {
  display: flex;
  height: auto;
}

/* ================= CARD ================= */
.expertise-card {
  width: 100%;
  min-height:200px;
  padding: clamp(14px, 3vw, 20px);

  background: linear-gradient(
    180deg,
    #FFF7FA 0%,
    #FFECEF 100%
  );
  border-radius: 14px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  border-top: 4px solid var(--clinic-pink);
  border-bottom: 4px solid var(--clinic-pink);

  box-shadow: 0 6px 16px rgba(106, 62, 145, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}


/* ================= ICON ================= */
.expertise-icon {
  width: 90px;
  height: 90px;
  margin-bottom: clamp(8px, 2.5vw, 14px);

  display: flex;
  align-items: center;
  justify-content: center;

 
  background: linear-gradient(
    180deg,
    #FFFFFF,
    #FCE6EE
  );
  border-radius: 14px;
  border: 1.5px solid var(--line);

  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.85),
    0 8px 18px rgba(0,0,0,0.12);

  position: relative;
  overflow: hidden;
}

.expertise-icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* Shine Effect */
.expertise-icon::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255,255,255,0.9) 50%,
    transparent 65%
  );
  opacity: 0;
}

.expertise-card:hover .expertise-icon {
  transform: translateY(-5px) scale(1.05);
}

.expertise-card:hover .expertise-icon::before {
  animation: expertise-shine 1s ease forwards;
  opacity: 1;
}

@keyframes expertise-shine {
  from { transform: translateX(-60%); }
  to { transform: translateX(60%); }
}

/* ================= TEXT ================= */
.expertise-card h5 {
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 600;
  color: var(--clinic-purple);
  margin-bottom: 8px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(13px, 3.5vw, 14px);
  color: #555;
  text-align: left;
}

.expertise-card ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
}

.expertise-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--clinic-pink);
  font-size: 12px;
}

/* ================= NAVIGATION ================= */
.expertise-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  width: 38px;
  height: 38px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  cursor: pointer;
}

.expertise-btn::before {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
}

/* LEFT */
.expertise-prev {
  left: 8px;
  background: #FFFFFF;
  color: var(--clinic-purple);
  border: 1.5px solid var(--line);
}

.expertise-prev::before {
  transform: rotate(135deg);
}

/* RIGHT */
.expertise-next {
  right: 8px;
  background: var(--clinic-pink);
  color: #ffffff;
}

.expertise-next::before {
  transform: rotate(-45deg);
}

/* ================= ANIMATION ================= */
@keyframes expertise-shine {
  from { transform: translateX(-100%) rotate(25deg); }
  to   { transform: translateX(100%) rotate(25deg); }
}
/* ===== Hospital Cards ===== */
.hospital-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: none;
}
.rating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--clinic-purple);
  color: white;
  padding: 4px 8px;
  font-size: 0.85rem;
  border-radius: 4px;
}
.hospital-card img {
  width: 100%;
  height: auto;
}
.hospital-card .btn {
  width: 100%;
  border-radius: 0;
  font-weight: 500;
  background: var(--clinic-purple);
  color: var(--clinic-white);
  border: none;
}
.hospital-card .btn:hover {
background: var(--clinic-coral);

}

/* ===== Service Buttons ===== */
.service-btn {
  border: 1px solid var(--clinic-purple);
  color: var(--clinic-purple);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  font-weight: 500;
  display: block;
  width: 100%;
  background: white;
  transition: all 0.3s ease;
}
.service-btn:hover {
  background: var(--clinic-blush);
}

/* ===== Swiper Fixes ===== */
.mySwiper, .expertise-swiper, .doctor-swiper {
  overflow: hidden;
}
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  height: auto;
  min-width: 0;
  box-sizing: border-box;
}

/* ===== Swiper Custom Navigation ===== */
.swiper-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.swiper-button-custom {
  width: 40px;
  height: 40px;
  border: 2px solid var(--clinic-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: 0.3s;
  
}
.swiper-button-custom:hover {
  background: var(--clinic-purple);
  color: var(--clinic-white);
}
/* ===== Map & Address ===== */

.hospital-section .row {
  display: flex;
  flex-wrap: wrap;
}
.hospital-section .col-lg-6 {
  display: flex;
}


.hospital-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hospital-map iframe {
  flex: 1;
  min-height: 100%;
}


.hospital-section {
  max-width: 1100px;
}


.hospital-box {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hospital-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Map */
.hospital-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 12px;
}

/* Title & tagline */
.hospital-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--clinic-purple);
}
.tagline {
  font-size: 0.95rem;
  color: #666;
  margin-top: 6px;
  font-style: italic;
}

/* Info list */
.hospital-info li {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #444;
  transition: color 0.3s ease, transform 0.3s ease;
}
.hospital-info li i {
  color: var(--clinic-purple);
}
.hospital-info li:hover {
  color: var(--clinic-purple);
  transform: translateX(5px);
}


/* ===== Responsive ===== */
@media (max-width: 575.98px) {
  .swiper-slide {
    width: 90% !important;
    margin: 0 auto;
  }
  .doc-photo {
    width: 96px;
    height: 96px;
  }
  .doc-card {
    max-width: 280px;
    margin: auto;
  }
 
}


/* =========================
   FOOTER BASE
========================= */
.footer-area {
  background: linear-gradient(145deg, #0b2c3d, #0f3b52);
  color: #eaf2f6;
  padding:  25px 0 15px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-area .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  align-items: start;
}

/* =========================
   FOOTER SECTIONS
========================= */
.footer-section {
  display: flex;
  flex-direction: column;
  
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}

.footer-logo {
  width: 40px;
  height: auto;
  /* object-fit: contain; */
border-radius: 10px;
}


/* =========================
   HEADINGS
========================= */
.footer-section h3,
.footer-section h4 {
  color: #56c0e8; /* soft blue */
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-section h3 { font-size: 20px; }
.footer-section h4 { font-size: 17px; }

/* =========================
   TEXT
========================= */
.footer-text, .contact-info {
  font-size: 14px;
  line-height: 1.7;
  color: #dce9f0;
}

/* =========================
   LISTS
========================= */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  transition: 0.3s ease;
  color: #dce9f0;
}

.footer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #56c0e8;
  font-size: 12px;
}

.footer-list li:hover {
  color: #56c0e8;
  transform: translateX(4px);
}

/* =========================
   CONTACT INFO
========================= */
.contact-info a {
  color: #56c0e8;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* =========================
   SEO PARAGRAPH
========================= */
.footer-seo {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.05);
  
  border-radius: 12px;
   padding: 12px 16px; 
  margin: 15px 0 10px; 
  text-align: center;
}

.footer-seo p {
  font-size: 14px;
  line-height: 1.7;
  color: #dce9f0;
  margin: 6px 0;
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
   padding-top: 10px;  
  margin-top: 10px; 
}

.footer-bottom p {
  font-size: 13px;
  color: #c9d6df;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .footer-area .container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-list li {
    justify-content: center;
  }
}

@media only screen and (min-width:768px){
  .carousel-item {
  height: 80vh;
  background-position: center;
  background-size: 100% 100%;
  position: relative;
  margin-top: 3rem;
}
   
}
/* 992 px */
@media only screen and (min-width:992px){
  .navbar-brand {
    margin-left: 10rem;
  }
  .navbar-nav {
    margin-right: 20rem;
  }
  .navbar-nav li {
    margin-right: 25px;
  }
  .navbar .btn {
    margin-right: 10rem;
  }
.swiper-slide {
    width: 20% ;
    margin: 0 auto;
  }
}
