/* ===================================================
   AESON ADVANCED HEALTHCARE — Global Styles
   =================================================== */

:root {
  --brand: #093C5D;
  --brand-light: #0e5484;
  --brand-lighter: #1a6fa8;
  --brand-pale: #d0e8f7;
  --brand-ghost: #f0f7fd;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: #374151;
  background: #ffffff;
  overflow-x: hidden;
}

/* ===================================================
   LOADER
   =================================================== */
#loader {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 0.5s ease;
}
.loader-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.loader-bar {
  width: 120px;
  height: 3px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 99px;
  animation: loadBar 1.2s ease forwards;
}

@keyframes loadBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ===================================================
   NAVBAR
   =================================================== */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(9,60,93,0.08), 0 4px 24px rgba(9,60,93,0.06);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--brand);
  background: rgba(9,60,93,0.06);
}

/* Dropdown */
.relative.group:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: white;
  border: 1px solid rgba(9,60,93,0.1);
  border-radius: 16px;
  padding: 8px;
  min-width: 280px;
  box-shadow: 0 20px 60px rgba(9,60,93,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
  color: inherit;
}
.dropdown-item:hover { background: var(--brand-ghost); }
.dropdown-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-ghost);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.dropdown-icon svg { width: 16px; height: 16px; }

/* Mobile Menu Button */
.menu-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-line.short { width: 14px; }

#menuBtn.open .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menuBtn.open .menu-line:nth-child(2) { opacity: 0; }
#menuBtn.open .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 22px; }

/* Mobile Menu */
.mobile-menu {
  background: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  border-bottom: 1px solid rgba(9,60,93,0.08);
}
.mobile-menu.open { max-height: 600px; }
.mobile-nav-link {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: #374151;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-nav-link:hover { color: var(--brand); background: var(--brand-ghost); }

/* ===================================================
   BUTTONS
   =================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid var(--brand);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(9,60,93,0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--brand);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid rgba(9,60,93,0.25);
}
.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand-ghost);
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: var(--brand);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid white;
}
.btn-white:hover {
  background: var(--brand-ghost);
  border-color: var(--brand-ghost);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* ===================================================
   TYPOGRAPHY UTILITIES
   =================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-lighter);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-lighter);
  border-radius: 2px;
}
.section-label.white { color: rgba(255,255,255,0.6); }
.section-label.white::before { background: rgba(255,255,255,0.6); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; font-weight: 300; }

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

/* Font weights */
.font-300 { font-weight: 300; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section { background: #f8fbfe; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(9,60,93,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 10% 20%, rgba(9,60,93,0.04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(9,60,93,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9,60,93,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.shape-1 {
  width: 400px; height: 400px;
  background: rgba(9,60,93,0.07);
  top: 10%; right: 5%;
  animation: floatSlow 10s ease-in-out infinite;
}
.shape-2 {
  width: 250px; height: 250px;
  background: rgba(9,60,93,0.05);
  bottom: 15%; left: 5%;
  animation: floatSlow 14s ease-in-out infinite reverse;
}
.shape-3 {
  width: 180px; height: 180px;
  background: rgba(26,111,168,0.08);
  top: 40%; left: 30%;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero-card-main {
  width: 100%;
  height: 540px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(9,60,93,0.2);
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,60,93,0.3) 0%, transparent 60%);
}
.floating-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(9,60,93,0.15);
  z-index: 10;
  min-width: 180px;
}
.card-tl { top: -16px; left: -16px; }
.card-br { bottom: 24px; right: -16px; }

.stat-item {}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(9,60,93,0.15);
}

/* ===================================================
   TRUST BAR
   =================================================== */
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about-img-grid {
  position: relative;
  height: 480px;
}
.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 85%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(9,60,93,0.18);
}
.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 55%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(9,60,93,0.15);
  border: 6px solid white;
}
.about-badge {
  position: absolute;
  bottom: 60px;
  left: -16px;
  background: white;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 20px 40px rgba(9,60,93,0.15);
  text-align: center;
  z-index: 10;
}

