/* ============================================
   AP Health Care - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Nunito:wght@400;600;700&display=swap');

:root {
  --primary: #0077B6;
  --primary-dark: #023E8A;
  --secondary: #00B4D8;
  --accent: #48CAE4;
  --light-blue: #ADE8F4;
  --white: #ffffff;
  --light: #F0F8FF;
  --light-gray: #F8F9FA;
  --gray: #6c757d;
  --dark: #1a1a2e;
  --text: #333333;
  --border: #e0e0e0;
  --success: #28a745;
  --shadow: 0 4px 20px rgba(0, 119, 182, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 119, 182, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
  overflow-x: hidden;
}

.contact-section i.fas,
.why-section i.fas,
.stats-section i.fas,
.services-section .fas {
  color: #023e8a;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;

  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.45);
}

a.cta_btn.btn.btn-primary:hover {
  background: #fff;

  color: var(--primary);
}

a.cta_btn.btn.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.fa-phone-alt {
  transform: scaleX(-1);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid;
}

.btn-white:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  transform: translateY(-2px);
  border: 1px solid #024b94;
}

/* Phone icon faces right in all buttons */
.btn .fa-phone-alt {
  transform: scaleX(-1);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 55px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(0, 180, 216, 0.1));
  color: #023e8a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid #023e8a70;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 15px;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 10px 0;
  font-size: 13.5px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.95;
}

.top-bar-item i {
  font-size: 13px;
  color: var(--accent);
}

.top-bar-item a:hover {
  color: var(--accent);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 119, 182, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 10.5px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  margin-left: 10px;
}

/* Nav overlay (mobile backdrop) — hidden on desktop */
.nav-overlay {
  display: none;
}

/* Nav drawer header row — hidden on desktop */
.nav-drawer-head {
  display: none;
}

/* Nav close button — hidden on desktop */
.nav-close {
  display: none;
}

/* Drawer contact block — hidden on desktop */
.nav-drawer-contact {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   BANNER SLIDER
   ============================================ */
.banner-slider {
  position: relative;
  overflow: visible;
  width: 100%;
  height: 620px;
  max-width: 100vw;
  z-index: 15;
}

/* Each slide is stacked absolutely — fade in/out */
.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none !important;
  z-index: 0;
  overflow: visible;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: none !important;
  z-index: 20;
  /* Higher than dots (z-index: 10) */
}

.slide-content,
.slide-visual {
  pointer-events: auto !important;
}



.slide-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

/* Large decorative circle ring — right side */
.slide-overlay::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 40px solid rgba(0, 180, 216, 0.07);
  top: -120px;
  right: -120px;
  pointer-events: none;
  z-index: 0;
}

/* Smaller circle ring — bottom left */
.slide-overlay::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 40px solid rgba(0, 180, 216, 0.07);
  bottom: -80px;
  left: -60px;
  pointer-events: none;
  z-index: 0;
}

/* Two-column layout inside each slide */
.slide-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  width: 100%;
  padding: 60px 0;
}

/* LEFT — text */
.slide-content {
  max-width: 660px;
}

/* Content animations — driven by .slide-enter toggled from JS so they
   restart reliably on every loop cycle, not just the first activation */
.slide-enter .slide-content {
  animation: slideTextIn 0.6s ease both;
}

.slide-enter .slide-visual {
  animation: slideVisualIn 0.6s ease 0.1s both;
}

@keyframes slideTextIn {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideVisualIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid #023e8a;
  color: #023e8a;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.slide-title {
  font-size: 50px;
  font-weight: 800;
  color: #023e8a;
  line-height: 1.2;
  margin-bottom: 18px;
}

.slide-title span {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-desc {
  font-size: 15.5px;
  color: rgb(0 0 0 / 78%);
  line-height: 1.85;
  margin-bottom: 34px;
}

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* RIGHT — visual */
.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-img-wrap {
  position: relative;
  width: 100%;
  max-width: 570px;
  height: auto;
}

.slide-img-circle {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.10);

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-img-circle i {
  font-size: 110px;
  color: rgba(255, 255, 255, 0.85);
}

/* Floating info badges on the visual */
.slide-img-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
}

.slide-img-badge.top-right {
  top: 10px;
  right: -10px;
  animation-delay: 0s;
}

