/* ===================================
   FASEEH - SPEECH THERAPY CENTER
   Main Stylesheet - RTL Arabic
   Colors based on Logo:
   Primary: #1a6b8a (Deep Teal Blue)
   Secondary: #0ea5e9 (Sky Blue)
   Accent: #f59e0b (Golden Yellow)
   Success: #22c55e (Green)
=================================== */

:root {
  --primary: #1a6b8a;
  --primary-dark: #124e66;
  --primary-light: #2892b8;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --green: #22c55e;
  --green-dark: #16a34a;
  --text-dark: #0f2030;
  --text-medium: #334155;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f0f8fc;
  --bg-section: #f8fbfd;
  --border: #e2edf5;
  --shadow-sm: 0 2px 8px rgba(26,107,138,.08);
  --shadow-md: 0 8px 30px rgba(26,107,138,.12);
  --shadow-lg: 0 20px 60px rgba(26,107,138,.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Cairo', 'Tajawal', -apple-system, sans-serif;
  direction: rtl;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* CONTAINER */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   BUTTONS
=================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius-xl);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 14px 40px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 20px rgba(26,107,138,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,107,138,.45);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: white; }

/* ===================================
   TYPOGRAPHY
=================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26,107,138,.1), rgba(14,165,233,.1));
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(26,107,138,.2);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section { padding: 100px 0; }
.section-cta { text-align: center; margin-top: 50px; }

/* ===================================
   HEADER
=================================== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(26,107,138,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  gap: 20px;
}
.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-medium);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(26,107,138,.08);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 50%;
  transform: translateX(50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.arrow-down { font-size: 11px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  border: 1px solid var(--border);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dropdown-menu li a:hover {
  color: var(--primary);
  background: var(--bg-light);
}
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================
   HERO SECTION
=================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 75px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2f42 0%, #1a6b8a 40%, #0ea5e9 100%);
  z-index: -2;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero_bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle 6s ease-in-out infinite;
}
@keyframes float-particle {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  padding: 60px 20px;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: white;
  line-height: 1.25;
  margin-bottom: 24px;
}
.hero-title .text-gradient {
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-btns .btn-outline {
  color: white;
  border-color: rgba(255,255,255,.5);
}
.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: white;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: 32px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.stat-plus { font-size: 24px; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; margin-top: 4px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,.2); }

/* Hero Image */
.hero-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  animation: float-img 6s ease-in-out infinite;
}
@keyframes float-img {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.hero-img-badge, .hero-img-badge2 {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  min-width: 160px;
}
.hero-img-badge { bottom: 30px; right: -20px; }
.hero-img-badge2 { top: 30px; left: -20px; }
.hero-img-badge strong, .hero-img-badge2 strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
.hero-img-badge small, .hero-img-badge2 small {
  font-size: 12px;
  color: var(--text-light);
}
.badge-icon { font-size: 24px; }
.floating { animation: float-badge 4s ease-in-out infinite; }
.floating2 { animation: float-badge 4s ease-in-out infinite 2s; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ===================================
   FEATURES SECTION
=================================== */
.features { background: var(--bg-white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(26,107,138,.05), transparent);
  border-radius: 0 var(--radius-md) 0 100%;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,107,138,.15);
}
.feature-card:hover::before {
  width: 100px;
  height: 100px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================
   SERVICES SECTION
=================================== */
.services-section {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}
.services-bg-shape {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,.06) 0%, transparent 70%);
  border-radius: 50%;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.service-img-wrap {
  background: linear-gradient(135deg, var(--bg-light), #e0f2fe);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-card:hover .service-img-wrap {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.service-icon-big {
  font-size: 48px;
  transition: var(--transition);
}
.service-content {
  padding: 24px;
}
.service-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.service-card:hover .service-link { color: var(--secondary); }

/* Realistic Image Cards */
.image-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  height: 400px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-image-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-image-card:hover img {
  transform: scale(1.05);
}
.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,47,66,0.9) 0%, rgba(10,47,66,0.4) 40%, rgba(10,47,66,0.1) 100%);
}
.service-image-title {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 22px;
  font-weight: 800;
  padding: 0 20px;
  z-index: 2;
  transition: transform 0.3s ease;
}
.service-image-card:hover .service-image-title {
  transform: translateY(-5px);
  color: var(--accent);
}
/* ===================================
   ABOUT SECTION
=================================== */
.about-section { background: var(--bg-white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-exp-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(26,107,138,.35);
}
.exp-number {
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.exp-text { font-size: 13px; font-weight: 600; opacity: 0.9; }
.about-content-col .section-tag { margin-top: 4px; }
.about-content-col .section-title { text-align: right; }
.about-desc {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-features { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-medium);
}
.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* ===================================
   HOW IT WORKS
=================================== */
.how-section { background: var(--bg-section); }
.steps-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.step-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.step-number {
  position: absolute;
  top: -16px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(26,107,138,.3);
}
.step-icon { font-size: 40px; margin: 16px 0 12px; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.step-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.step-arrow {
  font-size: 28px;
  color: var(--border);
  align-self: center;
  margin-top: 20px;
}

/* ===================================
   TESTIMONIALS
=================================== */
.testimonials-section {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.testi-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,165,233,.04) 0%, transparent 70%);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 28px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: white;
}
.testi-quote {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 64px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(14,165,233,.15);
}
.testi-card.featured .testi-quote { color: rgba(255,255,255,.2); }
.testi-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 24px;
  position: relative;
}
.testi-card.featured .testi-text { color: rgba(255,255,255,.9); }
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
}
.testi-author strong {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
}
.testi-card.featured .testi-author strong { color: white; }
.testi-author small { font-size: 12px; color: var(--text-light); }
.testi-card.featured .testi-author small { color: rgba(255,255,255,.7); }
.testi-stars {
  margin-right: auto;
  font-size: 13px;
}

