/* ============================================
   Heart of Life Services W.L.L.
   Brand Colors from Logo:
   - Primary Red: #E52535
   - Secondary Blue: #0D47A1
   - Accent Light Blue: #42A5F5
   - Dark: #0f1b2d
============================================ */

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

:root {
  --red: #E52535;
  --blue: #0D47A1;
  --light-blue: #42A5F5;
  --dark: #0f1b2d;
  --dark-rgb: 15, 27, 45;
  --text: #333;
  --text-light: #666;
  --bg-light: #f7f9fc;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  max-width: 100%;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ---------- Utility ---------- */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .badge-label {
  display: inline-block;
  background: rgba(229, 37, 53, 0.1);
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 9px 26px;
  border-radius: 30px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-header h2 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.section-header p {
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.btn-primary-custom {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary-custom:hover {
  background: #c91e2e;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 37, 53, 0.3);
}

.btn-secondary-custom {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-secondary-custom:hover {
  background: #0a3a85;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 10px 0;
  transition: var(--transition);
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}
.navbar-brand img {
  height: 64px;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.navbar.scrolled .navbar-brand img {
  height: 64px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.navbar .nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  position: relative;
}
.navbar.scrolled .nav-link { color: var(--dark); }
.navbar.scrolled .navbar-toggler .fa-bars { color: var(--dark); }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--red) !important; }
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
  transform: translateX(-50%);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 60%; }

.navbar .btn-nav {
  background: var(--red);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: var(--transition);
}
.navbar .btn-nav:hover {
  background: #c91e2e;
  transform: translateY(-1px);
}

.navbar-toggler {
  border: none;
  padding: 8px;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .fa-bars,
.navbar-toggler .fa-times { color: var(--dark); }
.navbar-toggler[aria-expanded="true"] {
  background: rgba(229, 37, 53, 0.1);
}
.navbar-toggler[aria-expanded="true"] .fa-times {
  color: var(--red);
}
.navbar.scrolled .navbar-toggler .fa-bars,
.navbar.scrolled .navbar-toggler .fa-times { color: var(--dark); }

/* Inner page navbar - always dark */
.navbar-inner { background: var(--dark); }
.navbar-inner .nav-link { color: rgba(255,255,255,0.85); }
.navbar-inner .nav-link:hover,
.navbar-inner .nav-link.active { color: var(--red) !important; }
.navbar-inner .navbar-toggler .fa-bars,
.navbar-inner .navbar-toggler .fa-times { color: var(--white); }
.navbar-inner .navbar-toggler[aria-expanded="true"] {
  background: rgba(255,255,255,0.12);
}
.navbar-inner .navbar-toggler[aria-expanded="true"] .fa-times {
  color: var(--white);
}

/* ---- Services Dropdown ---- */
.navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 12px 0;
  min-width: 240px;
  animation: dropdownFade 0.25s ease;
  background: var(--white);
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navbar .dropdown-item {
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.navbar .dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--blue);
  font-size: 0.82rem;
  transition: var(--transition);
}
.navbar .dropdown-item:hover {
  background: rgba(229,37,53,0.06);
  color: var(--red);
  padding-left: 28px;
}
.navbar .dropdown-item:hover i { color: var(--red); }
.navbar .dropdown-item:active { background: rgba(229,37,53,0.12); }
.navbar .dropdown-divider { margin: 6px 16px; border-color: #eef1f6; }
.navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 2px;
  border-top-width: 5px;
  border-right-width: 4px;
  border-left-width: 4px;
}

/* Mobile nav */
@media (max-width: 991px) {
  .navbar { padding: 10px 0; }
  .navbar > .container {
    align-items: center;
  }
  .navbar-brand img { height: 44px; }
  .navbar.scrolled .navbar-brand img { height: 38px; }
  .navbar .navbar-collapse {
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-top: 10px;
    box-shadow: var(--shadow);
    max-height: 80vh;
    overflow-y: auto;
    width: 100%;
  }
  .navbar .navbar-nav {
    width: 100%;
    margin: 0 !important;
  }
  .navbar .nav-link {
    color: var(--dark) !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.92rem;
  }
  .navbar .nav-link::after { display: none; }
  .navbar-inner .nav-link { color: var(--dark) !important; }
  .navbar .nav-link:hover { color: var(--red) !important; }
  .navbar .btn-nav {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 12px 24px;
  }
  .navbar .dropdown-menu {
    box-shadow: none;
    border: 1px solid #eef1f6;
    margin-top: 0;
    padding: 6px 0;
    border-radius: 8px;
  }
  .navbar .dropdown-item { padding: 8px 20px; font-size: 0.85rem; }
  .swiper-button-prev,
  .swiper-button-next { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15,27,45,0.88) 0%, rgba(13,71,161,0.72) 100%),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(229, 37, 53, 0.06);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(66, 165, 245, 0.05);
  z-index: 0;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  animation: particle-float 8s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { top: 60%; left: 25%; animation-delay: 1.5s; animation-duration: 9s; width: 4px; height: 4px; }
.hero-particles span:nth-child(3) { top: 30%; right: 20%; animation-delay: 3s; animation-duration: 6s; width: 8px; height: 8px; }
.hero-particles span:nth-child(4) { bottom: 30%; left: 40%; animation-delay: 2s; animation-duration: 10s; }
.hero-particles span:nth-child(5) { top: 50%; right: 35%; animation-delay: 4s; animation-duration: 8s; width: 5px; height: 5px; }
.hero-particles span:nth-child(6) { bottom: 15%; right: 10%; animation-delay: 1s; animation-duration: 7s; width: 3px; height: 3px; }
@keyframes particle-float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(10px); opacity: 0.8; }
  50% { transform: translateY(-15px) translateX(-15px); opacity: 0.4; }
  75% { transform: translateY(-40px) translateX(5px); opacity: 0.7; }
}