.slide-img-badge.bottom-left {
  bottom: 20px;
  left: -10px;
  animation-delay: 1.5s;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.slide-img-badge i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.slide-img-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

/* Dots */
.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #01559c;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.banner-dot.active {
  background: #0163a7;
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: #012A4A;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  color: var(--white);
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 36px 24px 32px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  transition: transform 0.3s ease;
}

.stat-card:nth-child(1) .stat-icon {
  background: #fff;

}

.stat-card:nth-child(2) .stat-icon {
  background: #fff;

}

.stat-card:nth-child(3) .stat-icon {
  background: #fff;

}

.stat-card:nth-child(4) .stat-icon {
  background: #fff;

}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(-5deg);
}

.stat-number {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
  letter-spacing: 0.3px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}


.about-image-wrap {
  position: relative;
}

.about-image-frame {
  width: 100%;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(2, 62, 138, 0.18);
  border: 3px solid rgba(2, 62, 138, 0.08);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-frame:hover img {
  transform: scale(1.04);
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-exp-badge .number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.about-exp-badge .text {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 500;
  max-width: 80px;
  width: 100%;
  display: block;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 20px;
}

.about-desc {
  color: var(--gray);
  font-size: 15.5px;
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.about-feature i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: #f4f8ff;
  position: relative;
  overflow: hidden;
}

.services-bg-decor {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(0, 119, 182, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* ── Card ── */
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 34px 28px 28px;
  box-shadow: 0 4px 24px rgba(2, 62, 138, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(2, 62, 138, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* faint large number in background */
.svc-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: rgba(2, 62, 138, 0.05);
  font-family: 'Poppins', sans-serif;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
}

/* colored left-border accent — grows on hover */


.service-card:hover::after {
  transform: scaleY(1);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(2, 62, 138, 0.13);
}

/* ── Icon wrap ── */
.svc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .svc-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.svc-icon-wrap.blue {
  border: 2px solid #023e8a;
  background: #fff;
  color: #fff;

}

.svc-icon-wrap.teal {
  border: 2px solid #023e8a;
  background: #fff;
  color: #fff;

}

.svc-icon-wrap.green {
  border: 2px solid #023e8a;
  background: #fff;
  color: #fff;

}

.svc-icon-wrap.purple {
  border: 2px solid #023e8a;
  background: #fff;
  color: #fff;

}

.svc-icon-wrap.orange {
  border: 2px solid #023e8a;
  background: #fff;
  color: #fff;

}

.svc-icon-wrap.pink {
  border: 2px solid #023e8a;
  background: #fff;
  color: #fff;
}

/* pass color to card via inherit trick */
.service-card[data-color="blue"] {
  --svc-color: #0077B6;
}

.service-card[data-color="teal"] {
  --svc-color: #0096C7;
}

.service-card[data-color="green"] {
  --svc-color: #1B9E4B;
}

.service-card[data-color="purple"] {
  --svc-color: #6F42C1;
}

.service-card[data-color="orange"] {
  --svc-color: #F76B1C;
}

.service-card[data-color="pink"] {
  --svc-color: #E5195F;
}

/* ── Text ── */
.svc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #023e8a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap 0.25s ease, opacity 0.25s ease;
}

.service-link:hover {
  gap: 12px;
  opacity: 0.85;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(5px);
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #023e8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
}

.why-feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.why-feature-text p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.why-image-wrap {
  position: relative;
}

.why-image-frame {
  width: 100%;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(2, 62, 138, 0.18);
  border: 3px solid rgba(2, 62, 138, 0.08);
}

.why-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.why-image-frame:hover img {
  transform: scale(1.04);
}

.why-badge {
  position: absolute;
  top: -15px;
  right: -20px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
}

.why-badge i {
  font-size: 24px;
  color: var(--primary);
}

.why-badge div span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.why-badge div small {
  font-size: 11px;
  color: var(--gray);
  display: block;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: linear-gradient(180deg, #012A4A, #011F37);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  z-index: 0;
}

.slider-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: scale(1.1);
}

/* Override section-header text colour on dark background */
.testimonials-section .section-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonials-section .section-title {
  color: #fff;
}

.testimonials-section .section-title span {
  color: var(--accent);
}

.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  width: 100%;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 36px 30px 30px;
  flex: 0 0 calc((100% - 48px) / 3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}



.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}



.testimonial-text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  margin-bottom: 8px;
  font-style: italic;
  position: relative;
  z-index: 1;
  max-height: calc(1.9em * 4);
  /* exactly 4 lines */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.testimonial-text.expanded {
  overflow-y: auto;
  max-height: calc(1.9em * 4);
  /* same box — now scrollable */
}

/* Thin styled scrollbar inside testimonial */
.testimonial-text::-webkit-scrollbar {
  width: 3px;
}

.testimonial-text::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.testimonial-text::-webkit-scrollbar-thumb {
  background: rgba(72, 202, 228, 0.5);
  border-radius: 2px;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
  display: inline-block;
  transition: var(--transition);
  text-transform: uppercase;
}

.read-more-btn:hover {
  color: #fff;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 13.5px;
  margin-bottom: 22px;
  letter-spacing: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border: 1px solid #ffffff3b;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;

}

.author-info span {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.author-info small {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--white);
}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: #023e8a;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 25px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.faq-question:hover {
  color: #023e8a;
}

.faq-item.active .faq-question {
  color: #023e8a;
}



.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  background: #023e8a;
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 25px 20px;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, #f0f8ff, #e8f4ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 2px solid #023e8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.contact-card-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.contact-card-info p,
.contact-card-info a {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  display: block;
}

.contact-card-info a:hover {
  color: var(--primary);
}

/* Contact Map */
.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  min-height: 460px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-section {
  background: linear-gradient(180deg, #012A4A, #011F37);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, #012A4A, #011F37);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 18px;
  display: inline-flex;
}

.footer-brand .logo-name {
  -webkit-text-fill-color: white;
}

.footer-brand .logo-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social .social-link {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.footer-col h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-link i {
  font-size: 11px;
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links span {
  opacity: 0.4;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float-dropdown {
  position: fixed;
  bottom: 85px;
  right: 16px;
  z-index: 999;
  display: inline-block;
}

.whatsapp-float {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float-dropdown:hover .whatsapp-float {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);

}

.testimonials-section .fade-up.visible {
  padding-top: 10px;
  z-index: 1;
  position: relative;
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #011c35 0%, #023E8A 60%, #0353a4 100%);
  padding: 80px 0 70px;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 55px solid rgba(255, 255, 255, 0.04);
  top: -100px;
  right: -100px;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 35px solid rgba(0, 180, 216, 0.07);
  bottom: -70px;
  left: -50px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 15, 35, 0.25);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  margin-top: 14px;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}

.page-hero-title span {
  color: #48CAE4;
}

.page-hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 0;
  line-height: 1.7;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #48CAE4;
}

.breadcrumb i.fa-chevron-right {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb span {
  color: #48CAE4;
  font-weight: 600;
}

/* ============================================
   MISSION & VISION CARDS
   ============================================ */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.mv-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(2, 62, 138, 0.08);
  border: 1px solid #e8eef8;
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(2, 62, 138, 0.14);
}

.mv-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #023E8A, #0077B6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(2, 62, 138, 0.22);
}

.mv-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.mv-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 22px 28px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(2, 62, 138, 0.08);
  border: 1px solid #e8eef8;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(2, 62, 138, 0.14);
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #023E8A, #0077B6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: #fff;

}

.team-card:nth-child(2) .team-avatar,
.team-card:nth-child(4) .team-avatar,
.team-card:nth-child(3) .team-avatar {
  background: linear-gradient(135deg, #023E8A, #0077B6);

}



.team-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 5px;
}

.team-info span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 60px 0 50px;
  }

  .page-hero-title {
    font-size: 34px;
  }

  .page-hero-desc {
    font-size: 15px;
  }

  .mv-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-top: 36px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .mv-card,
  .team-card {
    padding: 26px 18px 22px;
  }
}

