/* SVG Bounce Animation for playful icons */
.svg-bounce {
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
.quick-card:hover .svg-bounce {
  animation: svg-bounce 0.5s;
}
@keyframes svg-bounce {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.2) rotate(-10deg); }
  60% { transform: scale(0.95) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.svg-bounce, .fa-solid, .fa-regular, .fa-light, .fa-duotone {
    transition: transform 0.2s, color 0.2s;
}
.svg-bounce:hover, .fa-solid:hover, .fa-regular:hover, .fa-light:hover, .fa-duotone:hover {
    transform: scale(1.15);
    color: var(--color-accent);
}

/* Quick Card Entrance Animation */
.quick-card {
  opacity: 0;
  transform: translateY(30px);
  animation: quickCardFadeIn 0.7s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
.quick-card:nth-child(1) { animation-delay: 0.1s; }
.quick-card:nth-child(2) { animation-delay: 0.2s; }
.quick-card:nth-child(3) { animation-delay: 0.3s; }
.quick-card:nth-child(4) { animation-delay: 0.4s; }
@keyframes quickCardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===============================
   Global Styling
================================== */
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  overflow-x: hidden;
  background: linear-gradient(135deg, #eaf7fc 0%, var(--color-white)6fa 100%);
  position: relative;
}

html {
  scroll-behavior: smooth;
}

/* Ensure background canvas stays behind all content */
#bg-effects-canvas {
  z-index: 0 !important;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.7;
  transition: opacity 0.5s;
}

/* ===============================
   WhatsApp Floating Button with Animation
================================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px; 
  background-color: var(--color-success);
  color: var(--color-white);
  border-radius: 50%;
  padding: 14px 16px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  animation: whatsapp-pulse 1.5s infinite;
}

.whatsapp-float:hover {
  background-color: var(--color-accent);
  transform: translateY(-5px);
}

.whatsapp-float i {
  font-size: 24px;
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), color 0.3s;
}

.whatsapp-float:hover i {
  transform: scale(1.2) rotate(-10deg);
  color: var(--color-primary);
}

/* Pulse Animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===========================
   Page Banner Section (Fixed)
=========================== */
.page-banner {
  background: var(--color-primary);
  padding: 100px 0;
  position: relative;
  text-align: center;
  color: var(--color-white);
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.page-banner h1 {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  background: transparent;
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.breadcrumb-item a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--color-white);
}/* ===============================
   Navbar (Enhanced)
================================== */
.navbar {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  transition: all 0.3s ease-in-out;
}

.logo{
  height: 85px;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.kips-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: flex;
  gap: 0.1rem;
}

.kips-text .k { color: #e63c80; }
.kips-text .i { color: #b662a6; }
.kips-text .p { color: #4f7dbb; }
.kips-text .s { color: #4ea6f7; }


.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--color-dark);
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-primary);
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: var(--color-primary);
}

/* Animated underline on hover */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
  width: 100%;
}


/* Toggler */
.navbar-toggler {
  border: none;
  transition: transform 0.3s ease;
}
.navbar-toggler:hover {
  transform: scale(1.1);
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Button Style */
.navbar .btn {
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.navbar .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Search Input */
.navbar form input[type="search"] {
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.9rem;
  border: none;
  outline: none;
  background: transparent;
  transition: box-shadow 0.3s ease;
}
.navbar form input[type="search"]:focus {
  box-shadow: 0 0 8px rgba(106, 27, 154, 0.3);
}

/* Dropdown Menu (Improved) */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  max-height: 300px;
  overflow-y: auto;
  width: auto;
  min-width: 250px;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu .dropdown-item {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  color: var(--color-dark);
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
}

/* ===============================
   Hero Section (Enhanced)
================================== */
.hero-section {
  background: linear-gradient(
      to right,
      rgba(203, 230, 247, 0.8),
      rgba(232, 244, 251, 0.8)
    ),
    url("https://placehold.co/1600x900?text=Child+Care+Background") center/cover
      no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  animation: fadeIn 1s ease-in-out;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  animation: slideInUp 0.8s ease-in-out;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-section input.form-control,
.hero-section select.form-select {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0.75rem 1.2rem;
  border-radius: 50px;
  font-size: 1rem;
  color: var(--color-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-in-out;
}

.hero-section input::placeholder {
  color: #555;
  opacity: 0.8;
  font-size: 0.95rem;
}

.hero-section input:focus,
.hero-section select:focus {
  outline: none;
  border: none;
  box-shadow: 0 0 10px rgba(106, 27, 154, 0.3);
  transform: scale(1.02);
}

.hero-section .btn-primary {
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 14px rgba(106, 27, 154, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .btn-primary:hover {
  background-color: var(--color-accent);
  box-shadow: 0 6px 18px rgba(0, 191, 165, 0.3);
  transform: translateY(-5px);
}

.hero-section .quick-card {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  color: var(--color-dark);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero-section .quick-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.hero-section .quick-card .fs-3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.hero-section .quick-card:hover .fs-3 {
  transform: scale(1.2);
}

/* ===============================
   About Us Section (Enhanced)
================================== */
.about-us {
  background-color: var(--color-white);
  font-family: var(--font-body);
}

.about-us h2 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  animation: fadeInUp 0.6s ease-in-out;
}

.about-us p,
.about-us ul li {
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.7;
}

.about-us ul {
  padding-left: 1rem;
  margin-top: 1rem;
}

.about-us ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  transition: transform 0.3s ease;
}

.about-us ul li:hover {
  transform: translateX(5px);
}

.about-us ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.about-us ul li:hover::before {
  transform: scale(1.2);
}

.about-us img {
  transition: transform 0.5s ease;
}

.about-us img:hover {
  transform: scale(1.05);
}

/* ===============================
   Child Care Highlights (Enhanced)
================================== */
.child-care-highlights {
  background-color: var(--color-light);
  font-family: var(--font-body);
}

.child-care-highlights h2 {
  font-family: var(--font-heading);
  font-weight: bold;
  color: var(--color-primary);
  font-size: 2rem;
  animation: fadeInUp 0.6s ease-in-out;
}

.child-care-highlights p {
  color: var(--color-dark);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.child-care-highlights .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  background-color: var(--color-white);
}

.child-care-highlights .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.child-care-highlights .card-img-top {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  height: 200px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.child-care-highlights .card:hover .card-img-top {
  opacity: 0.9;
}

.child-care-highlights .card-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.child-care-highlights .card:hover .card-title {
  color: var(--color-primary);
}

/* ===============================
   Why Choose Us (Enhanced)
================================== */
.why-choose-us {
  background-color: var(--color-light);
  font-family: var(--font-body);
}

.why-choose-us h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  animation: fadeInUp 0.6s ease-in-out;
}

.why-choose-us p {
  color: var(--color-dark);
  font-size: 0.95rem;
}

.why-choose-us .icon-box {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.why-choose-us .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.why-choose-us .icon-box .icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.why-choose-us .icon-box:hover .icon {
  transform: scale(1.2);
}

.why-choose-us .icon-box h5 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* ===============================
   Book Appointment CTA (Enhanced)
================================== */
.book-appointment {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 60px 0;
  font-family: var(--font-body);
  transition: background 0.5s ease;
}

.book-appointment:hover {
  background-color: #4a126b;
}

.book-appointment h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-white);
  animation: fadeInUp 0.6s ease-in-out;
}

.book-appointment .btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.book-appointment .btn:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ===============================
   Our Doctors (Enhanced)
================================== */
.our-doctors {
  background-color: var(--color-info);
  font-family: var(--font-body);
}

.our-doctors h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  animation: fadeInUp 0.6s ease-in-out;
}

.our-doctors .input-group input {
  border-radius: 50px 0 0 50px;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  transition: box-shadow 0.3s ease;
}

.our-doctors .input-group input:focus {
  box-shadow: 0 0 8px rgba(106, 27, 154, 0.3);
}

.our-doctors .input-group .btn {
  border-radius: 0 50px 50px 0;
  font-size: 0.95rem;
  padding: 0.75rem 1.2rem;
  transition: transform 0.3s ease;
}

.our-doctors .input-group .btn:hover {
  transform: scale(1.05);
}

.our-doctors .card {
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--color-white);
}

.our-doctors .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.our-doctors .card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.our-doctors .card:hover img {
  transform: scale(1.1);
}

.our-doctors .card h5 {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.our-doctors .card:hover h5 {
  color: var(--color-primary);
}

.our-doctors .btn {
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.our-doctors .btn:hover {
  transform: scale(1.05);
}

/* ===============================
   Blog Section (Enhanced)
================================== */
.home-blog {
  background-color: var(--color-light);
  font-family: var(--font-body);
}

.home-blog h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  animation: fadeInUp 0.6s ease-in-out;
}

.home-blog .card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-white);
}

.home-blog .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.home-blog .card-img-top {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-blog .card:hover .card-img-top {
  transform: scale(1.05);
}

.home-blog .card-body h6 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--color-accent);
  transition: color 0.3s ease;
}

.home-blog .card:hover .card-body h6 {
  color: var(--color-primary);
}

/* ===============================
   Testimonials Section (Enhanced)
================================== */
.testimonials {
  background-color: var(--color-info);
  font-family: var(--font-body);
}

.testimonials h2 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  animation: fadeInUp 0.6s ease-in-out;
}

