/* Custom CSS for Vital Space Physiotherapy */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* --primary-blue: #0f5d9c;
  --light-blue: #eef6fd;
  --primary-green: #6cb444;
  --light-green: #f1f9ec;
  --dark-text: #10233a;
  --light-text: #ffffff;
  --gray-bg: #f5f8fb;
  --border-soft: #e1e9f2;
  --transition-speed: 0.35s; */

   --primary-blue: #2f6f8f;   /* softer blue */
  --light-blue: #eef7fb;

  --primary-green: #5fbf7a;  /* main theme green (PDF match) */
  --light-green: #eaf7ef;

  --dark-text: #1a2e35;
  --light-text: #ffffff;

  --gray-bg: #f4f7f9;
  --border-soft: #e2e8ee;

  --transition-speed: 0.35s;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 0%, rgba(15, 93, 156, 0.07), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(108, 180, 68, 0.08), transparent 30%),
    #ffffff;
}

h1, h2, h3, h4, h5, h6, .brand-logo, .hero-title, .section-title, .navbar-brand, .hero-stat-number, .service-title {
  font-family: 'Outfit', sans-serif;
}


/* Navbar */
.navbar {
  transition: all var(--transition-speed);
  box-shadow: 0 8px 30px rgba(16, 35, 58, 0.07);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(225, 233, 242, 0.7);
}

.navbar.sticky-top {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-link {
  font-weight: 600;
  color: var(--dark-text);
  transition: color var(--transition-speed);
  margin: 0 8px;
}

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

.navbar-brand {
  font-weight: 800;
  color: var(--primary-blue);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
#mainNav{
  padding: 10px 0px !important;
}

.navbar-brand img.brand-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
}

.navbar-toggler {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(15, 93, 156, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(15, 93, 156, 0.16);
}

.mobile-offcanvas {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(108, 180, 68, 0.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf5fb 100%);
  border-left: 1px solid rgba(15, 93, 156, 0.08);
}

.mobile-offcanvas .offcanvas-header {
  padding: 20px 20px 10px;
}

.mobile-offcanvas .btn-close {
  border-radius: 999px;
  padding: 12px;
  background-color: rgba(15, 93, 156, 0.08);
}

.mobile-offcanvas .brand-logo {
  height: 70px !important;
}

.mobile-offcanvas-copy {
  padding: 18px 18px 16px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 93, 156, 0.08);
  box-shadow: 0 16px 36px rgba(16, 35, 58, 0.06);
}

.mobile-offcanvas-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-offcanvas-copy p {
  margin: 0;
  color: var(--dark-text);
  line-height: 1.7;
}

.mobile-offcanvas-nav {
  gap: 10px;
}

.mobile-offcanvas-nav .nav-link {
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 93, 156, 0.06);
  box-shadow: 0 12px 28px rgba(16, 35, 58, 0.05);
}

.mobile-offcanvas-nav .nav-link.active,
.mobile-offcanvas-nav .nav-link:hover {
  color: var(--primary-blue) !important;
  border-color: rgba(108, 180, 68, 0.25);
  background: linear-gradient(135deg, rgba(15, 93, 156, 0.08), rgba(108, 180, 68, 0.12));
}

.navbar-brand span {
  color: var(--primary-green);
}

.navbar-brand i {
  color: var(--primary-green);
  font-size: 2rem;
  margin-right: 10px;
}

/* Button override */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  color: white;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  color: white;
}

/* ============================================
   HERO SLIDER - Modern Full-Screen
   ============================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
}

.hero-slider .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 7s ease, opacity 1s ease-in-out;
}

.hero-slider .carousel-item.active {
  transform: scale(1);
}

.hero-slider .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(5, 12, 24, 0.68) 0%, rgba(5, 12, 24, 0.25) 65%, rgba(8, 26, 44, 0.54) 100%),
    radial-gradient(circle at 85% 20%, rgba(108, 180, 68, 0.22), transparent 30%);
  z-index: 1;
}

.hero-slider .carousel-item .hero-content-wrap {
  position: relative;
  z-index: 2;
}

/* Slide 1 */
.hero-slide-1 {
  background-image: linear-gradient(120deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%),
    url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1800&q=90');
}