/* ===================================
   BLOG SECTION
=================================== */
.blog-section { background: var(--bg-section); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: block;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.blog-img-wrap { height: 180px; overflow: hidden; }
.blog-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  transition: var(--transition);
}
.blog-card:hover .blog-icon-placeholder { transform: scale(1.05); }
.blog-content { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(26,107,138,.15);
}
.blog-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.blog-read-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.blog-card:hover .blog-read-more { color: var(--secondary); }

/* ===================================
   CTA BAND
=================================== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.cta-text p { font-size: 16px; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===================================
   FOOTER
=================================== */
.footer { background: var(--text-dark); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-logo { height: 55px; width: auto; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--secondary); color: white; transform: translateY(-2px); }
.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--secondary); padding-right: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.footer-contact-list li svg { min-width: 16px; color: var(--secondary); }
.footer-contact-list a { color: rgba(255,255,255,.6); }
.footer-contact-list a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-inner p { font-size: 14px; color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--secondary); }

/* ===================================
   FLOATING ELEMENTS
=================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-wa 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 35px rgba(37,211,102,.5); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 25px rgba(37,211,102,.4); }
  50% { box-shadow: 0 8px 35px rgba(37,211,102,.6), 0 0 0 10px rgba(37,211,102,.1); }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ===================================
   SCROLL ANIMATIONS
=================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 50px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-img { max-width: 320px; margin: 0 auto; }
  .hero-img-badge { right: 0; bottom: -10px; }
  .hero-img-badge2 { left: 0; top: -10px; }
  .hero-badge, .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; }
  .about-img-col { order: -1; }
  .about-content-col .section-title { text-align: center; }
  .about-content-col .section-tag { display: block; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-container { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: fixed; top: 75px; right: 0; left: 0; bottom: 0; background: white; z-index: 999; padding: 20px; overflow-y: auto; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 8px; }
  .nav-link { font-size: 17px; padding: 14px 20px; }
  .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; border: none; background: var(--bg-light); margin-top: 8px; }
  .mobile-toggle { display: flex; }
  .header-book-btn { display: none; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-img-badge, .hero-img-badge2 { min-width: 130px; font-size: 13px; }
}

/* Dynamic CMS Hero Background */
.hero-bg::before {
    background-image: var(--cms-hero-bg, url('hero_bg.jpg')) !important;
}

/* CMS service images */
.cms-service-visual {
    width: 300px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: #f1f6f4;
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.cms-service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .cms-service-visual {
        width: 260px;
        margin: 0 auto;
    }
}