.hero .container { position: relative; z-index: 1; }

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229,37,53,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229,37,53,0.25);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}
.hero-badge-top i { color: var(--red); font-size: 0.9rem; }

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero h1 span {
  color: var(--red);
  position: relative;
}
.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  opacity: 0.3;
  border-radius: 2px;
}

.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 34px;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 12px;
  margin-top: 48px;
}
.hero-stat-inner {
  text-align: center;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px 24px;
  transition: var(--transition);
}
.hero-stat-inner:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(229,37,53,0.3);
  transform: translateY(-3px);
}
.hero-stat h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero visual — image card */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-img-card {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.1);
}
.hero-img-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,27,45,0.4) 100%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Floating badges on hero */
.hero-badge {
  position: absolute;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}
.hero-badge i { font-size: 1.3rem; }
.hero-badge span { font-weight: 600; font-size: 0.85rem; color: var(--dark); }
.hero-badge.badge-1 { top: 10%; right: 5%; animation-delay: 0s; }
.hero-badge.badge-2 { bottom: 25%; right: 0; animation-delay: 1s; }
.hero-badge.badge-3 { bottom: 10%; left: 10%; animation-delay: 2s; }

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

/* ---------- Services Section ---------- */
.services-section { background: var(--bg-light); }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  height: 100%;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(229, 37, 53, 0.15);
}
.service-card .card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.service-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .card-img-wrap img { transform: scale(1.08); }
.service-card .card-body { padding: 20px 22px 24px; }

/* Keep icon-wrap for Why Choose Us and other sections */
.icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.icon-red { background: rgba(229,37,53,0.1); color: var(--red); }
.icon-blue { background: rgba(13,71,161,0.1); color: var(--blue); }
.icon-lightblue { background: rgba(66,165,245,0.1); color: var(--light-blue); }