/* Slide 2 */
.hero-slide-2 {
  background-image: linear-gradient(120deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%),
    url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?auto=format&fit=crop&w=1800&q=90');
}

/* Slide 3 */
.hero-slide-3 {
  background-image: linear-gradient(120deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%),
    url('https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1800&q=90');
}

.hero-content-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-text-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #a7f3d0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-weight: 800;
  font-size: 4.2rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-title span {
  background: linear-gradient(to right, #38bdf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #5affc9;
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-img-floating {
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.hero-img-floating img {
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 18px 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-img-badge .badge-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
}

.hero-img-badge .badge-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.hero-img-badge .badge-text span {
  font-size: 0.75rem;
  color: #888;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Slider Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.34);
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  opacity: 1;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  background: rgba(108, 180, 68, 0.95);
  border-color: rgba(108, 180, 68, 0.95);
  box-shadow: 0 10px 26px rgba(108, 180, 68, 0.45);
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.34);
  border: none;
  margin: 0 6px;
  transition: all 0.35s ease;
}

.hero-slider .carousel-indicators .active {
  width: 54px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary-green), #9fe26d);
  box-shadow: 0 0 16px rgba(159, 226, 109, 0.65);
}

/* Slide animation for text */
.carousel-item .hero-badge,
.carousel-item .hero-title,
.carousel-item .hero-subtitle,
.carousel-item .hero-action-btns,
.carousel-item .hero-stats {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.carousel-item.active .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease 0.2s;
}

.carousel-item.active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 0.4s;
}

.carousel-item.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 0.55s;
}

.carousel-item.active .hero-action-btns {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 0.7s;
}

.carousel-item.active .hero-stats {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 0.85s;
}

.carousel-item .hero-img-floating {
  opacity: 0;
  transform: translateY(24px) scale(0.95);
}

.carousel-item.active .hero-img-floating {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.9s ease 0.35s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator .mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scroll-bounce 1.6s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
}

/* Btn modifications for hero */
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 35px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
  color: #fff;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
}

/* Cards & Services */
.service-card {
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: 0 10px 35px rgba(16, 35, 58, 0.05);
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  background-color: #ffffff;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--light-blue), var(--light-green));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(108, 180, 68, 0.35);
  box-shadow: 0 22px 44px rgba(16, 35, 58, 0.11);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-blue);
  margin-bottom: 25px;
  transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1), color var(--transition-speed);
}

.service-card:hover .service-icon {
  color: var(--primary-green);
  transform: scale(1.15) rotate(5deg);
}

.service-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-text);
}

/* Home About - Dark Premium Block */
.about-dark-section {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(108, 180, 68, 0.2), transparent 36%),
    radial-gradient(circle at 95% 100%, rgba(15, 93, 156, 0.26), transparent 38%),
    linear-gradient(145deg, #0f1f31 0%, #12283c 45%, #0b1727 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(7, 15, 26, 0.45);
}

.about-dark-content {
  animation: darkFadeIn 1s ease both;
}

.about-dark-kicker {
  color: #8de26a;
  font-weight: 700;
  letter-spacing: 2px;
}

.about-dark-title {
  color: #f8fbff;
  font-size: 2.2rem;
}

.about-dark-text {
  color: rgba(236, 244, 253, 0.84);
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-dark-media-wrap {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
}

.about-dark-image {
  transition: transform 0.9s ease, filter 0.9s ease;
  filter: saturate(1.05) contrast(1.05);
}

.about-dark-section:hover .about-dark-image {
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.08);
}

.about-dark-point {
  color: #e7f3ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.about-dark-point i {
  color: #7fd85c;
}

.about-dark-point:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 226, 106, 0.45);
  background: rgba(141, 226, 106, 0.08);
}

.about-dark-btn {
  box-shadow: 0 12px 30px rgba(108, 180, 68, 0.35);
}

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

/* Home Stats / Quality Pattern Block */
.stats-pattern-section {
  padding: 70px 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(108, 180, 68, 0.10), transparent 40%),
    radial-gradient(circle at 92% 28%, rgba(15, 93, 156, 0.10), transparent 42%),
    #ffffff;
  color: var(--dark-text);
}