@media (max-width: 1100px) {
  .hero-title {
    font-size: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .mv-grid {

    grid-template-columns: repeat(2, 1fr);
  }

  .about-exp-badge {
    right: 0px;
  }

  .section-title {
    font-size: 30px;
  }

  .banner-slider {
    height: 770px;
  }

  .slide-inner {
    gap: 30px;
    display: flex;
    flex-direction: column-reverse;
  }


  .slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 36px;
    text-align: center;
  }

  .slide-content {
    max-width: 100%;
  }

  .slide-badge {
    display: inline-flex;
  }

  .slide-actions {
    justify-content: center;
  }

  .slide-visual {
    display: flex;
    justify-content: center;
  }

  .slide-img-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  .slide-img-circle {
    height: 300px;
  }

  .slide-img-badge {
    display: none;
  }

  .slide-title {
    font-size: 34px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card::after {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-image-wrap {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .why-image-frame {

    height: auto;
  }

  .about-exp-badge .number {

    font-size: 26px;

  }

  .why-badge {

    padding: 10px 10px;

  }

  .why-badge div span {

    font-size: 13px;
  }

  .about-exp-badge {
    padding: 10px 10px;
  }

  .about-image-frame {

    height: auto;

  }

  /* Logo scale */
  .logo-icon {
    width: 42px;
    height: 42px;
  }

  .logo-name {
    font-size: 18px;
  }

  .navbar {
    padding: 13px 0;
  }

  .banner-slider {
    height: 650px;
  }

  .slide-title {
    font-size: 28px;
  }

  .slide-desc {
    font-size: 14px;
  }

  .slide-img-circle {
    height: 220px;
  }

  .slide-inner {
    padding: 10px 0 30px;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .testimonials-track .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 480px) {
  .why-feature {
    flex-wrap: wrap;
  }

  .slide-title {
    font-size: 25px;
  }

  .why-badge {
    right: 0px;
  }

  .about-exp-badge {
    right: 0px;
  }



  .section-padding {
    padding: 55px 0;
  }

  /* Hide top bar on small phones */
  .top-bar {
    display: none;
  }

  .logo-name {
    font-size: 16px;
  }

  .logo-tagline {
    display: none;
  }

  .banner-slider {
    height: 740px;
  }

  .slide-inner {
    gap: 56px;
  }



  .slide-desc {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .slide-badge {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 12px;
  }

  .slide-actions {
    flex-direction: column;
    align-items: center;
  }

  .slide-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 12px 16px;
  }

  .stat-number {
    font-size: 34px;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap {
    min-height: 280px;
  }

  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
  }
}

/* ── Extra small phones (< 360px) ── */
@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }


}

@media only screen and (min-width: 900px) and (max-width: 1140px) {
  .slide-title {
    font-size: 42px;

  }

  .slide-inner {
    gap: 30px;
  }

}

@media (max-width: 1080px) {
  .nav-menu li:nth-child(2) {
    display: none;
  }
}

@media only screen and (min-width: 901px) and (max-width: 991px) {





  .slide-inner {
    gap: 30px;
  }

  .slide-img-wrap {
    max-width: 380px;
  }

  .slide-img-circle {
    height: 320px;
  }
}

@media only screen and (max-width: 991px) {

  .about-grid,
  .why-grid {

    gap: 40px;

  }

  .section-padding {
    padding: 55px 0;
  }

  .stats-section {
    padding: 55px 0;
  }

  .cta-section {

    padding: 55px 0;

  }

  /* Top bar — hide address on tablet */
  .top-bar-left .top-bar-item:nth-child(3),
  .top-bar-left .top-bar-item:nth-child(4) {
    display: none;
  }

  /* Keep header sticky */
  .header {
    position: sticky;
    top: 0;
  }

  /* Backdrop overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 20, 50, 0.55);
    backdrop-filter: blur(2px);
    z-index: 997;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Right-side drawer */
  .nav-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    z-index: 998;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -8px 0 50px rgba(2, 62, 138, 0.2);
    overflow-y: auto;
    animation: none;
    border-top: none;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  /* Drawer top row — logo + close button */
  .nav-drawer-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 14px 14px;
    border-bottom: 1px solid #e8eef5;
    background: #fff;
    flex-shrink: 0;
  }

  .nav-drawer-head .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .nav-drawer-head .logo-icon {
    width: 38px;
    height: 38px;
  }

  .nav-drawer-head .logo-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: block;
  }

  .nav-drawer-head .logo-tagline {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #eef3ff;
    border: none;
    border-radius: 50%;
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
  }

  .nav-close:hover {
    background: var(--primary);
    color: #fff;
  }

  /* Nav links inside drawer */
  .nav-menu>li {
    border-bottom: 1px solid #f0f4fb;
  }

  .nav-menu>li:last-child {
    border-bottom: none;
    margin-top: auto;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    background: #f0f6ff;
    color: var(--primary);
    padding-left: 32px;
  }

  .nav-link::after {
    display: none;
  }

  /* Contact info block inside drawer */
  .nav-drawer-contact {
    display: block !important;
    padding: 20px 20px 16px;
    background: #f4f8ff;
    border-top: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
  }

  .drawer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #444;
  }

  .drawer-contact-item:last-of-type {
    margin-bottom: 0;
  }

  .drawer-contact-item i {
    color: var(--primary);
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
  }

  .drawer-contact-item a,
  .drawer-contact-item span {
    color: #444;
    font-size: 13px;
    line-height: 1.5;
    display: block;
  }

  .drawer-contact-item a:hover {
    color: var(--primary);
  }

  .drawer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
  }

  .drawer-social .social-link {
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1px solid #dde6f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
    transition: var(--transition);
  }

  .drawer-social .social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  /* Hide top bar on mobile — content moves into drawer */
  .top-bar {
    display: none;
  }

  /* CTA at bottom of drawer */
  .nav-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 0;
    padding: 20px;
    background: #f8faff;
    border-top: 1px solid #e8eef5 !important;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* Lock body scroll when drawer is open */
  body.nav-open {
    overflow: hidden;
  }

  body.resizing .nav-menu {
    transition: none !important;
  }

  .hamburger {
    display: flex;
  }


}