.service-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.service-card .card-link {
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card .card-link:hover { gap: 8px; }

/* Swiper customization */
.services-swiper { padding-bottom: 50px !important; }
.services-swiper .swiper-pagination-bullet { background: var(--red); }
.services-swiper .swiper-pagination-bullet-active { background: var(--red); width: 24px; border-radius: 10px; }

/* Swiper navigation arrows — shared */
.swiper-button-prev,
.swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 3px 14px rgba(0,0,0,0.1);
  transition: var(--transition);
  top: 45%;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--red);
  box-shadow: 0 5px 20px rgba(229,37,53,0.3);
  transform: scale(1.08);
}
.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: var(--white);
}
.swiper-button-prev { left: -6px; }
.swiper-button-next { right: -6px; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--white); }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid #eef1f6;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(229,37,53,0.08);
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: rgba(229,37,53,0.2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars i {
  color: #f5a623;
  font-size: 0.85rem;
}

.testimonial-text {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author h6 {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 1px;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.testimonials-swiper { padding-bottom: 50px !important; }
.testimonials-swiper .swiper-pagination-bullet { background: var(--blue); }
.testimonials-swiper .swiper-pagination-bullet-active { background: var(--red); width: 24px; border-radius: 10px; }

/* ---------- About Section ---------- */
.about-section .about-content .badge-label {
  display: inline-block;
  background: rgba(229, 37, 53, 0.1);
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 9px 26px;
  border-radius: 30px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.about-section .about-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.about-section .about-content h2 span { color: var(--red); }
.about-section .about-content p {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-bottom: 14px;
  line-height: 1.75;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-placeholder {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-accent {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  background: var(--red);
  z-index: -1;
}

.about-features {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-feature i {
  color: var(--red);
  font-size: 1.2rem;
  margin-top: 3px;
}
.about-feature div h6 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.about-feature div p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Why Choose Us ---------- */
.why-section {
  background: linear-gradient(135deg, #fff5f6 0%, #eaf3ff 50%, #f0f8ff 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,37,53,0.12) 0%, transparent 70%);
  z-index: 0;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66,165,245,0.15) 0%, transparent 70%);
  z-index: 0;
}
.why-section .container { position: relative; z-index: 1; }

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: var(--transition);
}
.why-card:hover::before { height: 100%; }
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.why-card i {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 16px;
  display: block;
}
.why-card h5 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ---------- Stats ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
  padding: 50px 0;
}
.stat-item { text-align: center; padding: 20px; }
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}
.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- CTA Banner ---------- */
.cta-section {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
}
.cta-section .btn-outline-custom:hover {
  color: var(--red);
}

/* ---------- Consultation Form ---------- */
.form-section { background: var(--bg-light); }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3,
.form-card .form-headline {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.form-card > p,
.form-card .form-subheadline {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 1.05rem;
  font-weight: 500;
}

.form-card .form-control,
.form-card .form-select {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.93rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
}
.form-card .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.form-info-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.form-info-item h5 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.form-info-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
}
.footer-logo img {
  height: 90px;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 10px rgba(255,255,255,0.08)) brightness(1.05);
}
.footer p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.footer h5 {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--red); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.footer-contact i {
  color: var(--red);
  margin-top: 4px;
  min-width: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* ---------- Inner Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, rgba(15,27,45,0.88) 0%, rgba(13,71,161,0.82) 100%),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(229,37,53,0.06);
}
.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}
.page-hero .breadcrumb {
  justify-content: center;
  margin-top: 16px;
}
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb-item.active { color: var(--white); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---------- About Page ---------- */
.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.mission-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--red);
}
.mission-card i {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}
.mission-card h4 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 12px;
}
.mission-card p {
  color: var(--text-light);
  font-size: 0.92rem;
}
.mission-card ul {
  list-style: none;
  padding: 0;
}
.mission-card ul li {
  padding: 4px 0;
  color: var(--text-light);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.mission-card ul li i {
  color: var(--red);
  font-size: 0.7rem;
  margin-top: 6px;
  min-width: 12px;
}

/* ---------- Services Page ---------- */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: var(--transition);
}
.service-detail-card:hover { box-shadow: var(--shadow-hover); }

.service-detail-header {
  padding: 28px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.service-detail-header:hover { background: var(--bg-light); }
.service-detail-header .service-thumb {
  min-width: 80px;
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
}
.service-detail-header .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-header .icon-wrap {
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.service-detail-header .header-text { flex: 1; }
.service-detail-header h4 {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.service-detail-header p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}
.service-detail-header .toggle-icon {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: var(--transition);
  margin-top: 8px;
}
.service-detail-header[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.service-detail-body {
  padding: 0 30px 30px;
  border-top: 1px solid #f0f0f0;
}
.service-detail-body .description {
  color: var(--text-light);
  font-size: 0.93rem;
  padding-top: 20px;
  margin-bottom: 20px;
}
.service-detail-body h6 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 10px;
  margin-top: 16px;
}
.service-detail-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.service-detail-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 4px 0;
}
.service-detail-body ul li i {
  color: var(--red);
  font-size: 0.65rem;
  margin-top: 6px;
  min-width: 10px;
}
.service-detail-body .perfect-for ul {
  grid-template-columns: 1fr;
}
.service-detail-body .perfect-for ul li i { color: var(--blue); }

/* ---------- Contact Page ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}
.contact-card h5 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--text-light);
}
.contact-card a:hover { color: var(--red); }

/* ---------- Responsive ---------- */

/* ---- Tablet & Small Desktop (≤991px) ---- */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-visual { display: none; }
  .hero p { max-width: 100%; }
  .hero-stats { flex-wrap: wrap; }
  .section-header h2 { font-size: 1.8rem; }
  .service-detail-body ul { grid-template-columns: 1fr; }
  .service-detail-header { padding: 20px; gap: 14px; }
  .service-detail-header .service-thumb { min-width: 60px; width: 60px; height: 60px; }
  .service-detail-header h4 { font-size: 1.05rem; }
  .service-detail-body { padding: 0 20px 24px; }
  .cta-section { padding: 48px 0; }
  .contact-card { padding: 24px 20px; }
}

