/* ==========================================================================
   MAIN.CSS – Kahrabā’ī & Sabbāk (Enhanced Master Version)
   Professional Handyman Services in Dammam
   Color Theme: White (#fff), Professional Red (#e63939), Light Accent (#fee2e2)
   Features: Ultra-responsive, advanced animations, glassmorphism, smooth scroll
   ========================================================================== */

/* ----------------------------------------------
   RESET & BASE
----------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for fixed header */
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* Container – fluid width with max-width */
.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 15px;
}

/* ----------------------------------------------
   CSS VARIABLES (Professional Red Theme)
----------------------------------------------- */
:root {
  --primary: #e63939;
  --primary-dark: #d62828;
  --primary-light: #ff6b6b;
  --light-accent: #fee2e2;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --dark: #333;
  --white: #fff;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(230, 57, 57, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 14px;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(8px);
}

/* ----------------------------------------------
   TYPOGRAPHY – fluid using clamp()
----------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }

p {
  margin-bottom: 1rem;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

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

/* ----------------------------------------------
   BUTTONS – with shine and scale effects
----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: clamp(0.9rem, 2vw, 1rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -120%;
  width: 50%;
  height: 280%;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  z-index: -1;
}

.btn:hover::after {
  animation: shine 0.75s ease-in-out forwards;
}

@keyframes shine {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(300%); }
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--gray-light);
  color: var(--dark);
}

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

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

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

.btn-outline-light {
  background-color: transparent;
  border: 2.5px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-large {
  padding: 1.1rem 2.8rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ----------------------------------------------
   ANIMATIONS – refined, with reduced motion support
----------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(230, 57, 57, 0.4); }
  50% { box-shadow: 0 0 25px rgba(230, 57, 57, 0.7); }
}

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

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.fade-in {
  animation: fadeIn 1.1s ease forwards;
}

.slide-up {
  animation: slideUp 0.9s ease forwards;
}

/* Staggered entrance for cards – using :nth-child */
.service-card, .feature, .testimonial-card, .team-member {
  animation: scaleIn 0.8s ease forwards;
  animation-timeline: view(); /* progressive enhancement */
  animation-range: entry 0% entry 30%;
}

/* Fallback for browsers without view-timeline */
@supports not (animation-timeline: view()) {
  .service-card, .feature, .testimonial-card, .team-member {
    opacity: 1; /* ensure visible */
  }
}

/* ----------------------------------------------
   HEADER
----------------------------------------------- */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.6rem 0;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.logo:hover a {
  transform: scale(1.04);
}

.logo img {
  height: clamp(50px, 8vw, 62px);
  width: auto;
  transition: var(--transition);
}

.logo:hover img {
  filter: brightness(1.08);
}

.logo .site-name {
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 3vw, 1.8rem);
}

.main-nav a {
  font-weight: 600;
  color: var(--dark);
  padding: 0.6rem 0;
  position: relative;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.language-switcher {
  display: flex;
  gap: 0.6rem;
}

.lang-btn {
  background: none;
  border: 1.5px solid var(--gray);
  padding: 0.45rem 1.1rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  background-color: var(--white);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active,
.lang-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}





.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--dark);
  margin: 4px 0;
  transition: 0.4s;
}

/* ----------------------------------------------
   HERO SECTION – with animated overlay
----------------------------------------------- */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: min(82vh, 620px);
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

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

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
  margin-bottom: 1.6rem;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.35);
  animation: slideUp 1.1s ease 0.2s both;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.35rem);
  margin-bottom: 2.2rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.35);
  animation: slideUp 1.1s ease 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 1.1s ease 0.8s both;
}

/* ----------------------------------------------
   STATS BAR – animated numbers
----------------------------------------------- */
.stats-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 2.2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.2rem;
  text-align: center;
}

.stat-item {
  animation: scaleIn 1.2s ease forwards;
  opacity: 0; /* hidden until animation */
  animation-fill-mode: forwards;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 800;
  display: block;
  line-height: 1.1;
  animation: float 4s ease-in-out infinite;
}

.stat-label {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.95;
}

/* ----------------------------------------------
   SECTION TITLES
----------------------------------------------- */
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 1.1rem;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #666;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------
   SERVICES SECTION – with background overlay
----------------------------------------------- */
.services {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5.5rem 0;
  position: relative;
  color: var(--white);
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.72);
}

.services .container {
  position: relative;
  z-index: 2;
}