@media only screen and (max-width: 1440px) {
  .why-badge {
    right: 0px;
  }
}

.au-story .about-exp-badge,
.au-why .why-badge {
  display: none;
}

section.location-section {
  line-height: 0;
}

/* ============================================
   SERVICES PAGE CUSTOM STYLES
   ============================================ */
.services-list-section {
  background: var(--light-gray);
}

/* Vertical Tabs Layout */
.services-tab-container {
  display: flex;
  gap: 40px;
  background: #f4f8ff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(2, 62, 138, 0.05);
  border: 1px solid rgba(2, 62, 138, 0.08);
  margin-top: 40px;
}

.services-tab-sidebar {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-btn {
  width: 100%;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-btn:hover {
  background: #edf2f7;
  color: var(--primary);
  border-color: rgba(2, 62, 138, 0.2);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(2, 62, 138, 0.15);
}

.services-tab-content-area {
  flex: 1;
  min-width: 0;
  /* prevent grid blowouts */
}

.tab-panel {
  display: none;
  animation: tabFadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.tab-panel-info {
  display: flex;
  flex-direction: column;
}

.tab-panel-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.tab-panel-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 15px;
}

.tab-panel-desc-bold {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.tab-panel-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-panel-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.tab-panel-bullets li i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.tab-panel-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.tab-panel-img {
  width: 100%;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tab-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-panel-cta {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
}

.service-card-full {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(2, 62, 138, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(2, 62, 138, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(2, 62, 138, 0.12);
}

.service-card-img {
  height: 240px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

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

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

.service-card-icon-tag {
  position: absolute;
  bottom: -20px;
  right: 25px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
  z-index: 2;
}

.service-card-content {
  padding: 35px 25px 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-card-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.4;
}

.service-card-bullets li i {
  color: var(--success);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.2);
  transition: var(--transition);
}

.service-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.35);
  color: var(--white);
}

/* Booking Section on Services Page */
.booking-section {
  background: linear-gradient(135deg, #f0f8ff, #e8f4ff);
  position: relative;
  overflow: hidden;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.booking-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  background: var(--light-gray);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 45px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.booking-info-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.booking-info-text p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.booking-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.booking-step-text h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.booking-step-text p {
  font-size: 13.5px;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Medical Equipment Grid inside Tab Panel */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
  width: 100%;
  max-height: 670px;
  overflow-y: auto;
  padding: 15px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.equipment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 10px;
  background: #f8fafc;
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #edf2f7;
  cursor: pointer;
  position: relative;
}

.equipment-item::after {
  content: '\f002';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 12px;
  color: var(--primary);
  background: rgba(18, 116, 192, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
}

.equipment-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.equipment-item:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 10px 20px rgba(2, 62, 138, 0.08);
  border-color: var(--primary);
}

.equipment-img-container {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.25s ease;
}

.equipment-item:hover .equipment-img-container {
  transform: scale(1.08);
}

.equipment-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.equipment-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* Custom Scrollbar for Equipment Grid */
.equipment-grid::-webkit-scrollbar {
  width: 6px;
}

.equipment-grid::-webkit-scrollbar-track {
  background: transparent;
}

.equipment-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.equipment-grid::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Equipment Preview Modal */
.eq-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.eq-modal.active {
  display: flex;
  opacity: 1;
}

.eq-modal-content {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 28px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.eq-modal.active .eq-modal-content {
  transform: scale(1);
}

.eq-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.eq-modal-close:hover {
  color: var(--primary-dark);
  transform: scale(1.1);
}

#eq-modal-img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  margin-bottom: 25px;
}

#eq-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0;
}


@media (max-width: 1024px) {
  .services-tab-container {
    flex-direction: column;
    padding: 25px 20px;
    gap: 30px;
  }

  .services-tab-sidebar {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
    gap: 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    width: auto;
    white-space: nowrap;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 10px;
  }

  .tab-btn i {
    display: none;
    /* hide chevron arrow in horizontal slider */
  }

  .tab-panel-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tab-panel-title {
    font-size: 26px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .services-tab-container {
    padding: 20px 15px;
  }

  .booking-form-card {
    padding: 30px 20px;
  }

  .tab-panel-img {
    height: 240px;
  }
}

/* ============================================
   LEGAL / PRIVACY POLICY PAGE
   ============================================ */

.legal-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

/* ── Table of Contents Sidebar ── */
.legal-toc {
  position: sticky;
  top: 100px;
}

.legal-toc-inner {
  background: linear-gradient(160deg, #f0f6ff, #e6f0ff);
  border: 1px solid #c8daf5;
  border-radius: 18px;
  padding: 28px 24px;
}

.legal-toc-inner h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.legal-toc-inner h3 i {
  font-size: 13px;
  color: var(--secondary);
}

.legal-toc-inner ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.legal-toc-inner ul li a {
  display: block;
  font-size: 13.5px;
  color: var(--text-light);
  padding: 7px 12px;
  border-radius: 8px;
  transition: var(--transition);
  border-left: 3px solid transparent;
  line-height: 1.4;
}

.legal-toc-inner ul li a:hover {
  color: var(--primary);
  background: rgba(2, 62, 138, 0.07);
  border-left-color: var(--primary);
  padding-left: 16px;
}

/* ── Intro Block ── */
.legal-intro {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: linear-gradient(135deg, #eaf2ff, #f5f9ff);
  border: 1px solid #c8daf5;
  border-left: 5px solid var(--primary);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 40px;
}

.legal-intro-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #023E8A, #0077B6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(2, 62, 138, 0.22);
}

.legal-last-updated {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.legal-last-updated strong {
  color: var(--primary);
}

.legal-intro>div>p:last-child {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* ── Content Blocks ── */
.legal-block {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 36px 32px;
  margin-bottom: 26px;
  border: 1px solid #e4edf8;
  box-shadow: 0 4px 20px rgba(2, 62, 138, 0.05);
  scroll-margin-top: 100px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.legal-block:hover {
  box-shadow: 0 12px 40px rgba(2, 62, 138, 0.1);
  transform: translateY(-2px);
}

.legal-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.legal-block-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #023E8A, #0077B6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(2, 62, 138, 0.2);
}

.legal-block-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.3;
}

.legal-block p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

/* ── Legal List ── */
.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 20px;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.legal-list li i {
  color: var(--secondary);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── Contact Block ── */
.legal-contact-block {
  background: linear-gradient(135deg, #f0f7ff, #e8f2ff);
  border-color: #b8d4f5;
}

.legal-contact-card {
  margin-top: 20px;
  background: var(--white);
  border-radius: 14px;
  padding: 24px 28px;
  border: 1px solid #dce9f8;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.legal-contact-row i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 3px;
  width: 18px;
  flex-shrink: 0;
}

.legal-contact-row a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s;
}

.legal-contact-row a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .legal-wrapper {
    grid-template-columns: 220px 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .legal-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc-inner {
    padding: 22px 18px;
  }

  .legal-toc-inner ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .legal-toc-inner ul li a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 5px 10px;
    font-size: 12.5px;
    background: rgba(2, 62, 138, 0.05);
    border-radius: 20px;
  }

  .legal-toc-inner ul li a:hover {
    border-left: none;
    border-bottom-color: var(--primary);
    padding-left: 10px;
    border-radius: 20px;
  }
}

@media (max-width: 600px) {
  .legal-block {
    padding: 26px 20px 22px;
    border-radius: 14px;
  }

  .legal-block-header h2 {
    font-size: 17px;
  }

  .legal-intro {
    flex-direction: column;
    gap: 16px;
    padding: 22px 20px;
  }

  .legal-contact-card {
    padding: 18px;
  }
}

/* ── Privacy Policy ── */
.privacy-doc {
  max-width: 780px;
  margin: 0 auto;
}

.privacy-doc .privacy-updated {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.privacy-doc h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 36px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.privacy-doc p,
.privacy-doc ul {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy-doc ul {
  padding-left: 0;
  list-style: none;
}

.privacy-doc ul li {
  margin-bottom: 8px;
  padding-left: 28px;
  position: relative;
}

.privacy-doc ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 15px;
}

.privacy-doc a {
  color: var(--secondary);
}

@media only screen and (max-width: 581px) {
  .footer-bottom .container {
    justify-content: center;
  }

}

/* Banner Call Dropdown */
.banner-call-dropdown {
  position: relative !important;
  display: inline-block !important;
  z-index: 100 !important;
}

.banner-call-dropdown .dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.banner-call-dropdown .dropdown-toggle i.fa-chevron-down {
  display: inline-block !important;
  transform: rotate(-90deg) !important;
  transition: transform 0.3s ease !important;
}

@media (min-width: 992px) {
  .banner-call-dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(0deg) !important;
  }
}

.banner-call-dropdown.open .dropdown-toggle i.fa-chevron-down {
  transform: rotate(0deg) !important;
}

@media (min-width: 992px) {
  .banner-call-dropdown:focus-within .dropdown-toggle i.fa-chevron-down {
    transform: rotate(0deg) !important;
  }
}

.banner-call-dropdown .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  bottom: auto !important;
  left: 0 !important;
  margin-top: 8px !important;
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid var(--border) !important;
  min-width: 220px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
  display: block !important;
}

@media (min-width: 992px) {
  .banner-call-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

@media (min-width: 992px) {
  .banner-call-dropdown .dropdown-toggle:focus+.dropdown-menu,
  .banner-call-dropdown:focus-within .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

.banner-call-dropdown .dropdown-menu.show,
.banner-call-dropdown.open .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.banner-call-dropdown .dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 20px !important;
  color: var(--dark) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  border-bottom: 1px solid #f0f0f0 !important;
  white-space: nowrap !important;
}

.banner-call-dropdown .dropdown-menu a:last-child {
  border-bottom: none !important;
}

.banner-call-dropdown .dropdown-menu a:hover {
  background: var(--light) !important;
  color: var(--primary) !important;
}

.banner-call-dropdown .dropdown-menu a i {
  color: var(--primary) !important;
  font-size: 14px !important;
}

@media only screen and (max-width: 480px) {
  .banner-call-dropdown {
    width: 100% !important;
    display: block !important;
  }

  .banner-call-dropdown .dropdown-menu a {
    justify-content: center;
  }

  .banner-call-dropdown .dropdown-toggle {
    width: 100% !important;
    justify-content: center !important;
  }

  .banner-call-dropdown .dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* WhatsApp Dropdown Styles */
.banner-whatsapp-dropdown .dropdown-menu a i {
  color: #25D366 !important;
}
.banner-whatsapp-dropdown .dropdown-menu a:hover {
  color: #25D366 !important;
}

/* Floating WhatsApp Dropup Styles */
.whatsapp-float-menu {
  position: absolute !important;
  bottom: 100% !important;
  right: 0 !important;
  margin-bottom: 15px !important;
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid var(--border) !important;
  min-width: 220px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
  display: block !important;
  z-index: 998 !important;
}

.whatsapp-float-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

@media (min-width: 992px) {
  .whatsapp-float-dropdown:hover .whatsapp-float-menu,
  .whatsapp-float-dropdown:focus-within .whatsapp-float-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

.whatsapp-float-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 20px !important;
  color: var(--dark) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  border-bottom: 1px solid #f0f0f0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.whatsapp-float-menu a:last-child {
  border-bottom: none !important;
}

.whatsapp-float-menu a:hover {
  background: var(--light) !important;
  color: #25D366 !important;
}

.whatsapp-float-menu a i {
  color: #25D366 !important;
  font-size: 16px !important;
}