/* ---- Tablet Portrait (≤767px) ---- */
@media (max-width: 991px) {
  /* Hero */
  .hero { min-height: auto; padding: 110px 0 50px; }
  .hero h1 { font-size: 1.9rem; margin-bottom: 16px; }
  .hero-badge-top { font-size: 0.72rem; padding: 6px 14px; margin-bottom: 14px; }
  .hero p { font-size: 0.95rem; margin-bottom: 24px; line-height: 1.7; }
  .hero-btns { gap: 12px; }
  .hero-btns a { padding: 12px 24px; font-size: 0.88rem; }
  .hero-stats { gap: 8px; margin-top: 32px; }
  .hero-stat-inner { padding: 14px 16px; }
  .hero-stat h3 { font-size: 1.4rem; }
  .hero-stat p { font-size: 0.68rem; }

  /* Sections */
  .section-padding { padding: 50px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.88rem; }

  /* About */
  .about-img-placeholder { height: 280px; }
  .about-section .about-content h2 { font-size: 1.5rem; }
  .about-features { flex-direction: column; gap: 16px; }

  /* Why Choose Us */
  .why-card { padding: 24px 20px; }
  .why-card i { font-size: 1.6rem; margin-bottom: 12px; }
  .why-card h5 { font-size: 0.95rem; }

  /* Stats */
  .stats-section { padding: 36px 0; }
  .stat-item { padding: 14px 10px; }
  .stat-item h3 { font-size: 2rem; }
  .stat-item p { font-size: 0.8rem; }

  /* CTA */
  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: 1.4rem; }
  .cta-section p { font-size: 0.9rem; margin-bottom: 20px; }

  /* Form */
  .form-card { padding: 24px 18px; }
  .form-card h3 { font-size: 1.3rem; }
  .form-card .form-control,
  .form-card .form-select { padding: 10px 14px; font-size: 0.9rem; }

  /* Page Hero (inner pages) */
  .page-hero { padding: 120px 0 45px; }
  .page-hero h1 { font-size: 1.7rem; }
  .page-hero p { font-size: 0.9rem; }

  /* Services Page */
  .service-detail-header { padding: 18px 16px; gap: 12px; }
  .service-detail-header .service-thumb { min-width: 56px; width: 56px; height: 56px; border-radius: 8px; }
  .service-detail-header h4 { font-size: 1rem; }
  .service-detail-header p { font-size: 0.82rem; }
  .service-detail-body { padding: 0 16px 20px; }

  /* Mission cards */
  .mission-card { padding: 24px 20px; }
  .mission-card h4 { font-size: 1.05rem; }

  /* Testimonials */
  .testimonial-card { padding: 26px 22px; }

  /* Footer */
  .footer { text-align: center; padding: 40px 0 0; }
  .footer-social { justify-content: center; }
  .footer-contact { display: inline-block; text-align: left; }
  .footer-logo img { height: 50px; }
  .footer-bottom { margin-top: 28px; padding: 16px 0; }

  /* Floating buttons */
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; right: 16px; }
  .back-to-top { width: 38px; height: 38px; bottom: 78px; right: 18px; font-size: 0.85rem; }

  /* Contact cards */
  .contact-card { padding: 22px 16px; }
  .contact-card .icon { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* ---- Mobile (≤575px) ---- */
@media (max-width: 575px) {
  /* Hero */
  .hero { padding: 100px 0 40px; }
  .hero h1 { font-size: 1.6rem; line-height: 1.2; }
  .hero-badge-top { font-size: 0.68rem; padding: 5px 12px; }
  .hero p { font-size: 0.88rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; justify-content: center; width: 100%; padding: 13px 20px; }
  .hero-stats { flex-direction: row; gap: 8px; }
  .hero-stat { flex: 1; }
  .hero-stat-inner { padding: 12px 8px; border-radius: 10px; }
  .hero-stat h3 { font-size: 1.2rem; }
  .hero-stat p { font-size: 0.62rem; letter-spacing: 0; }

  /* Section */
  .section-padding { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.35rem; }
  .section-header .badge-label { font-size: 0.7rem; padding: 5px 14px; }

  /* Stats */
  .stat-item h3 { font-size: 1.6rem; }
  .stat-item p { font-size: 0.72rem; }

  /* CTA */
  .cta-section h2 { font-size: 1.25rem; }
  .cta-section p { font-size: 0.85rem; }
  .cta-section .btn-outline-custom { width: 100%; justify-content: center; padding: 12px 20px; font-size: 0.88rem; }

  /* Testimonials */
  .testimonial-card { padding: 22px 18px; }
  .testimonial-text { font-size: 0.85rem; line-height: 1.7; }
  .testimonial-avatar { width: 38px; height: 38px; font-size: 0.88rem; }
  .testimonial-author h6 { font-size: 0.85rem; }

  /* About page */
  .about-content h2 { font-size: 1.3rem !important; }
  .about-img-placeholder { height: 240px; }
  .badge-label { font-size: 0.72rem; }

  /* Why cards */
  .why-card { padding: 20px 18px; }
  .why-card h5 { font-size: 0.9rem; }
  .why-card p { font-size: 0.82rem; }

  /* Form */
  .form-card { padding: 20px 16px; }
  .form-card h3 { font-size: 1.2rem; }
  .form-card > p { font-size: 0.85rem; }
  .form-info-item .icon { width: 44px; height: 44px; min-width: 44px; font-size: 1rem; }
  .form-info-item h5 { font-size: 0.92rem; }
  .form-info-item p { font-size: 0.82rem; }

  /* Services page */
  .service-detail-header { flex-wrap: wrap; padding: 16px 14px; }
  .service-detail-header .service-thumb { min-width: 50px; width: 50px; height: 50px; }
  .service-detail-header h4 { font-size: 0.95rem; }
  .service-detail-body { padding: 0 14px 18px; }
  .service-detail-body .description { font-size: 0.85rem; }
  .service-detail-body ul li { font-size: 0.82rem; }

  /* Page hero */
  .page-hero { padding: 105px 0 35px; }
  .page-hero h1 { font-size: 1.5rem; }

  /* Footer */
  .footer p { font-size: 0.82rem; }
  .footer h5 { font-size: 0.95rem; margin-bottom: 14px; }
  .footer-links a { font-size: 0.82rem; }
  .footer-contact li { font-size: 0.82rem; }
  .footer-bottom p { font-size: 0.78rem; }

  /* Contact */
  .contact-card h5 { font-size: 0.9rem; }
  .contact-card p, .contact-card a { font-size: 0.82rem; }
}

/* ---- Extra Small (≤400px) ---- */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 0.82rem; }
  .hero-badge-top { font-size: 0.63rem; }
  .hero-stat h3 { font-size: 1.05rem; }
  .hero-stat p { font-size: 0.58rem; }
  .navbar-brand img { height: 40px; }
  .section-header h2 { font-size: 1.2rem; }
  .btn-primary-custom,
  .btn-secondary-custom { padding: 11px 22px; font-size: 0.85rem; }
  .btn-outline-custom { padding: 10px 20px; font-size: 0.85rem; }
}