.stats-pattern-shell {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(225, 233, 242, 0.9);
  border-radius: 28px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(16, 35, 58, 0.10);
}

.stats-pattern-shell::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 10% 8%, rgba(15, 93, 156, 0.08), transparent 52%),
    radial-gradient(circle at 92% 82%, rgba(108, 180, 68, 0.10), transparent 48%);
  pointer-events: none;
}

.stats-pattern-left {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(225, 233, 242, 0.95);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: 0 16px 40px rgba(16, 35, 58, 0.08);
}

.stats-pattern-title {
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.stats-pattern-subtitle {
  color: rgba(16, 35, 58, 0.72);
  margin-bottom: 16px;
  line-height: 1.6;
}

.stats-pattern-bullets {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 0 0;
}

.stats-pattern-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(16, 35, 58, 0.88);
}

.stats-pattern-bullets i {
  color: #7fd85c;
  margin-top: 3px;
}

.stats-pattern-bullets span {
  line-height: 1.55;
  font-weight: 500;
  font-size: 0.98rem;
}

.btn-stats-review {
  background: linear-gradient(135deg, rgba(15, 93, 156, 1) 0%, rgba(108, 180, 68, 1) 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 800;
  border: 1px solid rgba(15, 93, 156, 0.10);
  box-shadow: 0 16px 40px rgba(15, 93, 156, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-stats-review:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(108, 180, 68, 1) 0%, rgba(15, 93, 156, 1) 100%);
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(108, 180, 68, 0.22);
}

.stats-pattern-right {
  position: relative;
  z-index: 1;
  padding: 6px 10px 0 10px;
}

.stats-pattern-years {
  color: rgba(16, 35, 58, 0.72);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.stat-item {
  text-align: center;
  padding: 18px 12px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(225, 233, 242, 0.95);
  box-shadow: 0 14px 36px rgba(16, 35, 58, 0.08);
  animation: statPop 0.9s ease both;
}

.stats-grid .stat-item:nth-child(1) { animation-delay: 0.05s; }
.stats-grid .stat-item:nth-child(2) { animation-delay: 0.12s; }
.stats-grid .stat-item:nth-child(3) { animation-delay: 0.19s; }
.stats-grid .stat-item:nth-child(4) { animation-delay: 0.26s; }

.stat-number {
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, rgba(15, 93, 156, 1) 0%, rgba(108, 180, 68, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  color: rgba(16, 35, 58, 0.72);
  font-weight: 700;
  font-size: 0.98rem;
}

@keyframes statPop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 992px) {
  .stats-pattern-shell {
    padding: 34px 18px;
  }
  .stats-pattern-left {
    margin-bottom: 18px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .stats-pattern-section {
    padding: 54px 0;
  }
  .stats-pattern-title {
    font-size: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}

/* Sections General */
section {
  padding: clamp(72px, 9vw, 96px) 0;
}

.section-title {
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

.bg-light-gray {
  background-color: var(--gray-bg);
}

/* Why Choose Us */
.feature-item {
  display: flex;
  margin-bottom: 30px;
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 35, 58, 0.05);
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.02);
}
.feature-item:hover {
  transform: translateX(10px);
  border-color: rgba(108, 180, 68, 0.25);
  box-shadow: 0 16px 34px rgba(16, 35, 58, 0.1);
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-right: 20px;
}
.feature-content h5 {
  font-weight: 700;
}

/* Testimonials Slider (Bootstrap Carousel extension) */
.testimonial-carousel .carousel-inner {
  padding: 20px 0;
}
.testimonial-item {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 34px rgba(16, 35, 58, 0.08);
  margin: 10px auto;
  max-width: 800px;
  text-align: center;
  position: relative;
}
.testimonial-item p {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
}
.testimonial-item .client-name {
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 20px;
}
.quote-icon {
  font-size: 3rem;
  color: var(--light-blue);
  position: absolute;
  top: 20px;
  left: 30px;
  opacity: 0.5;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(135deg, var(--dark-text) 0%, #1e293b 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.cta-section h2 {
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-section .btn-light {
  color: var(--primary-blue);
  border-radius: 50px;
  padding: 12px 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-section .btn-light:hover {
  background-color: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
}

/* Footer */
footer {
  background: linear-gradient(160deg, #111d2c 0%, #162c42 100%);
  color: #adb5bd;
  padding: 80px 0 20px;
  font-size: 0.95rem;
}

.footer-logo-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 16px;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid rgba(15, 93, 156, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.footer-logo-badge img {
  height: 116px;
  display: block;
  width: auto;
  object-fit: contain;
}

@media (max-width: 992px) {
  .navbar-brand img.brand-logo {
    height: 82px;
  }
  .footer-logo-badge img {
    height: 98px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img.brand-logo {
    height: 70px;
  }
  .footer-logo-badge img {
    height: 86px;
  }
}

.page-hero {
  padding: 150px 0 60px !important;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(238, 246, 253, 0.85), rgba(241, 249, 236, 0.6)),
    #f8fbff;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero h1 {
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

.page-hero .lead {
  max-width: 760px;
  margin: 10px auto 0;
}

.contact-info-card {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 35, 58, 0.05);
  background: #fff;
  padding: 24px;
  margin-bottom: 18px;
}

.contact-intro-card {
  border-left: 4px solid var(--primary-green);
}

.clinic-list-card .contact-icon {
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}

.clinic-item {
  border-bottom: 1px dashed var(--border-soft);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.clinic-item a {
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
}

.clinic-item a:hover {
  color: var(--primary-green);
}

.content-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(16, 35, 58, 0.06);
}

.program-section {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16, 35, 58, 0.06);
  margin-bottom: 28px;
}

.program-section:last-child {
  margin-bottom: 0;
}

footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
}

footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color var(--transition-speed), padding-left var(--transition-speed);
  display: inline-block;
  margin-bottom: 8px;
}

footer a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

.social-icons a {
  font-size: 1.2rem;
  margin-right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}
.social-icons a:hover {
  background: var(--primary-green);
  color: #fff;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* Programs Page specific */
.program-img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.program-list {
  list-style: none;
  padding-left: 0;
}
.program-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.program-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--primary-green);
}

/* Team Section */
.team-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform var(--transition-speed);
}
.team-card:hover {
  transform: translateY(-10px);
}
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.team-card .card-body {
  padding: 25px;
}
.team-role {
  color: var(--primary-green);
  font-weight: 500;
  margin-bottom: 15px;
}

/* Map */
.map-container iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 35, 58, 0.08);
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-right: 20px;
  background: var(--light-blue);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-form-panel {
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(16, 35, 58, 0.06);
}

.form-control {
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  margin-bottom: 20px;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(108, 180, 68, 0.2);
  border-color: var(--primary-green);
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-slider {
    height: auto;
    min-height: 100vh;
  }
  .hero-img-floating {
    display: none;
  }
  .hero-content-wrap {
    text-align: center;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-img-badge {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-text-panel {
    padding: 22px 18px;
    border-radius: 18px;
    background: rgba(5, 16, 31, 0.45);
  }
  .hero-slider .carousel-indicators [data-bs-target] {
    width: 20px;
  }
  .hero-slider .carousel-indicators .active {
    width: 36px;
  }
  .about-dark-section {
    border-radius: 20px;
  }
  .about-dark-title {
    font-size: 1.8rem;
  }
  .about-dark-point {
    padding: 8px 10px;
  }
}

/* ============================================
   MODERN REFRESH + ADVANCED MOTION
   ============================================ */

html {
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 93, 156, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 93, 156, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 90%);
  z-index: -1;
}

section {
  position: relative;
}

.hero-slider {
  isolation: isolate;
  background:
    radial-gradient(circle at 10% 20%, rgba(85, 168, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(108, 180, 68, 0.22), transparent 24%),
    linear-gradient(180deg, #08111d 0%, #0d1828 100%);
}

.hero-grid-overlay,
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-overlay {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 85%);
  opacity: 0.35;
}

.hero-ambient-one {
  background: radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.24), transparent 26%);
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-ambient-two {
  background: radial-gradient(circle at 82% 22%, rgba(74, 222, 128, 0.18), transparent 22%);
  animation: pulseGlow 10s ease-in-out infinite reverse;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.95; }
  50% { transform: scale(1.08) translate3d(0, 10px, 0); opacity: 0.6; }
}

.hero-progress-track {
  position: absolute;
  top: 102px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 5;
}

.hero-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #6cb444 0%, #38bdf8 100%);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

.hero-carousel-meta {
  position: absolute;
  right: 28px;
  bottom: 42px;
  display: grid;
  gap: 10px;
  z-index: 12;
  width: min(360px, calc(100% - 40px));
}

/* Clean hero: reduce extra UI layers */
.hero-progress-track,
.hero-carousel-meta {
  display: none;
}

.hero-slide-meta {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(5, 16, 31, 0.52);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  text-align: left;
}

.hero-slide-meta:hover,
.hero-slide-meta.active {
  transform: translateX(-6px);
  background: rgba(8, 28, 46, 0.82);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.hero-slide-index {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: #9be8ff;
}

.hero-slide-copy {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.84);
}

.hero-content-wrap {
  position: relative;
}

.hero-text-panel {
  position: relative;
  overflow: hidden;
  padding: 34px 34px 28px;
  max-width: 720px;
  background: rgba(8, 18, 30, 0.46);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-text-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.10), transparent 48%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
  font-weight: 500;
  margin-bottom: 18px;
  max-width: 560px;
}

.hero-kicker::before {
  content: '';
  width: 44px;
  height: 1px;
  background: rgba(255,255,255,0.44);
}

.hero-title {
  letter-spacing: -0.04em;
  font-size: clamp(3rem, 5vw, 5.25rem);
}

.hero-subtitle {
  max-width: 600px;
  font-size: 1.06rem;
}

.hero-action-btns {
  margin-bottom: 8px;
}

/* Clean stats row */
.hero-stats {
  gap: 12px;
  margin-top: 26px;
}

.hero-stat {
  text-align: left;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  min-width: 150px;
}

.hero-stat-number {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-stat-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.74);
}

