/* --- NESMA MEDICAL CENTER CUSTOM STYLESHEET --- */

/* -------------------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM
------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-primary: #c11d24; /* Crimson Red matching logo */
  --color-primary-dark: #9f141a;
  --color-primary-rgb: 193, 29, 36;
  --color-secondary: #4E9F95; /* Wellness Mint/Teal */
  --color-secondary-dark: #377d74;
  --color-secondary-light: #e6f4f2;
  --color-neutral-dark: #1a1a1a;
  --color-neutral-muted: #555555;
  --color-neutral-light: #fcfaf6; /* Warm off-white */
  --color-neutral-white: #ffffff;
  --color-border: #f0ebe0;
  
  /* Typography */
  --font-headings: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Shadow Levels */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(193, 29, 36, 0.04);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --header-height: 90px;
  --header-shrink-height: 70px;
}

/* -------------------------------------------------------------
   2. CORE RESETS & GLOBAL STYLES
------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  background-color: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-neutral-dark);
}

p {
  color: var(--color-neutral-muted);
}

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

ul {
  list-style: none;
}

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

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 30px;
}

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

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

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

.grid-2-1 {
  grid-template-columns: 2fr 1.2fr;
}

/* --- UI Utilities --- */
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }
.max-w-600 { max-w: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-15 { gap: 15px; }

/* --- Section Taglines & Headings --- */
.section-tagline {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}

.section-tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--color-primary);
  transform: translateY(-50%);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-neutral-muted);
  margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-neutral-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(193, 29, 36, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-border);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-neutral-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-neutral-white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* --- Glassmorphism --- */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-glass);
}

/* -------------------------------------------------------------
   3. HEADER & NAVIGATION
------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.shrink {
  height: var(--header-shrink-height);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.site-header.shrink .logo-img {
  height: 38px;
}

.desktop-nav .nav-list {
  display: flex;
  gap: 35px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-neutral-dark);
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-neutral-dark);
  transition: var(--transition-smooth);
}

/* Mobile Nav Drawer Open state */
body.drawer-open {
  overflow: hidden;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.mobile-drawer.active {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-drawer.active .drawer-backdrop {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background-color: var(--color-neutral-light);
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 30px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.drawer-logo {
  height: 38px;
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-neutral-dark);
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-family: var(--font-headings);
  font-weight: 600;
  display: block;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.drawer-footer {
  margin-top: auto;
}

/* -------------------------------------------------------------
   4. HERO SECTION
------------------------------------------------------------- */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
  background-color: var(--color-neutral-light);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-color: #f6efe2;
  z-index: 0;
  border-bottom-left-radius: 200px;
}

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

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  padding: 15px;
  background-color: var(--color-neutral-white);
  box-shadow: var(--shadow-md);
}

.hero-img-main {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  object-fit: cover;
  height: 480px;
}

.hero-floating-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  border-radius: var(--radius-md);
  max-width: 250px;
}

.floating-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card-icon.red-icon {
  background-color: rgba(193, 29, 36, 0.1);
  color: var(--color-primary);
}

.floating-card-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-card-info p {
  font-size: 0.75rem;
  color: var(--color-neutral-muted);
}

/* -------------------------------------------------------------
   5. STATISTICS SECTION
------------------------------------------------------------- */
.stats-section {
  padding: 50px 0;
  background-color: var(--color-neutral-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 5;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  vertical-align: super;
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  font-weight: 500;
}

/* -------------------------------------------------------------
   6. ABOUT US SECTION
------------------------------------------------------------- */
.about-section {
  padding: 100px 0;
  background-color: var(--color-neutral-light);
}

.about-images-grid {
  position: relative;
}

.carousel-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--color-neutral-white);
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: 300%; /* 3 slides */
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-slide {
  width: 33.333%;
  flex-shrink: 0;
}

.carousel-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-dark);
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
  background-color: var(--color-neutral-white);
  color: var(--color-primary);
}

.carousel-nav-btn.prev {
  left: 20px;
}

.carousel-nav-btn.next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dots .dot.active {
  background-color: var(--color-primary);
  width: 20px;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-body {
  margin-bottom: 30px;
}

.ekit-dropcap-content {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.dropcap {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  float: left;
  line-height: 0.8;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--color-primary);
  font-weight: 700;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--color-neutral-dark);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: rgba(78, 159, 149, 0.1); /* light teal background */
  color: var(--color-secondary); /* teal stroke */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
   7. SERVICES SECTION WITH TABS
------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  background-color: var(--color-neutral-white);
  border-bottom: 1px solid var(--color-border);
}