.mv-card {
  background: var(--brand-ghost);
  border: 1px solid rgba(9,60,93,0.08);
  border-radius: 16px;
  padding: 20px;
}

.team-card {
  background: white;
  border: 1px solid rgba(9,60,93,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation-delay: var(--delay, 0s);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(9,60,93,0.12);
  border-color: rgba(9,60,93,0.15);
}
.team-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.team-img img { transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-ghost);
  border: 1px solid rgba(9,60,93,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: all 0.2s;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.social-icon svg { width: 14px; height: 14px; }

/* ===================================================
   SERVICE CARDS
   =================================================== */
.service-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.1);
  border-radius: 24px;
  padding: 36px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  animation-delay: var(--delay, 0s);
}
.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(9,60,93,0.14);
}
.service-card-featured {
  background: var(--brand);
  border-color: var(--brand);
}
.service-card-featured:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
}
.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--brand-ghost);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.service-card:not(.service-card-featured):hover .service-icon-wrap {
  background: var(--brand);
  color: white;
}
.service-card:not(.service-card-featured):hover .service-icon-wrap svg { color: white; }
.service-icon-wrap.featured {
  background: rgba(255,255,255,0.2);
}
.service-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-lighter);
  margin-top: 24px;
}
.service-card-featured .service-tag { color: rgba(255,255,255,0.5); }
.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}
.service-feature.featured { color: rgba(255,255,255,0.75); }
.service-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-top: auto;
}
.service-cta.featured { color: rgba(255,255,255,0.9); }
.service-bg-shape {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(9,60,93,0.04);
  transition: all 0.5s ease;
}
.service-card:hover .service-bg-shape { transform: scale(1.3); }

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-card {
  background: var(--brand-ghost);
  border: 1px solid rgba(9,60,93,0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s;
  animation-delay: var(--delay, 0s);
}
.why-card:hover {
  background: white;
  border-color: rgba(9,60,93,0.15);
  box-shadow: 0 12px 32px rgba(9,60,93,0.08);
  transform: translateY(-2px);
}

.why-visual {
  position: relative;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(9,60,93,0.18);
}
.why-visual-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}
.why-stat-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(9,60,93,0.15);
}

/* ===================================================
   PROCESS SECTION
   =================================================== */
.process-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 32px 32px;
}
.process-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s ease;
  animation-delay: var(--delay, 0s);
}
.process-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.process-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonial-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  animation-delay: var(--delay, 0s);
}
.testimonial-card:hover {
  border-color: rgba(9,60,93,0.15);
  box-shadow: 0 20px 48px rgba(9,60,93,0.1);
  transform: translateY(-4px);
}

/* ===================================================
   FAQ
   =================================================== */
.faq-item {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(9,60,93,0.2); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
  text-align: left;
  transition: background 0.2s;
}
.faq-trigger:hover { background: var(--brand-ghost); }
.faq-icon { transition: transform 0.3s ease; color: var(--brand); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-content p {
  padding: 0 24px 20px;
  color: #6b7280;
  line-height: 1.7;
  font-size: 14px;
  font-weight: 300;
}
.faq-item.open .faq-content { max-height: 300px; }

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-ghost);
  border: 1px solid rgba(9,60,93,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(9,60,93,0.06);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(9,60,93,0.12);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #374151;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(9,60,93,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23093C5D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }

/* ===================================================
   FOOTER
   =================================================== */
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: white; }
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.footer-social svg { width: 14px; height: 14px; }

/* ===================================================
   WHATSAPP BUTTON
   =================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 9000;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.4); }
}

/* ===================================================
   INNER PAGE HERO (reusable)
   =================================================== */
.page-hero {
  background: var(--brand);
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
}
.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
}
.page-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

/* ===================================================
   INNER PAGE CARDS
   =================================================== */
.service-detail-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}
.service-detail-card:hover {
  border-color: rgba(9,60,93,0.2);
  box-shadow: 0 20px 48px rgba(9,60,93,0.1);
  transform: translateY(-4px);
}