.hero-stat-number {
  color: #b7ffd8;
}

.hero-img-floating {
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.hero-img-floating img {
  min-height: 540px;
}

.hero-img-badge {
  bottom: 24px;
  left: 24px;
  right: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255,255,255,0.48);
  box-shadow: 0 18px 40px rgba(9, 24, 39, 0.24);
}

/* Slightly calmer background effects */
.hero-grid-overlay { opacity: 0.18; }
.hero-ambient-one { opacity: 0.55; }
.hero-ambient-two { opacity: 0.45; }

.carousel-item.active .hero-img-floating {
  transition: transform 0.9s ease 0.35s, opacity 0.9s ease 0.35s;
}

.btn-hero-primary,
.btn-hero-outline {
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after,
.btn-hero-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.2) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-hero-primary:hover::after,
.btn-hero-outline:hover::after {
  transform: translateX(120%);
}

.stats-pattern-shell,
.about-dark-section,
.contact-form-panel,
.contact-info-card,
.program-section,
.content-card,
.team-card,
.testimonial-item {
  backdrop-filter: blur(2px);
}

.stats-pattern-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.stats-pattern-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.09), transparent 30%);
  pointer-events: none;
}

.service-card,
.feature-item,
.testimonial-item,
.contact-info-card,
.team-card,
.program-section,
.content-card {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.service-card {
  text-align: left;
  border-radius: 26px;
}

.service-card:hover {
  transform: translateY(-14px);
}

.service-card .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  font-size: 2.25rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 93, 156, 0.12), rgba(108, 180, 68, 0.14));
}