/* ---- Mobile touch & UX improvements ---- */
@media (max-width: 991px) {
  /* Disable hover effects on touch — prevent sticky hover states */
  .service-card:hover,
  .why-card:hover,
  .testimonial-card:hover,
  .contact-card:hover,
  .mission-card:hover { transform: none; }

  /* Better tap targets */
  .footer-links li { margin-bottom: 12px; }
  .footer-links a { padding: 4px 0; display: inline-block; }
  .footer-contact li { margin-bottom: 16px; }

  /* Prevent horizontal scroll from animations */
  section { overflow-x: hidden; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-particles span,
  .hero-badge,
  .whatsapp-float { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- AOS overrides ---------- */
[data-aos] { transition-duration: 0.6s !important; }

@media (max-width: 991px) {
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 24px, 0);
  }

  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: none;
  }
}

/* ---------- Form success ---------- */
.form-success {
  text-align: center;
  padding: 40px;
}
.form-success i {
  font-size: 3rem;
  color: #25D366;
  margin-bottom: 16px;
}
.form-success h4 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-success p { color: var(--text-light); }

/* ---------- Loading placeholder ---------- */
.img-placeholder {
  background: linear-gradient(135deg, #e8f0fe 0%, #fde8ea 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.img-placeholder i {
  font-size: 3rem;
  color: rgba(13,71,161,0.12);
}

/* ============================================
   BOOKING POPUP MODAL
============================================ */
.booking-modal {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}
.booking-modal .row { min-height: 560px; }

/* Close button */
.btn-close-modal {
  position: absolute;
  top: 14px;
  right: auto;
  inset-inline-end: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.06);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-close-modal:hover {
  background: var(--red);
  color: #fff;
  transform: rotate(90deg);
}

/* Left: Image side */
.modal-img-side {
  position: relative;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
}
.modal-img-side > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.modal-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,71,161,0.75) 0%, rgba(15,27,45,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px 28px;
}
.modal-img-content { color: #fff; }
.modal-logo {
  height: 50px;
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.modal-img-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal-img-content p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 18px;
}
.modal-trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-trust-badges span {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
}
.modal-trust-badges span i { font-size: 0.7rem; }

/* Right: Form side */
.modal-form-side {
  padding: 32px 30px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.modal-header-custom {
  margin-bottom: 20px;
}
.modal-header-custom .badge-label {
  margin-bottom: 8px;
}
.modal-header-custom h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.modal-header-custom p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}
.modal-form-side .form-label {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.modal-form-side .form-control,
.modal-form-side .form-select {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.modal-form-side .form-control:focus,
.modal-form-side .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
}
.modal-footer-custom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}
.modal-footer-custom span {
  font-size: 0.82rem;
  color: var(--text-light);
}
.modal-footer-custom a {
  color: #25D366;
  font-weight: 600;
}
.modal-footer-custom a:hover { text-decoration: underline; }

/* Modal form success state */
.modal-form-success {
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.modal-form-success i {
  font-size: 3.5rem;
  color: #25D366;
  margin-bottom: 18px;
}
.modal-form-success h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 1.3rem;
}
.modal-form-success p {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 300px;
}

/* Modal responsive */
@media (max-width: 991px) {
  .booking-modal .row { min-height: auto; }
  .modal-form-side { padding: 28px 22px 20px; }
  .modal-header-custom h3 { font-size: 1.2rem; }
}
@media (max-width: 575px) {
  .modal-dialog { margin: 10px; }
  .modal-form-side { padding: 24px 18px 18px; }
  .modal-form-side .form-control,
  .modal-form-side .form-select { padding: 9px 12px; font-size: 0.85rem; }
  .modal-header-custom h3 { font-size: 1.1rem; }
  .btn-close-modal { top: 10px; right: auto; inset-inline-end: 10px; width: 32px; height: 32px; }
}

/* ============================================
   DESKTOP POLISH
============================================ */
/* Desktop: larger sections, more breathing room */
@media (min-width: 1200px) {
  .section-padding { padding: 90px 0; }
  .section-header { margin-bottom: 60px; }
  .section-header h2 { font-size: 3.6rem; }
  .section-header .badge-label { font-size: 1.2rem; padding: 10px 28px; }
  .about-section .about-content h2 { font-size: 3.4rem; }
  .about-section .about-content .badge-label { font-size: 1.2rem; padding: 10px 28px; }
  .form-card h3,
  .form-card .form-headline { font-size: 3rem; }
  .hero-content h1 { font-size: 5rem; }
  .hero-content p { font-size: 1.3rem; }
  .service-card .card-img-wrap { height: 200px; }
  .why-card { padding: 34px 28px; }
  .stats-section { padding: 56px 0; }
  .stat-item h3 { font-size: 2.8rem; }
  .cta-section { padding: 70px 0; }
  .cta-section h2 { font-size: 2.2rem; }
  .form-card { padding: 44px; }
  .testimonial-card { padding: 34px 30px; }
  .footer { padding: 70px 0 0; }
  .page-hero { padding: 160px 0 70px; }
  .page-hero h1 { font-size: 2.8rem; }
}

/* Ultra-wide monitors */
@media (min-width: 1600px) {
  .hero-slider .hero-content h1 { font-size: 5.2rem; }
  .section-header h2 { font-size: 3.8rem; }
  .service-card .card-img-wrap { height: 220px; }
}

/* ============================================
   HERO SLIDER (2-slide banner)
============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-slider .hero-swiper {
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 880px;
}
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 27, 45, 0.78) 0%,
    rgba(13, 71, 161, 0.55) 55%,
    rgba(15, 27, 45, 0.25) 100%
  );
  z-index: 1;
}
.hero-slide .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 720px;
  color: #fff;
  padding: 100px 0 40px;
}
.hero-content h1 {
  font-size: 4.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-content h1 span {
  color: var(--red);
  position: relative;
  display: inline-block;
}
.hero-content h1 span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: var(--red);
  opacity: 0.35;
  border-radius: 3px;
}
.hero-content p {
  font-size: 1.2rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.hero-content .btn-primary-custom {
  padding: 16px 38px;
  font-size: 1rem;
  box-shadow: 0 8px 28px rgba(229, 37, 53, 0.45);
}

/* Hero slider navigation */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
}
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--red);
  border-color: var(--red);
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.hero-swiper .swiper-pagination {
  bottom: 30px !important;
}
.hero-swiper .swiper-pagination-bullet {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.45);
  opacity: 1;
  transition: var(--transition);
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--red);
  width: 60px;
}