.course-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.course-card:hover {
  border-color: rgba(9,60,93,0.2);
  box-shadow: 0 20px 48px rgba(9,60,93,0.1);
  transform: translateY(-4px);
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: floatSlow 7s ease-in-out infinite; }

/* Scroll Reveal */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Scroll indicator */
.scroll-indicator {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(9,60,93,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   STEP TIMELINE (Medical Tourism)
   =================================================== */
.timeline-step {
  display: flex;
  gap: 24px;
  position: relative;
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 56px;
  width: 2px;
  height: calc(100% - 24px);
  background: rgba(9,60,93,0.12);
}
.timeline-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--brand-ghost);
  border: 2px solid rgba(9,60,93,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  z-index: 1;
}

/* ===================================================
   PACKAGE CARD (Medical Tourism)
   =================================================== */
.package-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.35s ease;
}
.package-card:hover {
  border-color: var(--brand);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(9,60,93,0.14);
}
.package-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.package-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.package-card:hover .package-img img { transform: scale(1.05); }

/* Country card */
.country-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s;
}
.country-card:hover {
  border-color: rgba(9,60,93,0.2);
  box-shadow: 0 8px 24px rgba(9,60,93,0.08);
  transform: translateY(-2px);
}
.country-flag {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-ghost);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* ===================================================
   RESPONSIVE UTILITIES
   =================================================== */
@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .hero-section { padding-top: 80px; }
  .about-img-grid { height: 320px; }
  .contact-form { padding: 24px; }
  .card-tl, .card-br { display: none; }
}

/* ===================================================
   INNER PAGE - HOMECARE, EDUCATION, TOURISM
   =================================================== */
.inner-page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #0e5484 100%);
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  justify-content: center;
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* Image placeholder (for dynamic unsplash) */
img { display: block; }

/* ===================================================
   ELEMENTOR SECTION & CONTAINER FULL-WIDTH STRIPPER FOR AESON ADDONS
   =================================================== */
.elementor-section:has([class*="elementor-widget-education-"]),
.elementor-section:has([class*="elementor-widget-homecare-"]),
.elementor-section:has([class*="elementor-widget-tourism-"]),
.elementor-section:has([class*="elementor-widget-hero-section"]),
.elementor-section:has([class*="elementor-widget-trust-bar"]),
.elementor-section:has([class*="elementor-widget-about-section"]),
.elementor-section:has([class*="elementor-widget-services-overview"]),
.elementor-section:has([class*="elementor-widget-why-choose-us"]),
.elementor-section:has([class*="elementor-widget-process-section"]),
.elementor-section:has([class*="elementor-widget-testimonials"]),
.elementor-section:has([class*="elementor-widget-faq-section"]),
.elementor-section:has([class*="elementor-widget-cta-section"]),
.elementor-section:has([class*="elementor-widget-contact-section"]),
.elementor-section:has([class*="elementor-widget-footer-section"]),
.e-con:has([class*="elementor-widget-education-"]),
.e-con:has([class*="elementor-widget-homecare-"]),
.e-con:has([class*="elementor-widget-tourism-"]),
.e-con:has([class*="elementor-widget-hero-section"]),
.e-con:has([class*="elementor-widget-trust-bar"]),
.e-con:has([class*="elementor-widget-about-section"]),
.e-con:has([class*="elementor-widget-services-overview"]),
.e-con:has([class*="elementor-widget-why-choose-us"]),
.e-con:has([class*="elementor-widget-process-section"]),
.e-con:has([class*="elementor-widget-testimonials"]),
.e-con:has([class*="elementor-widget-faq-section"]),
.e-con:has([class*="elementor-widget-cta-section"]),
.e-con:has([class*="elementor-widget-contact-section"]),
.e-con:has([class*="elementor-widget-footer-section"]) {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    --width: 100% !important;
    --max-width: 100% !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
    --margin-top: 0px !important;
    --margin-bottom: 0px !important;
    --margin-left: 0px !important;
    --margin-right: 0px !important;
}