.feature-item {
  padding: 18px 20px;
  border: 1px solid rgba(15, 93, 156, 0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  margin-bottom: 14px;
  box-shadow: 0 14px 34px rgba(16, 35, 58, 0.05);
}

.feature-item:hover {
  transform: translateX(8px);
  border-color: rgba(108, 180, 68, 0.28);
}

.testimonial-item {
  border: 1px solid rgba(15, 93, 156, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 24%),
    #ffffff;
  box-shadow: 0 18px 50px rgba(16, 35, 58, 0.08);
}

.cta-section {
  overflow: hidden;
  border-radius: 34px;
  margin: 24px;
}

.cta-section::before {
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,0.12), transparent 18%),
    linear-gradient(135deg, rgba(15, 93, 156, 0.18), transparent 35%);
}

.cta-section::after {
  background:
    radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.3), transparent 18%);
}

.fade-in-up,
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.fade-in-up.show,
[data-reveal].show {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-reveal="left"] {
  transform: translate3d(-48px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(48px, 0, 0);
}

[data-reveal="zoom"] {
  transform: scale(0.92);
}

@media (max-width: 991px) {
  .hero-progress-track {
    top: 90px;
  }

  .hero-carousel-meta {
    display: none;
  }

  .hero-slide-meta {
    grid-template-columns: 38px 1fr;
    padding: 12px 14px;
  }

  .hero-slide-meta:hover,
  .hero-slide-meta.active {
    transform: none;
  }

  .hero-text-panel {
    padding: 26px 20px 22px;
    margin: 0 auto;
  }

  .hero-kicker {
    font-size: 0.9rem;
  }

  .hero-kpi {
    min-width: calc(50% - 10px);
  }

  .service-card {
    text-align: center;
  }

  .hero-content-wrap {
    padding-top: 108px;
    padding-bottom: 72px;
  }

  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    width: 46px;
    height: 46px;
    margin: 0 12px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: auto;
    height: auto;
    padding-bottom: 20px;
  }

  .hero-progress-track {
    top: 76px;
  }

  .hero-kicker::before {
    width: 26px;
  }

  .hero-kpi {
    min-width: 100%;
  }

  .cta-section {
    margin: 14px;
    border-radius: 26px;
  }

  .hero-content-wrap {
    padding-top: 98px;
    padding-bottom: 90px;
    text-align: left;
  }

  .hero-text-panel {
    width: 100%;
    max-width: none;
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-action-btns {
    gap: 12px !important;
  }

  .hero-action-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    margin-top: 24px;
    gap: 10px;
  }

  .hero-kpi {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .hero-slider .carousel-indicators {
    bottom: 22px;
  }

  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-ambient-one,
  .hero-ambient-two,
  .hero-img-floating,
  .fade-in-up,
  [data-reveal],
  .hero-progress-bar {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   HOME HERO SLIDER - SOFT CLINIC STYLE
   ============================================ */
.hero-slider-legacy {
  display: none !important;
}

.hero-slider-modern {
  position: relative;
  min-height: calc(100vh - 110px);
  padding: 28px 0 30px;
  background:
    radial-gradient(circle at 4% 18%, rgba(125, 208, 121, 0.18), transparent 22%),
    radial-gradient(circle at 92% 12%, rgba(61, 141, 196, 0.12), transparent 24%),
    linear-gradient(90deg, #f5fbf7 0%, #f2f8fc 54%, #f9fcf7 100%);
}

.hero-slider-modern .hero-grid-overlay {
  background-image: none;
  opacity: 0;
}

.hero-slider-modern .hero-ambient-one {
  background: radial-gradient(circle at 12% 24%, rgba(95, 191, 122, 0.18), transparent 28%);
  opacity: 0.9;
}

.hero-slider-modern .hero-ambient-two {
  background: radial-gradient(circle at 88% 18%, rgba(47, 111, 143, 0.15), transparent 24%);
  opacity: 0.9;
}

.hero-slider-modern .carousel,
.hero-slider-modern .carousel-inner,
.hero-slider-modern .carousel-item {
  min-height: inherit;
}

.hero-slider-modern .carousel-item {
  background: transparent;
  transform: none;
  transition: opacity 0.6s ease-in-out;
}

.hero-slider-modern .carousel-item::after {
  display: none;
}

.hero-slider-modern .hero-content-wrap {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  padding: 28px 0 72px;
}

.hero-slider-fluid {
  padding-left: clamp(22px, 3.7vw, 72px);
  padding-right: clamp(22px, 3.7vw, 72px);
}

.hero-card {
  position: relative;
  width: 100%;
  padding: 36px 40px 34px;
  border: 1px solid rgba(220, 230, 236, 0.9);
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 254, 0.96)),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 48px rgba(26, 46, 53, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126, 214, 134, 0.14) 0%, transparent 18%, transparent 82%, rgba(96, 171, 222, 0.12) 100%);
  pointer-events: none;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0 0 14px 14px;
  pointer-events: none;
}

.hero-slider-modern .hero-text-panel {
  max-width: 660px;
  padding: 16px 0 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-slider-modern .hero-text-panel::before {
  display: none;
}

.hero-label {
  display: inline-block;
  margin-bottom: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(95, 191, 122, 0.13);
  color: var(--primary-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-slider-modern .hero-title {
  margin-bottom: 20px;
  color: #07111c;
  font-size: clamp(3rem, 5vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-shadow: none;
  font-weight: 900;
}

.hero-slider-modern .hero-title span {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--primary-green);
}

.hero-slider-modern .hero-subtitle {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(26, 46, 53, 0.68);
  font-size: 1.03rem;
  line-height: 1.95;
}

.hero-slider-modern .hero-action-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn-hero-green,
.btn-hero-blue {
  min-width: 220px;
  border-radius: 999px;
  padding: 18px 30px;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  box-shadow: 0 16px 34px rgba(26, 46, 53, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.btn-hero-green {
  background: linear-gradient(135deg, #6cc63e 0%, #57b92d 100%);
  color: #fff;
}

.btn-hero-blue {
  background: linear-gradient(135deg, #0f69b5 0%, #07589c 100%);
  color: #fff;
}

.btn-hero-green:hover,
.btn-hero-blue:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(26, 46, 53, 0.16);
}

.hero-inline-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.hero-inline-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(7, 17, 28, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-inline-points i {
  color: var(--primary-green);
}

.hero-image-shell {
  position: relative;
  max-width: 610px;
  margin-left: auto;
  padding: 14px;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 251, 0.84));
  box-shadow: 0 32px 68px rgba(47, 111, 143, 0.14);
}

.hero-image-shell::before {
  content: '';
  position: absolute;
  inset: -14px auto auto -22px;
  width: 86px;
  height: 86px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(140, 226, 135, 0.38), rgba(140, 226, 135, 0.08));
  filter: blur(1px);
  z-index: 0;
}

.hero-image-shell::after {
  content: '';
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 150px;
  height: 150px;
  border-radius: 44px;
  background: rgba(15, 105, 181, 0.1);
  z-index: 0;
}

.hero-image-accent {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  z-index: 1;
  pointer-events: none;
}

.hero-main-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.hero-image-badge {
  position: absolute;
  left: 32px;
  bottom: 26px;
  z-index: 2;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0c2234;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(12, 34, 52, 0.14);
}

.hero-slider-indicators {
  bottom: 6px;
  margin-bottom: 0;
}

.hero-slider-modern .carousel-indicators [data-bs-target] {
  width: 16px;
  height: 16px;
  margin: 0 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(113, 171, 205, 0.42);
  opacity: 1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-slider-modern .carousel-indicators .active {
  background: var(--primary-green);
  transform: scale(1.18);
  box-shadow: 0 0 0 7px rgba(95, 191, 122, 0.16);
}

.hero-slider-control {
  width: auto;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

.hero-slider-modern .carousel-control-prev {
  left: max(18px, 2.2vw);
}

.hero-slider-modern .carousel-control-next {
  right: max(18px, 2.2vw);
}

.hero-control-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-blue);
  border: 1px solid rgba(226, 232, 238, 0.9);
  box-shadow: 0 18px 34px rgba(26, 46, 53, 0.12);
  font-size: 1.45rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.hero-slider-control:hover .hero-control-icon {
  transform: translateY(-2px);
  background: var(--primary-blue);
  color: #fff;
}

.hero-slider-modern .carousel-item .hero-label,
.hero-slider-modern .carousel-item .hero-title,
.hero-slider-modern .carousel-item .hero-subtitle,
.hero-slider-modern .carousel-item .hero-action-btns,
.hero-slider-modern .carousel-item .hero-inline-points,
.hero-slider-modern .carousel-item .hero-image-shell {
  opacity: 0;
  transform: translateY(22px);
}

.hero-slider-modern .carousel-item.active .hero-label {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.45s ease 0.15s;
}

.hero-slider-modern .carousel-item.active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.55s ease 0.28s;
}

.hero-slider-modern .carousel-item.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.55s ease 0.4s;
}

.hero-slider-modern .carousel-item.active .hero-action-btns {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.55s ease 0.52s;
}

.hero-slider-modern .carousel-item.active .hero-inline-points {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.55s ease 0.64s;
}

.hero-slider-modern .carousel-item.active .hero-image-shell {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s ease 0.3s;
}

@media (max-width: 991px) {
  .hero-slider-modern {
    min-height: auto;
    padding: 18px 0 18px;
  }

  .hero-slider-modern .hero-content-wrap {
    min-height: auto;
    padding: 18px 0 70px;
  }

  .hero-card {
    padding: 24px 20px 26px;
    border-radius: 0 0 16px 16px;
  }

  .hero-slider-modern .hero-text-panel {
    max-width: none;
    text-align: center;
  }

  .hero-slider-modern .hero-subtitle {
    max-width: none;
  }

  .hero-slider-modern .hero-action-btns {
    justify-content: center;
  }

  .hero-inline-points {
    justify-content: center;
  }

  .hero-image-shell {
    max-width: 100%;
    margin: 0;
  }

  .hero-main-image {
    height: 420px;
  }

  .hero-slider-modern .carousel-control-prev,
  .hero-slider-modern .carousel-control-next {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-slider-modern .hero-title {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .hero-slider-modern .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .btn-hero-green,
  .btn-hero-blue {
    width: 100%;
  }

  .hero-main-image {
    height: 300px;
  }

  .hero-card {
    padding: 18px 14px;
  }

  .hero-image-badge {
    left: 22px;
    right: 22px;
    bottom: 18px;
    text-align: center;
  }
}

/* Floating Contact Actions */
.floating-contact-dock {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1080;
  display: flex;
}

.floating-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-action {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 34px rgba(16, 35, 58, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.floating-action-label {
  display: none;
}

.floating-action::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02));
  opacity: 0.85;
  z-index: -1;
}

.floating-action::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 48%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  z-index: -1;
}

.floating-action:hover,
.floating-action:focus-visible {
  color: #fff;
  transform: translateX(-5px);
  box-shadow: 0 22px 42px rgba(16, 35, 58, 0.24);
  filter: saturate(1.05);
}

.floating-action:hover::after,
.floating-action:focus-visible::after {
  transform: translateX(120%);
}

.floating-action-icon,
.floating-action-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.floating-action-icon i {
  font-size: 1.28rem;
  line-height: 1;
}

.floating-action-whatsapp {
  background: linear-gradient(135deg, #24cf61 0%, #1faf54 100%);
}

.floating-action-call {
  background: linear-gradient(135deg, #0f69b5 0%, #0a4e86 100%);
}

.floating-action-enquire {
  background: linear-gradient(135deg, #2f6f8f 0%, #5fbf7a 100%);
}

@media (max-width: 991px) {
  body {
    padding-bottom: 112px;
  }

  .floating-contact-dock {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    top: auto;
    transform: none;
    justify-content: center;
  }

  .floating-contact-actions {
    width: min(100%, 420px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 238, 0.95);
    box-shadow: 0 18px 34px rgba(16, 35, 58, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .floating-action {
    width: auto;
    height: auto;
    min-height: 50px !important;
    min-width: 0;
    padding: 5px 8px 5px;
    border-radius: 16px;
    flex-direction: row;
    gap: 6px;
    box-shadow: none;
  }

  .floating-action:hover,
  .floating-action:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(16, 35, 58, 0.12);
  }

  .floating-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .floating-action-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: #fff;
    text-align: center;
  }
}

@media (max-width: 576px) {
  body {
    padding-bottom: 104px;
  }

  .floating-contact-dock {
    right: 10px;
    left: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .floating-contact-actions {
    gap: 6px;
    padding: 7px;
    width: 100%;
    border-radius: 16px;
  }

  .floating-action {
    border-radius: 15px;
    min-height: 60px;
    padding: 9px 6px 7px;
  }

  .floating-action-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }

  .floating-action-icon i {
    font-size: 1rem;
  }

  .floating-action-label {
    font-size: 0.7rem;
  }
}


.partners-modern {
  background: #f9fafb;
}

.partner-card {
  background: #fff;
  border-radius: 16px;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.partner-card img {
  max-height: 70px;
  object-fit: contain;
}

.partner-card p {
  font-size: 14px;
}