.services .section-title,
.services .section-subtitle {
  color: var(--white);
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  margin-bottom: 3.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--dark);
  opacity: 0; /* hidden until animation */
  animation: scaleIn 0.8s ease forwards;
  animation-fill-mode: forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.25s; }
.service-card:nth-child(3) { animation-delay: 0.4s; }
.service-card:nth-child(4) { animation-delay: 0.55s; }

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.service-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.4, 1);
}

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

.service-content {
  padding: 1.6rem;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.service-content p {
  color: #555;
  margin-bottom: 1.1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.read-more {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(8px);
}

/* ----------------------------------------------
   WHY CHOOSE US – glassmorphism cards
----------------------------------------------- */
.why-us {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5.5rem 0;
  position: relative;
  color: var(--white);
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
}

.why-us .container {
  position: relative;
  z-index: 2;
}

.why-us .section-title {
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.2rem;
  margin-top: 3.5rem;
}

.feature {
  text-align: center;
  padding: 2.2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius);
  transition: var(--transition);
  opacity: 0;
  animation: scaleIn 0.8s ease forwards;
  animation-fill-mode: forwards;
  border: 1px solid rgba(255,255,255,0.2);
}

.feature:nth-child(1) { animation-delay: 0.15s; }
.feature:nth-child(2) { animation-delay: 0.3s; }
.feature:nth-child(3) { animation-delay: 0.45s; }
.feature:nth-child(4) { animation-delay: 0.6s; }
.feature:nth-child(5) { animation-delay: 0.75s; }
.feature:nth-child(6) { animation-delay: 0.9s; }

.feature:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04) translateY(-5px);
  box-shadow: 0 0 30px rgba(230, 57, 57, 0.3);
}