.testimonials .swiper-slide {
  height: auto;
  display: flex;
  transition: opacity 0.3s ease;
}

.testimonials .swiper-slide-active {
  opacity: 1;
}

.testimonials .card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.testimonials .position-absolute button {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: none;
}

.testimonials .position-absolute button:hover {
  transform: scale(1.2);
  background-color: var(--color-accent);
  color: var(--color-white);
}

.testimonials .swiper-pagination-bullet {
  background-color: var(--color-primary);
  opacity: 0.3;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.testimonials .swiper-pagination-bullet-active {
  opacity: 1;
  width: 14px;
  height: 14px;
}

/* ===============================
   Contact Section (Enhanced)
================================== */
.contact-section {
  background: linear-gradient(to bottom right, #eaf7fc, var(--color-white)fff);
  padding: 4rem 0;
}

.contact-section h2 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: bold;
  animation: fadeInUp 0.6s ease-in-out;
}

.contact-section .form-control {
  border-radius: 0.75rem;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  padding: 10px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-section .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(106, 27, 154, 0.3);
  transform: scale(1.02);
}

.contact-section button[type="submit"] {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
  transition: transform 0.3s ease, background 0.3s ease;
  border: none;
}

.contact-section button[type="submit"]:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.contact-section .contact-box {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  border-left: 5px solid var(--color-primary);
  transition: transform 0.3s ease;
}

.contact-section .contact-box:hover {
  transform: translateY(-5px);
}

/* ===============================
   Footer (Enhanced & Font Awesome)
================================== */
.site-footer {
  background: linear-gradient(135deg, #e8f6f8 0%, #cbe6f7 100%);
  color: #31343C;
  font-size: 1rem;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  box-shadow: 0 -2px 24px 0 rgba(106,27,154,0.06);
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.site-footer h6 {
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.site-footer .footer-link {
  color: #31343C;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus {
  color:  var(--color-primary);
  text-shadow: 0 2px 8px #cbe6f7;
  text-decoration: underline;
}

.site-footer .footer-social {
  color:  var(--color-primary);
  background: var(--color-white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(106,27,154,0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.site-footer .footer-social:hover,
.site-footer .footer-social:focus {
  color: var(--color-white);
  transform: scale(1.1);
  text-decoration: none;
}

.site-footer .fa-solid,
.site-footer .fa-brands {
  vertical-align: middle;
  transition: transform 0.2s, color 0.2s;
}

.site-footer .fa-solid:hover,
.site-footer .fa-brands:hover {
  transform: scale(1.15);
  color: var(--color-accent);
}

.site-footer ul {
  padding-left: 0;
  margin-bottom: 1rem;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
  list-style: none;
}

.site-footer hr {
  border-top: 1px solid  var(--color-white);
  margin: 2rem 0;
}

.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-5px);
}



/* ===============================
   Keyframe Animations
================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===============================
   Responsive Adjustments
================================== */
@media (max-width: 767px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .navbar-nav {
    text-align: center;
  }
  .contact-section .contact-box {
    margin-top: 2rem;
  }
  .site-footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Page Banner */
.page-banner {
background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
color: var(--color-white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: floating 6s infinite alternate ease-in-out;
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: floating 8s infinite alternate ease-in-out;
}

.page-title {
  font-size: 38px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeIn 1s ease-in-out forwards;
}

/* Blog Card */
.blog-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  height: 5px;
  background: linear-gradient(to right, #007bff, #0056b3);
  border-radius: 0 0 5px 5px;
  transform: translateX(-50%);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
  position: relative;
}

.blog-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
  transition: color 0.3s;
}

.blog-card:hover .blog-content h3 {
  color: #007bff;
}

.blog-content p {
  font-size: 14px;
  color: var(--color-dark);
  line-height: 1.6;
}

/* Sidebar */
.sidebar-widget {
  background: var(--color-white);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.sidebar-widget:hover {
  transform: translateY(-5px);
}

.sidebar-widget h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
}

.sidebar-widget h4::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 5px;
  transition: width 0.3s ease;
}

.sidebar-widget:hover h4::after {
  width: 80px;
}

/* Pagination */
.pagination-nav {
  text-align: center;
  margin-top: 30px;
}

.pagination .page-item.active .page-link {
  background: #b0b6bb;
  border-color: #007bff;
  transition: background 0.3s ease-in-out;
}

.pagination .page-link {
  color: #007bff;
  font-weight: bold;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floating {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(20px);
  }
}

/* Page Banner */
.page-banner {
  background: linear-gradient(to right, #007bff, #0056b3);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
  font-size: 36px;
  font-weight: bold;
}

/* Blog Content Layout */
.blog-detail-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* Blog Main Image */
.blog-main-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.blog-main-img:hover {
  transform: scale(1.02);
}

/* Blog Metadata */
.blog-meta {
  font-size: 14px;
  color: var(--color-dark);
  margin: 15px 0;
}

/* Blog Text */
.blog-content h3 {
  font-size: 22px;
  margin-top: 20px;
  color: #007bff;
}

.blog-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
}

/* Social Share */
.social-share {
  margin-top: 20px;
}

.social-share span {
  font-weight: bold;
}

.share-icon {
  text-decoration: none;
  font-size: 20px;
  margin: 0 5px;
  transition: color 0.3s;
}

.share-icon:hover {
  color: #007bff;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--color-white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
}

.sidebar-widget ul li {
  margin-bottom: 10px;
}

.sidebar-widget ul li a {
  text-decoration: none;
  color: #007bff;
  transition: color 0.3s;
}

.sidebar-widget ul li a:hover {
  color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-detail-container {
    grid-template-columns: 1fr;
  }
}
/* Page Banner */
.page-banner {
  background: linear-gradient(to right, #007bff, #0056b3);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.page-title {
  font-size: 36px;
  font-weight: bold;
}

.page-banner p {
  font-size: 18px;
}

/* About Us Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #007bff;
}

.about-text p {
  font-size: 16px;
  color: var(--color-dark);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision */
.mission-vision {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.mission,
.vision {
  flex: 1;
  padding: 20px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.mission h3,
.vision h3 {
  font-size: 22px;
  color: #007bff;
}

.mission p,
.vision p {
  font-size: 16px;
  color: var(--color-dark);
}

/* Why Choose Us */
.why-choose-us {
  margin-top: 60px;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 30px;
  color: #007bff;
}

.choose-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.choose-card {
  background: var(--color-white);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.choose-card:hover {
  transform: translateY(-5px);
}

.choose-card img {
  width: 80px;
  margin-bottom: 10px;
}

/* Meet Our Team */
.our-team {
  text-align: center;
  margin-top: 60px;
}

.our-team h2 {
  font-size: 30px;
  color: #007bff;
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.team-card {
  background: var(--color-white);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-card img {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-card h4 {
  font-size: 20px;
  color: var(--color-dark);
}

.team-card p {
  font-size: 16px;
  color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .mission-vision {
    flex-direction: column;
  }

  .choose-container,
  .team-container {
    flex-direction: column;
  }
}

/* Base styles using Theme.css variables */
.coming-soon {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-light) 0%,
    var(--color-white) 100%
  );
}

/* Header with animation */
.header-cs {
  text-align: center;
  animation: fadeInDown 1s ease-out;
}

.header-cs h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.header-cs p {
  font-size: 1.2rem;
  color: var(--color-dark);
  opacity: 0.9;
}

/* Cards container */
.coming-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* Individual card styling */
.coming-card {
  background: var(--color-white);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: calc(var(--order) * 0.2s); /* Staggered animation */
}

/* Assign order for staggered animation */
.coming-card:nth-child(1) {
  --order: 1;
}
.coming-card:nth-child(2) {
  --order: 2;
}
.coming-card:nth-child(3) {
  --order: 3;
}

/* Card hover effect */
.coming-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-accent);
}

/* Icon styling */
.coming-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.coming-card:hover .icon {
  transform: scale(1.2);
}

.coming-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.coming-card p {
  font-size: 1rem;
  color: var(--color-dark);
  opacity: 0.85;
}

/* Bottom text with heartbeat animation */
.bottom-text {
  margin-top: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
}

.bottom-text .heart {
  display: inline-block;
  color: var(--color-accent);
  animation: heartbeat 1.5s infinite;
}

/* Keyframe animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.3);
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.3);
  }
  80% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .coming-soon {
    margin: 20px;
    padding: 25px;
  }

  .header-cs h1 {
    font-size: 2rem;
  }

  .coming-card {
    padding: 20px;
  }

  .coming-card .icon {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .header-cs h1 {
    font-size: 1.8rem;
  }

  .header-cs p {
    font-size: 1rem;
  }

  .coming-card h2 {
    font-size: 1.3rem;
  }

  .coming-card p {
    font-size: 0.9rem;
  }
}

/* ===============================
   Footer Responsive (Mobile)
================================== */
@media (max-width: 767.98px) {
  .site-footer .row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .site-footer .col-md-3,
  .site-footer .col-md-2 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 1.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }
  .site-footer .d-flex.align-items-center.mb-3 {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem;
  }
  .site-footer img {
    margin-bottom: 0.5rem;
    margin-right: 0 !important;
  }
  .site-footer ul {
    padding-left: 0 !important;
    margin-top: 0.5rem;
    text-align: center;
    display: inline-block;
  }
  .site-footer ul li {
    display: block;
    margin-bottom: 0.7rem;
    text-align: center;
  }
  .site-footer hr {
    margin: 2rem auto;
  }
  .site-footer .d-flex.flex-column.flex-md-row.justify-content-between {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem;
    align-items: center !important;
  }
  .site-footer .d-flex.gap-3 {
    justify-content: center !important;
    margin-top: 1rem;
  }
  .site-footer p,
  .site-footer li,
  .site-footer a {
    font-size: 0.98rem;
    text-align: center !important;
  }
}
 .service-card {
        border-radius: 1.25rem;
        border: 2px solid #e3f2fd !important;
        transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s, border-color 0.3s;
        background: #f8fcff;
        cursor: pointer;
        box-shadow: 0 2px 12px rgba(33,150,243,0.07);
    }
    .service-card:hover {
        transform: scale(1.045) perspective(600px) rotateY(2deg);
        box-shadow: 0 8px 32px rgba(33,150,243,0.13), 0 3px 12px rgba(40,167,69,0.09);
        background: #e3f2fd;
        border-color: #90caf9 !important;
    }
    .service-icon {
        transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), color 0.3s;
        will-change: transform;
        filter: drop-shadow(0 2px 4px rgba(33,150,243,0.10));
    }
    .service-card:hover .service-icon {
        transform: rotateY(360deg) scale(1.15);
        color: #388e3c !important;
    }
    .svg-bounce {
        animation: svg-bounce 1.2s infinite alternate;
    }
    @keyframes svg-bounce {
        0% { transform: translateY(0);}
        100% { transform: translateY(-6px);}
    }
    /* Enhance card separation on white bg */
    .hospital-services .card {
        background: #fff;
        border-radius: 1.25rem;
    }

    /* Doctor - Detail Page */

    /* General section styling with gradient background and smooth transitions */
.about-content-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: background-color 0.3s ease-in-out;
}

/* Ensure container has consistent spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Image styling with hover zoom effect */
img.rounded {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
img.rounded:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Button styling with hover animation */
.btn-primary {
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-primary i {
    transition: transform 0.3s ease;
}
.btn-primary:hover i {
    transform: translateX(4px);
}

/* OPD card styling with subtle hover effect */
.bg-white.rounded.shadow {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.bg-white.rounded.shadow:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Typography enhancements for better hierarchy */
h2.fw-bold.text-primary {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    transition: border-color 0.3s ease;
}
h2.fw-bold.text-primary:hover {
    border-color: #0056b3;
}
h4.text-primary {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
h5.fw-bold.text-success {
    font-size: 1.25rem;
    border-left: 4px solid #28a745;
    padding-left: 1rem;
}

/* List styling with hover animations for interactivity */
.list-unstyled li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    transition: padding-left 0.3s ease, color 0.3s ease;
}
.list-unstyled li:hover {
    padding-left: 1.75rem;
    color: #0056b3;
}
.list-unstyled li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #28a745;
    transition: transform 0.3s ease;
}
.list-unstyled li:hover i {
    transform: scale(1.2);
}

/* Blockquote styling with elegant hover effect */
.blockquote {
    border-left: 4px solid #007bff;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-style: italic;
    color: #6c757d;
    margin-top: 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.blockquote:hover {
    background-color: #e9ecef;
    border-color: #0056b3;
}

/* Responsive adjustments for better alignment on smaller screens */
@media (max-width: 992px) {
    .col-lg-4, .col-lg-8 {
        margin-bottom: 2rem;
    }
    h2.fw-bold.text-primary {
        font-size: 1.75rem;
    }
    .btn-primary {
        padding: 0.5rem 1rem;
    }
    .bg-white.rounded.shadow {
        padding: 1.5rem;
    }
}

/* Fade-in animation for section load */
.about-content-section {
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}