.elementor-section:has([class*="elementor-widget-education-"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-homecare-"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-tourism-"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-hero-section"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-trust-bar"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-about-section"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-services-overview"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-why-choose-us"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-process-section"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-testimonials"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-faq-section"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-cta-section"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-contact-section"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-footer-section"]) .elementor-container,
.elementor-section:has([class*="elementor-widget-education-"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-homecare-"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-tourism-"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-hero-section"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-trust-bar"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-about-section"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-services-overview"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-why-choose-us"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-process-section"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-testimonials"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-faq-section"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-cta-section"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-contact-section"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-footer-section"]) .elementor-column,
.elementor-section:has([class*="elementor-widget-education-"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-homecare-"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-tourism-"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-hero-section"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-trust-bar"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-about-section"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-services-overview"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-why-choose-us"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-process-section"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-testimonials"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-faq-section"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-cta-section"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-contact-section"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-footer-section"]) .elementor-column-wrap,
.elementor-section:has([class*="elementor-widget-education-"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-homecare-"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-tourism-"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-hero-section"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-trust-bar"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-about-section"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-services-overview"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-why-choose-us"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-process-section"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-testimonials"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-faq-section"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-cta-section"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-contact-section"]) .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-footer-section"]) .elementor-widget-wrap,
.e-con:has([class*="elementor-widget-education-"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-homecare-"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-tourism-"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-hero-section"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-trust-bar"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-about-section"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-services-overview"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-why-choose-us"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-process-section"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-testimonials"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-faq-section"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-cta-section"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-contact-section"]) > .e-con-inner,
.e-con:has([class*="elementor-widget-footer-section"]) > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ===================================================
   PREMIUM INTERACTIONS & SCROLL REVEALS
   =================================================== */
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.inner-page-hero .breadcrumb,
.inner-page-hero .inline-flex,
.inner-page-hero h1,
.inner-page-hero p,
.inner-page-hero .flex,
.inner-page-hero img {
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.inner-page-hero .breadcrumb { animation-delay: 0.1s; }
.inner-page-hero .inline-flex { animation-delay: 0.2s; }
.inner-page-hero h1 { animation-delay: 0.3s; }
.inner-page-hero p { animation-delay: 0.4s; }
.inner-page-hero .flex { animation-delay: 0.5s; }
.inner-page-hero img { animation-delay: 0.6s; }

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

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

.course-card .package-img {
  overflow: hidden;
  position: relative;
}
.course-card .package-img img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.course-card:hover .package-img img {
  transform: scale(1.06);
}

.course-card, .team-card, .why-card, .testimonial-card, .process-card, .faq-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.course-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 30px 60px rgba(9, 60, 93, 0.12) !important;
  border-color: rgba(9, 60, 93, 0.25) !important;
}

.team-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(9, 60, 93, 0.15) !important;
  border-color: rgba(9, 60, 93, 0.2) !important;
}

.why-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(9, 60, 93, 0.1) !important;
  border-color: rgba(9, 60, 93, 0.15) !important;
}

.testimonial-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 48px rgba(9, 60, 93, 0.1) !important;
  border-color: rgba(9, 60, 93, 0.18) !important;
}

.process-card:hover {
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 20px 40px rgba(9, 60, 93, 0.2) !important;
}

.faq-item:hover {
  border-color: rgba(9, 60, 93, 0.15) !important;
  box-shadow: 0 8px 24px rgba(9, 60, 93, 0.04) !important;
}

.btn-primary, .btn-secondary, .btn-white, .btn-outline, .btn-outline-white {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover, .btn-white:hover {
  transform: translateY(-2px) scale(1.02) !important;
}

.course-card:hover .btn-primary svg, 
.service-card:hover .service-cta svg {
  transform: translateX(4px);
}

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

.faq-trigger:hover .faq-icon {
  transform: scale(1.1);
}