.feature i {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.feature h3 {
  color: var(--white);
  margin-bottom: 0.6rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.feature p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(0.9rem, 2vw, 0.97rem);
}

/* ----------------------------------------------
   TESTIMONIALS
----------------------------------------------- */
.testimonials {
  padding: 5.5rem 0;
  background-color: var(--gray-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  animation: scaleIn 0.8s ease forwards;
  animation-fill-mode: forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.5s; }

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.client-img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.1rem;
  border: 4px solid var(--primary);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.1rem;
  color: #555;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.testimonial-card h4 {
  color: var(--primary);
  margin-bottom: 0;
}

/* ----------------------------------------------
   CTA SECTION – with animated gradient overlay
----------------------------------------------- */
.cta {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5.5rem 0;
  position: relative;
  color: var(--white);
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(230,57,57,0.85) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

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

.cta h2 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  margin-bottom: 1.1rem;
  animation: slideUp 1s ease;
}

.cta p {
  font-size: clamp(1rem, 3vw, 1.35rem);
  margin-bottom: 2.2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  margin: 0 0.6rem;
}

/* ----------------------------------------------
   PARTNERS / BRANDS
----------------------------------------------- */
.partners {
  padding: 3.5rem 0;
  background-color: var(--white);
  text-align: center;
}

.partners p {
  color: #666;
  margin-bottom: 2.2rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.partner-logos img {
  max-height: clamp(40px, 8vw, 65px);
  opacity: 0.75;
  transition: var(--transition);
}

.partner-logos img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ----------------------------------------------
   PAGE HEADER (inner pages)
----------------------------------------------- */
.page-header {
  background-size: cover;
  background-position: center;
  height: min(320px, 40vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  margin-bottom: 1rem;
}

/* ----------------------------------------------
   SERVICES DETAILED PAGE
----------------------------------------------- */
.services-detailed {
  padding: 4.5rem 0;
}

.service-detailed-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 5.5rem;
  align-items: center;
}

.service-detailed-item.reverse .service-detailed-image {
  order: 2;
}

.service-detailed-image {
  height: min(420px, 50vw);
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-detailed-image:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-hover);
}

.service-detailed-content h2 {
  color: var(--primary);
  margin-bottom: 1.6rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.service-detailed-content p {
  margin-bottom: 1.6rem;
  color: #555;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.service-features {
  list-style: none;
  margin-bottom: 2.2rem;
}

.service-features li {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.service-features i {
  color: var(--primary);
  font-size: 1.35rem;
  min-width: 1.35rem;
}

/* ----------------------------------------------
   FAQ SECTION
----------------------------------------------- */
.faq {
  padding: 4.5rem 0;
  background-color: var(--gray-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
  }

.faq-item {
  background: var(--white);
  padding: 1.8rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.9rem;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

.faq-item p {
  color: #555;
  margin-bottom: 0;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

/* ----------------------------------------------
   BOOKING PAGE
----------------------------------------------- */
.booking-form-section {
  padding: 4.5rem 0;
  background-color: var(--gray-light);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  max-width: 1050px;
  margin: 0 auto;
}

.booking-info {
  background: var(--primary);
  color: var(--white);
  padding: 2.4rem;
  border-radius: var(--border-radius);
}

.booking-info h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.booking-info ul {
  list-style: none;
  margin-bottom: 2.2rem;
}

.booking-info li {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.booking-info i {
  color: var(--white);
  font-size: 1.3rem;
  min-width: 1.3rem;
}

.booking-contact p {
  margin-bottom: 0.6rem;
}

.booking-contact a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.form-container {
  background: var(--white);
  padding: 2.4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-container h2 {
  color: var(--primary);
  margin-bottom: 2.2rem;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: #333;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1.5px solid var(--gray);
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 57, 0.12);
}

.form-feedback {
  margin-top: 1.2rem;
  padding: 1.1rem;
  border-radius: 8px;
  text-align: center;
}

.form-feedback.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.booking-help {
  background-color: var(--primary);
  color: var(--white);
  padding: 1.6rem 0;
  text-align: center;
}

.booking-help a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

/* ----------------------------------------------
   ABOUT PAGE
----------------------------------------------- */
.about-story {
  padding: 4.5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 1.6rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.about-text p {
  margin-bottom: 1.1rem;
  color: #555;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.about-image {
  height: clamp(350px, 60vw, 500px);
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}





.mission-vision {
  padding: 4.5rem 0;
  background-color: var(--light-accent);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 3.2rem);
  max-width: 920px;
  margin: 0 auto;
}

.mv-item {
  text-align: center;
  padding: 2.2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mv-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.mv-item i {
  font-size: clamp(2.5rem, 5vw, 3.3rem);
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.mv-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 3vw, 1.5rem);
}

.team {
  padding: 4.5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.2rem;
  max-width: 920px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  padding: 1.8rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  animation: scaleIn 0.8s ease forwards;
  animation-fill-mode: forwards;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.member-img {
  width: clamp(120px, 20vw, 160px);
  height: clamp(120px, 20vw, 160px);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 1.1rem;
  border: 4px solid var(--primary);
}

.team-member h3 {
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.team-member p {
  color: #666;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* ----------------------------------------------
   CONTACT PAGE
----------------------------------------------- */
.contact-section {
  padding: 4.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.contact-info {
  background: var(--light-accent);
  padding: 2.4rem;
  border-radius: var(--border-radius);
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 2.2rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.contact-info p {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.contact-info i {
  color: var(--primary);
  font-size: 1.3rem;
  width: 28px;
  min-width: 28px;
}

.contact-info a {
  color: var(--dark);
}

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

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 8vw, 48px);
  height: clamp(44px, 8vw, 48px);
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px) scale(1.1);
}

.contact-form {
  background: var(--white);
  padding: 2.4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  color: var(--primary);
  margin-bottom: 2.2rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.map {
  padding: 0 0 4.5rem;
}

.map iframe {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: min(400px, 50vh);
}

/* ----------------------------------------------
   FOOTER
----------------------------------------------- */
.site-footer {
  background-color: #1f1f1f;
  color: #fff;
  padding: 4.5rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.4rem;
  margin-bottom: 3.5rem;
}

.footer-about h4,
.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  color: var(--primary);
  margin-bottom: 1.6rem;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

.footer-about p {
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a {
  color: #aaa;
  transition: var(--transition);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact p {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aaa;
  font-size: clamp(0.9rem, 2vw, 1rem);
  word-break: break-word;
}

.footer-contact i {
  color: var(--primary);
  font-size: 1.1rem;
  width: 1.1rem;
  min-width: 1.1rem;
  flex-shrink: 0;
}

.footer-contact a {
  color: #aaa;
}

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

.footer-newsletter p {
  color: #aaa;
  margin-bottom: 1.1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.9rem;
  border: none;
  border-radius: 50px;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: #888;
}

.newsletter-form button {
  background-color: var(--primary);
  color: #fff;
  border: none;
  width: clamp(44px, 10vw, 50px);
  height: clamp(44px, 10vw, 50px);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.2rem;
  border-top: 1px solid #333;
  color: #888;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* ----------------------------------------------
   FLOATING WHATSAPP BUTTON
----------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: clamp(15px, 3vw, 24px);
  right: clamp(15px, 3vw, 24px);
  background-color: #25d366;
  color: #fff;
  width: clamp(50px, 10vw, 66px);
  height: clamp(50px, 10vw, 66px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.8rem, 5vw, 2.1rem);
  box-shadow: var(--shadow);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2.2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.12);
  animation: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ----------------------------------------------
   RTL SUPPORT (for Arabic)
----------------------------------------------- */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] body {
  font-family: 'Segoe UI', 'Simplified Arabic', 'Arial Unicode MS', sans-serif;
  letter-spacing: 0.4px;
}

[dir="rtl"] .main-nav ul {
  padding-right: 0;
}

[dir="rtl"] .service-features li {
  flex-direction: row-reverse;
}

[dir="rtl"] .read-more i {
  transform: rotate(180deg);
}

[dir="rtl"] .read-more:hover i {
  transform: rotate(180deg) translateX(8px);
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: clamp(15px, 3vw, 24px);
}

[dir="rtl"] .footer-contact p {
  flex-direction: row-reverse;
}

[dir="rtl"] .social-links a {
  margin-left: 0;
  margin-right: 0;
}

/* ----------------------------------------------
   UTILITY CLASSES
----------------------------------------------- */
.text-center {
  text-align: center;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Touch-friendly tap targets */
button,
.btn,
.lang-btn,
.mobile-menu-toggle,
.whatsapp-float {
  touch-action: manipulation;
}
/* ==============================================
   ABOUT STORY SECTION
   ============================================== */
.about-story {
  padding: 5rem 0;
  background-color: var(--white);
}

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

/* Left side – text */
.about-text h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.about-text p {
  margin-bottom: 1.2rem;
  color: #555;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
}

.about-image {
  height: clamp(350px, 60vw, 500px);
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.about-text strong {
  color: var(--dark);
}

/* Right side – image */




/* Ensure image fills container without distortion (already handled by background-size: cover) */

/* ----------------------------------------------
   RESPONSIVE DESIGN
   ---------------------------------------------- */
@media screen and (max-width: 992px) {
  .about-grid {
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .about-story {
    padding: 3rem 0;
  }

  .about-grid {
    grid-template-columns: 1fr;  /* stack vertically on mobile */
    gap: 2rem;
  }

  .about-text {
    order: 1;  /* text first (you can change order if needed) */
  }

  
}

@media screen and (max-width: 480px) {
  .about-story {
    padding: 2rem 0;
  }

  
}


/* Chevron Icon */
.faq-item h3::after {
  content: '\f078'; /* down chevron */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: inline-block;
  margin-left: 0.8rem;
  transition: transform 0.3s ease;
}

/* Answer - hidden by default */
.faq-item p {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
  color: #555;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
}

/* Active/Expanded State */
.faq-item.active h3::after {
  transform: rotate(180deg);
}

.faq-item.active p {
  max-height: 500px;
  padding: 1.2rem 0;
  margin: 0.8rem 0 0 0;
}

.faq-item:hover {
  background-color: rgba(230, 57, 57, 0.02);
}

.faq-item.active:hover {
  box-shadow: var(--shadow-hover);
}


/* ============================================
   FAQ SECTION - PROFESSIONAL ACCORDION
   ============================================ */
.faq {
  padding: 4.5rem 0;
  background-color: var(--gray-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  padding: 1.8rem;
  border-radius: var(--border-radius);
  border: 2px solid #e8e8e8;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(230, 57, 57, 0.12);
  transform: translateY(-2px);
}

.faq-item h3 {
  color: var(--primary);
  margin: 0;
  padding: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
}

/* Chevron icon */
.faq-item h3::after {
  content: '';
  display: inline-flex;
  margin-left: 1rem;
  font-size: 0.75rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  color: var(--primary);
}

/* Answer paragraph - hidden by default */
.faq-item p {
  color: #555;
  font-size: clamp(0.95rem, 1.8vw, 1rem);
  line-height: 1.8;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

/* Active/Open state */
.faq-item.active h3::after {
  transform: rotate(180deg);
}

.faq-item.active p {
  max-height: 800px;
  opacity: 1;
  padding-top: 1.2rem;
  margin-top: 0.8rem;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(230, 57, 57, 0.15);
}

/* Smooth animation */
@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item.active p {
  animation: faqSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