/* Hero slider responsive */
@media (max-width: 1199px) {
  .hero-content h1 { font-size: 3.8rem; }
}
@media (max-width: 991px) {
  .hero-slider .hero-swiper { height: 88vh; min-height: 560px; }
  .hero-content { padding: 90px 0 60px; max-width: 100%; }
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { font-size: 1.05rem; }
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next { display: none; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(15,27,45,0.55) 0%, rgba(15,27,45,0.85) 100%);
  }
}
@media (max-width: 767px) {
  .hero-slider .hero-swiper { height: 92vh; min-height: 520px; }
  .hero-content h1 { font-size: 2.3rem; line-height: 1.1; margin-bottom: 16px; }
  .hero-content p { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-content .btn-primary-custom { padding: 13px 28px; font-size: 0.92rem; }
  .hero-swiper .swiper-pagination-bullet { width: 28px; }
  .hero-swiper .swiper-pagination-bullet-active { width: 44px; }
}
@media (max-width: 575px) {
  .hero-slider .hero-swiper { height: 88vh; min-height: 480px; max-height: 720px; }
  .hero-content { padding: 80px 0 50px; }
  .hero-content h1 { font-size: 1.95rem; }
  .hero-content p { font-size: 0.92rem; }
}

/* ============================================
   FOLLOW US (social block in form sidebar)
============================================ */
.follow-us {
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.follow-us h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.follow-us-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  color: #fff;
}
.social-btn.social-fb { background: #1877f2; }
.social-btn.social-ig {
  background: radial-gradient(circle at 30% 110%,
    #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-btn.social-tt { background: #000; }
.social-btn.social-wa { background: #25d366; }
.social-btn.social-yt { background: #ff0000; }
.social-btn.social-x { background: #000; }

/* Newborn care hero slide — focus on caregiver (girl holding baby) on mobile */
@media (max-width: 991px) {
  .hero-slide-newborn { background-position: 20% 70%; }
}

/* Footer social follow — upgrade existing */
.footer-social a {
  width: 40px;
  height: 40px;
}

/* ============================================
   LOGO ON LIGHT PAGES (page-hero / inner pages)
============================================ */
/* Logo already transparent; ensure shadow for dark backgrounds, none when scrolled */
.navbar:not(.scrolled) .navbar-brand img {
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

/* Make navbar brand larger on big screens */
@media (min-width: 1200px) {
  .navbar-brand img { height: 86px; }
  .navbar.scrolled .navbar-brand img { height: 68px; }
}
@media (max-width: 991px) {
  .navbar-brand img { height: 62px; }
  .navbar.scrolled .navbar-brand img { height: 52px; }
}
@media (max-width: 575px) {
  .navbar-brand img { height: 54px; }
  .navbar.scrolled .navbar-brand img { height: 46px; }
}

/* ============================================
   MOBILE POLISH for new headings
============================================ */
@media (max-width: 767px) {
  .section-header h2 { font-size: 2rem; }
  .section-header .badge-label { font-size: 0.95rem; padding: 7px 18px; }
  .about-section .about-content h2 { font-size: 2rem; }
  .about-section .about-content .badge-label { font-size: 0.95rem; padding: 7px 18px; }
  .form-card h3,
  .form-card .form-headline { font-size: 1.9rem; }
  .form-card .form-subheadline { font-size: 0.98rem; }
  .follow-us h5 { font-size: 0.95rem; }
  .social-btn { width: 40px; height: 40px; font-size: 0.95rem; }
}
@media (max-width: 575px) {
  .section-header h2 { font-size: 1.7rem; }
  .section-header .badge-label { font-size: 0.85rem; padding: 6px 14px; letter-spacing: 1.5px; }
  .about-section .about-content h2 { font-size: 1.7rem; }
  .form-card h3,
  .form-card .form-headline { font-size: 1.6rem; }
}

/* Service slider — taller image area on mobile for better visibility */
@media (max-width: 767px) {
  .service-card .card-img-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .service-card .card-img-wrap img {
    object-fit: cover;
    object-position: center center;
  }
}

/* Desktop overrides (last to override earlier hero-content defaults) */
@media (min-width: 1200px) {
  .hero-content h1 { font-size: 5rem; }
  .hero-content p { font-size: 1.3rem; }
}
@media (min-width: 1600px) {
  .hero-content h1 { font-size: 5.5rem; }
}

/* ============================================
   LANGUAGE TOGGLE BUTTON
============================================ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--red, #e74c5b);
  color: var(--red, #e74c5b);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1;
}
.lang-toggle:hover,
.lang-toggle:focus {
  background: var(--red, #e74c5b);
  color: #fff;
  text-decoration: none;
}
.lang-toggle i {
  font-size: 0.9rem;
}
@media (max-width: 991px) {
  .lang-toggle {
    margin: 8px 0;
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   RTL / ARABIC SUPPORT
============================================ */
html[dir="rtl"] body,
body.lang-ar {
  font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  text-align: right;
}
html[dir="rtl"] .navbar-nav { padding-right: 0; padding-left: 0; }
html[dir="rtl"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; }
@media (min-width: 992px) {
  html[dir="rtl"] .ms-lg-3 { margin-right: 1rem !important; margin-left: 0 !important; }
  html[dir="rtl"] .ms-lg-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
}
@media (max-width: 991px) {
  html[dir="rtl"] .navbar .navbar-collapse,
  html[dir="rtl"] .navbar .nav-link,
  html[dir="rtl"] .navbar .dropdown-menu {
    text-align: right;
  }
  html[dir="rtl"] .navbar .navbar-nav,
  html[dir="rtl"] .navbar .ms-auto,
  html[dir="rtl"] .navbar .ms-lg-3,
  html[dir="rtl"] .navbar .ms-lg-2 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
html[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .mt-3, html[dir="rtl"] .mt-4 { /* unchanged */ }
html[dir="rtl"] .text-start { text-align: right !important; }
html[dir="rtl"] .text-end { text-align: left !important; }

html[dir="rtl"] .navbar .dropdown-menu {
  left: auto;
  right: 0;
}
html[dir="rtl"] .navbar .dropdown-toggle::after {
  margin-left: 0;
  margin-right: 6px;
}
html[dir="rtl"] .navbar .dropdown-item {
  text-align: right;
}
html[dir="rtl"] .navbar .dropdown-item:hover {
  padding-left: 22px;
  padding-right: 28px;
}

html[dir="rtl"] .breadcrumb {
  flex-direction: row-reverse;
}
html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-left: 0.5rem;
  padding-right: 0;
}

html[dir="rtl"] .swiper-button-next,
html[dir="rtl"] .swiper-button-prev {
  transform: scaleX(-1);
}

html[dir="rtl"] .form-info-item,
html[dir="rtl"] .about-feature {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .footer-social,
html[dir="rtl"] .follow-us-links {
  justify-content: flex-end;
}

html[dir="rtl"] .footer-contact i,
html[dir="rtl"] .footer-contact .fa,
html[dir="rtl"] .footer-contact .fas,
html[dir="rtl"] .footer-contact .fab {
  margin-left: 8px;
  margin-right: 0;
}
html[dir="rtl"] .footer-contact li,
html[dir="rtl"] .footer-links li {
  text-align: right;
}

html[dir="rtl"] .why-card,
html[dir="rtl"] .mission-card,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .form-card,
html[dir="rtl"] .contact-card {
  text-align: right;
}

html[dir="rtl"] .testimonial-author {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .service-detail-header {
  flex-direction: row-reverse;
}
html[dir="rtl"] .service-detail-header .toggle-icon {
  margin-right: auto;
  margin-left: 0;
}
html[dir="rtl"] .service-detail-body ul li,
html[dir="rtl"] .perfect-for ul li {
  text-align: right;
}
html[dir="rtl"] .service-detail-body ul li i,
html[dir="rtl"] .perfect-for ul li i {
  margin-left: 8px;
  margin-right: 0;
}

html[dir="rtl"] .btn-primary-custom i,
html[dir="rtl"] .btn-outline-custom i,
html[dir="rtl"] .btn-nav i,
html[dir="rtl"] .card-link i {
  margin-left: 0;
  margin-right: 0;
}

html[dir="rtl"] .card-link i.fa-arrow-right {
  transform: scaleX(-1);
}

html[dir="rtl"] .modal-form-side .modal-header-custom,
html[dir="rtl"] .form-info,
html[dir="rtl"] .modal-img-content {
  text-align: right;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}
html[dir="rtl"] .back-to-top {
  right: auto;
  left: 24px;
}

/* Arabic web font is loaded via <link> tag in each HTML page (Tajawal). */
