:root {
  --clinic-pink: #d63384;       /* main accent */
  --clinic-purple: #7b2cbf;     /* secondary accent */
  --line: #f9ddeb;              /* divider / card border */
  --card: #ffffff;              /* card background */
  --accent-rose: #c2185b;       /* hover / deep rose */
}

/* ===== Global ===== */
body {
  background: #fff8fb;          /* soft blush background */
  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( --accent-rose);
  font-weight: 500;
  font-size: 0.95rem;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
}
.navbar .nav-link {
  color: var(--accent-rose);
  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-pink), 
    var(--clinic-purple), 
    var(--accent-rose), 
   
  );   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: linear-gradient(90deg, #22B7C9, #1a94a5, #4dd3e1, #0077b6, #00cfcf, #22B7C9); */
  background-size: 300% 300%;
   background: var(--clinic-purple);   /* Main accent */
  color: var(--card);
  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 var(--clinic-pink);
}

/* 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: cover;
  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: #fff;
  background: rgba(214, 51, 132, 0.85); /* soft pink overlay */
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
}

/* ===== Form Panel ===== */
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}
.form-panel h5 {
  margin: 0;
  padding: 14px 16px;
  color: var(--clinic-pink);
  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-pink);
  color: #fff;
  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(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 16px;
}
.content-card h5 {
  color: var(--clinic-pink);
  font-weight: 700;
}
.about {
  font-size: 14px;
  color: #6a4b5a;
  line-height: 1.55;
}
.section-line {
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}

/* ===== Doctor Card ===== */
.doc-card {
  border: 1px solid #f7cde0;
  background: var(--card);
  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);
  box-shadow: 0 10px 22px rgba(214, 51, 132, 0.1);
  border-color: #f2a7c8;
}
.doc-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid #f7cde0;
  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-pink);
}
.doc-role {
  font-size: 12px;
  color: var(--clinic-purple);
}



/* ===== Expertise Section ===== */

.expertise-section {
  padding: clamp(36px, 5vw, 70px) clamp(12px, 4vw, 20px);
  background: linear-gradient(
    to bottom right,
    rgba(249, 221, 235, 0.75),
    #ffffff
  );
}

/* ================= TITLE ================= */
.expertise-section .section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 700;
  color: var(--clinic-purple);
  margin-bottom: clamp(26px, 5vw, 50px);
}
/* ================= SWIPER ================= */
.expertise-swiper {
  position: relative;
  padding: 0 clamp(28px, 6vw, 56px);
  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(16px, 3.5vw, 22px) clamp(14px, 4vw, 18px);

  background: var(--card);
  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 18px rgba(214, 51, 132, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}


/* ================= ICON ================= */
.expertise-icon {
  width:100px;
  height: 100px;
  margin-bottom: clamp(10px, 3vw, 18px);

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--card);
  border-radius: 16px;
  border: 1.5px solid var(--line);

  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.9),
    0 10px 20px rgba(0,0,0,0.12);

  position: relative;
  overflow: hidden;
}

.expertise-icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* Shine */
.expertise-icon::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255,255,255,0.95) 50%,
    transparent 65%
  );
  opacity: 0;
}

.expertise-card:hover .expertise-icon {
  transform: translateY(-6px) scale(1.05);
}

.expertise-card:hover .expertise-icon::before {
  animation: expertise-shine 1s ease forwards;
  opacity: 1;
}

/* ================= TEXT ================= */
.expertise-card h5 {
    font-size: clamp(14px, 4vw, 16px);
  font-weight: 600;
  color: var(--clinic-purple);
  margin-bottom: clamp(8px, 2.5vw, 12px);
  min-height: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-card ul {
    list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(13px, 3.6vw, 14px);
  color: #555;
  text-align: left;
}

.expertise-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.expertise-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--clinic-pink);
  font-size: 13px;
}
@media only screen and (min-width:992px) {

}
/* ================= NAVIGATION ================= */
.expertise-btn {
   position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: clamp(34px, 8vw, 42px);
  height: clamp(34px, 8vw, 42px);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  cursor: pointer;
}

/* Chevron */
.expertise-btn::before {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
}

/* LEFT */
.expertise-prev {
    left: clamp(6px, 2vw, 10px);
  background: var(--card);
  color: var(--clinic-purple);
  border: 1.5px solid var(--line);
}

.expertise-prev::before {
  transform: rotate(135deg);
  
}

/* RIGHT */
.expertise-next {
  right: clamp(6px, 2vw, 10px);
  background: var(--clinic-pink);
  color: #ffffff;
}

.expertise-next::before {
  transform: rotate(-45deg);
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {
  


  .expertise-btn {
    width: 36px;
    height: 36px;
  }
}

/* ================= 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-pink);
  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-pink);
  color: white;
  border: none;
}
.hospital-card .btn:hover {
  background: var(--accent-rose);
}

/* ===== Service Buttons ===== */
.service-btn {
  border: 1px solid var(--clinic-pink);
  border-radius: 8px;
  color: var(--clinic-pink);
  padding: 8px 12px;
  text-align: center;
  font-weight: 500;
  display: block;
  width: 100%;
  background: white;
  transition: all 0.3s ease;
}
.service-btn:hover {
  background: #ffe6f0;
}

/* ===== Swiper Fixes ===== */
.mySwiper, .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-pink);
  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-pink);
  color: #fff;
}/*  */
/* ===== Map & Address ===== */


/* Hospital Section Layout */
.hospital-section {
  max-width: 1100px;
  margin: 0 auto;
}

.hospital-section .row {
  display: flex;
  flex-wrap: wrap;
}

.hospital-section .col-lg-6 {
  display: flex;
}

/* Hospital Box */
.hospital-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--card);
  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, background 0.3s ease;
}

.hospital-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  background: var(--line);
  color: #fff;
}

/* Map */
.hospital-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 12px;
  flex: 1;
}

/* Title & Tagline */
.hospital-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--clinic-pink);
}

.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: var(--accent-rose);
  transition: color 0.3s ease, transform 0.3s ease;
}

.hospital-info li i {
  color: var(--accent-rose);
}

.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;
  }
 
}


@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;
  }
}

/* =========================
   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;
  }
}