.services-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.services-tabs {
  display: inline-flex;
  background-color: var(--color-neutral-light);
  padding: 6px;
  border-radius: var(--radius-full);
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-neutral-muted);
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  color: var(--color-neutral-white);
}

.tab-icon {
  display: flex;
  align-items: center;
}

.tab-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  width: calc(50% - 6px);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(193, 29, 36, 0.25);
}

.services-tabs button:nth-child(2).active ~ .tab-indicator {
  background-color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(78, 159, 149, 0.25);
}

/* Tab Panels Grid */
.tab-panel {
  display: none;
}

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

.service-card {
  background-color: var(--color-neutral-light);
  padding: 35px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.service-card:hover {
  background-color: var(--color-neutral-white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon.red {
  background-color: rgba(193, 29, 36, 0.08);
  color: var(--color-primary);
}

.service-icon.mint {
  background-color: rgba(78, 159, 149, 0.08);
  color: var(--color-secondary);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-learn-more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
}

.tab-btn:nth-child(2).active ~ * .service-learn-more {
  color: var(--color-secondary);
}

.service-panel-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

.service-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-panel-image-wrapper:hover .service-panel-img {
  transform: scale(1.05);
}

.image-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
}

.service-panel-cta-card {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  padding: 25px;
  border-radius: var(--radius-md);
  color: var(--color-neutral-dark);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06);
}

.service-panel-cta-card h3 {
  color: var(--color-neutral-dark);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.service-panel-cta-card p {
  color: var(--color-neutral-muted);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
   8. DUAL ACTION CTA BANNER
------------------------------------------------------------- */
.cta-banner-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7e1217 100%);
  color: var(--color-neutral-white);
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-banner-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.cta-title {
  color: var(--color-neutral-white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 35px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* -------------------------------------------------------------
   9. TESTIMONIALS SECTION
------------------------------------------------------------- */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--color-neutral-light);
}

.testimonials-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-intro {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.testimonial-track {
  position: relative;
  height: 200px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  z-index: 1;
}

.testimonial-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

.star-rating {
  color: #ffb800;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.testimonial-quote {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--color-neutral-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-neutral-dark);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--color-neutral-muted);
}

.slider-controls {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-neutral-white);
  border: 1px solid var(--color-border);
  color: var(--color-neutral-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-neutral-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(193, 29, 36, 0.15);
}

.testimonials-image-side {
  position: relative;
}

.testimonials-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  padding: 15px;
  background-color: var(--color-neutral-white);
  box-shadow: var(--shadow-lg);
}

.testimonials-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.img-badge-overlay {
  position: absolute;
  top: 40px;
  right: -30px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  border-radius: var(--radius-md);
}

.badge-number {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.badge-text .stars {
  color: #ffb800;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.badge-text p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
}

/* -------------------------------------------------------------
   10. FAQ SECTION
------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  background-color: var(--color-neutral-white);
}

.faq-image-side {
  position: relative;
}

.faq-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-neutral-light);
}

.faq-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.faq-accordion-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accordion {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-neutral-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-item.active {
  border-color: transparent;
  background-color: var(--color-neutral-white);
  box-shadow: var(--shadow-md);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: none;
  border: none;
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger:hover {
  color: var(--color-primary);
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-neutral-dark);
  transition: var(--transition-smooth);
}

/* Horizontal line */
.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

/* Vertical line */
.accordion-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-item.active .accordion-trigger {
  color: var(--color-primary);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-content {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   11. CONTACT & BOOKING SECTION
------------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
}

.contact-intro {
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
}

.detail-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--color-neutral-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.detail-text h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.detail-text p {
  font-size: 0.95rem;
}

.contact-info-graphic {
  max-width: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-side {
  display: flex;
  align-items: center;
}

.form-wrapper {
  width: 100%;
  padding: 40px;
  border-radius: var(--radius-lg);
}

.form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.form-wrapper p {
  font-size: 0.9rem;
  margin-bottom: 30px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-neutral-white);
  color: var(--color-neutral-dark);
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(193, 29, 36, 0.1);
}

/* Error messages styling */
.error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 5px;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--color-primary);
  background-color: rgba(193, 29, 36, 0.02);
}

.form-group.invalid .error-msg {
  display: block;
}

/* Success box overlay */
.form-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  animation: scaleUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background-color: rgba(78, 159, 149, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.form-success-box h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.form-success-box p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@keyframes scaleUp {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* -------------------------------------------------------------
   12. NEWSLETTER SECTION
------------------------------------------------------------- */
.newsletter-section {
  padding: 80px 0;
  background-color: var(--color-neutral-white);
  border-bottom: 1px solid var(--color-border);
}

.newsletter-container {
  align-items: center;
}

.newsletter-text h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.newsletter-text p {
  font-size: 1rem;
}

.newsletter-form-wrapper {
  width: 100%;
}

.newsletter-inputs {
  display: flex;
  gap: 10px;
}

.newsletter-inputs input[type="text"],
.newsletter-inputs input[type="email"] {
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-neutral-light);
  flex: 1;
  transition: var(--transition-fast);
}

.newsletter-inputs input[type="text"]:focus,
.newsletter-inputs input[type="email"]:focus {
  border-color: var(--color-primary);
  background-color: var(--color-neutral-white);
}

.newsletter-inputs input[type="text"] {
  max-width: 150px;
}

.newsletter-inputs button {
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-error-msg {
  display: block;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 8px;
}

.newsletter-success-msg {
  display: block;
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-top: 8px;
}

/* -------------------------------------------------------------
   13. FOOTER
------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-neutral-dark);
  color: #aaa;
  padding: 80px 0 0 0;
}

.footer-grid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 50px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 25px;
  filter: brightness(0.9);
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h3 {
  color: var(--color-neutral-white);
  font-size: 1.15rem;
  margin-bottom: 25px;
  font-family: var(--font-body);
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-neutral-white);
  padding-left: 5px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 15px;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  padding-bottom: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-contact svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 30px 0;
  font-size: 0.85rem;
}

.footer-bottom-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-bottom-spacer {
  display: block;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--color-primary);
  color: var(--color-neutral-white);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   14. FLOATING BOOKING BUTTON (Scroll Position Aware)
------------------------------------------------------------- */
.floating-booking-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-primary);
  color: var(--color-neutral-white);
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(193, 29, 36, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease, visibility 0.4s;
}

.floating-booking-btn.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.floating-booking-btn:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 12px 35px rgba(193, 29, 36, 0.45);
  transform: translateY(-3px);
}

.floating-booking-btn svg {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* -------------------------------------------------------------
   15. ANIMATIONS & SCROLL REVEALS & DYNAMIC EFFECTS
------------------------------------------------------------- */

/* Interactive Mouse Glow Follower (hidden on mobile) */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(193, 29, 36, 0.07) 0%, rgba(78, 159, 149, 0.03) 50%, rgba(255, 255, 255, 0) 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* Background Ambient Glowing Blobs */
.glowing-blob {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: var(--radius-full);
  filter: blur(130px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 24s infinite alternate ease-in-out;
}

.blob-1 {
  background-color: var(--color-primary);
  top: 10%;
  left: -150px;
}

.blob-2 {
  background-color: var(--color-secondary);
  top: 45%;
  right: -150px;
  animation-duration: 30s;
  animation-delay: -5s;
}

.blob-3 {
  background-color: var(--color-primary);
  bottom: 15%;
  left: 20%;
  width: 400px;
  height: 400px;
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes blob-drift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(70px, -90px) scale(1.18) rotate(120deg); }
  66% { transform: translate(-50px, 50px) scale(0.85) rotate(240deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

/* Scroll Entrance Reveals */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entry reveal delay modifiers */
.reveal-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.reveal-on-scroll[data-delay="150"] { transition-delay: 0.15s; }
.reveal-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.reveal-on-scroll[data-delay="300"] { transition-delay: 0.3s; }
.reveal-on-scroll[data-delay="400"] { transition-delay: 0.4s; }

/* Gentle Floating Animations */
.hero-image-frame {
  animation: hero-float 7s ease-in-out infinite;
}

.hero-floating-card {
  animation: hero-float 5s ease-in-out infinite alternate;
  animation-delay: -2s;
}

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

/* Button Shimmer / Hover Sweeping Sheen */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn:hover::before {
  left: 150%;
}

/* Enhanced Hover Interactions for Cards */
.service-card {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(193, 29, 36, 0.15) !important;
  box-shadow: 0 15px 35px rgba(193, 29, 36, 0.05);
}

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

.service-icon {
  transition: var(--transition-smooth);
}

/* Interactive Image Zoom within frames */
.carousel-container {
  overflow: hidden;
}

.carousel-image {
  transition: transform 1.2s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.carousel-container:hover .carousel-image {
  transform: scale(1.04);
}

/* FAQ Accordion Item Highlight Hover */
.accordion-item {
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  border-color: rgba(193, 29, 36, 0.2);
}

/* Stat Counter Finish Pop Keyframe */
.stat-number.pop-effect {
  animation: stat-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes stat-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); color: var(--color-secondary); }
  100% { transform: scale(1); }
}

/* -------------------------------------------------------------
   16. MEDIA QUERIES (RESPONSIVENESS)
------------------------------------------------------------- */
@media (max-width: 991px) {
  h1 { font-size: 3rem; }
  .hero-title { font-size: 3.2rem; }
  .section-title { font-size: 2.2rem; }
  
  .grid-2, .grid-3, .grid-4, .grid-2-1 {
    grid-template-columns: 1fr;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .hero-section {
    padding: 130px 0 70px 0;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-floating-card {
    left: 20px;
    bottom: 20px;
  }
  
  .about-section {
    padding: 70px 0;
  }
  
  .about-images-grid {
    order: 2;
  }
  
  .about-text-content {
    order: 1;
    margin-bottom: 40px;
  }
  
  .services-section {
    padding: 70px 0;
  }
  
  .service-panel-image-wrapper {
    order: 2;
    min-height: 300px;
  }
  
  .services-grid {
    order: 1;
  }
  
  .cta-banner-section {
    padding: 70px 0;
  }
  
  .cta-title { font-size: 2.2rem; }
  
  .testimonials-section {
    padding: 70px 0;
  }
  
  .testimonials-image-side {
    margin-top: 40px;
  }
  
  .img-badge-overlay {
    right: 20px;
    top: 20px;
  }
  
  .faq-section {
    padding: 70px 0;
  }
  
  .faq-image-side {
    display: none;
  }
  
  .contact-section {
    padding: 70px 0;
  }
  
  .newsletter-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .newsletter-inputs {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
    --header-shrink-height: 65px;
  }
  
  .desktop-nav,
  .btn-header-cta {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-img-main {
    height: 380px;
  }
  
  .form-wrapper {
    padding: 25px;
  }
  
  .newsletter-inputs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .newsletter-inputs input[type="text"] {
    max-width: 100%;
  }
  
  .footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom-spacer {
    display: none;
  }
}

/* -------------------------------------------------------------
   17. RIGHT-TO-LEFT (RTL) STYLING ADAPTERS
------------------------------------------------------------- */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .section-tagline {
  padding-left: 0;
  padding-right: 30px;
}

html[dir="rtl"] .section-tagline::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .tab-indicator {
  left: auto;
  right: 6px;
}

html[dir="rtl"] .hero-floating-card {
  left: auto;
  right: -35px;
}

html[dir="rtl"] .about-checklist li {
  padding-left: 0;
  padding-right: 28px;
}

html[dir="rtl"] .about-checklist .check-icon {
  left: auto;
  right: 0;
}

html[dir="rtl"] .img-badge-overlay {
  left: auto;
  right: -30px;
}

html[dir="rtl"] .accordion-trigger {
  text-align: right;
}

html[dir="rtl"] .accordion-icon {
  margin-left: 0;
  margin-right: auto;
}

/* Rotate arrows inside carousels for RTL direction */
html[dir="rtl"] .carousel-nav-btn svg,
html[dir="rtl"] .slider-btn svg {
  transform: scaleX(-1);
}

/* Mobile drawer slide transition direction override */
html[dir="rtl"] .drawer-content {
  right: auto;
  left: -100%;
  transition: left 0.4s ease;
}

html[dir="rtl"] .mobile-drawer.active .drawer-content {
  right: auto;
  left: 0;
}

html[dir="rtl"] .floating-booking-btn {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .footer-socials {
  justify-content: flex-end;
}
