/* ==========================================================================
   Salad & Tacos Landing Page Style Sheet (Premium Light Theme)
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Outfit:wght@300;400;600;700&display=swap');

/* Local Font Goldbill Definition */
@font-face {
  font-family: 'Goldbill';
  src: url('assets/fonts/Goldbill-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Goldbill';
  src: url('assets/fonts/Goldbill-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Design System Variables (Premium Organic Light Theme) */
:root {
  --bg-dark: #FFFFFF;           /* Pure White Background */
  --bg-card-dark: #F4F8F6;      /* Soft Light Sage Green for sections/alternate backgrounds */
  --bg-card-white: #FFFFFF;     /* White Card Background */
  --primary-fresh: #96C93D;     /* Bright brand green */
  --primary-dark-text: #0A221B;  /* Deep dark forest green for headings (replaces pure black) */
  --accent-orange: #F26230;     /* Primary Orange Button */
  --accent-orange-hover: #D84F1F;
  --text-light: #0A221B;        /* Standard text color */
  --text-muted: #5A6D67;        /* Soft dark green-gray for body text */
  --border-color: rgba(150, 201, 61, 0.22); /* Subtle green dividers */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(10, 34, 27, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 34, 27, 0.07);
  --shadow-lg: 0 20px 40px rgba(10, 34, 27, 0.12);
  --font-arabic: 'Cairo', sans-serif;
  --font-english: 'Goldbill', 'Outfit', sans-serif;
  --container-width: 1100px;
}

/* CSS Reset & General Styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: var(--font-english);
  background-color: var(--bg-dark);
  color: var(--text-muted);
  line-height: 1.5;
  transition: var(--transition-smooth);
  overflow-x: hidden;
}

/* Bilingual Language Switching Classes */
body.lang-en {
  direction: ltr;
  text-align: left;
}

body.lang-ar {
  direction: rtl;
  text-align: right;
  font-family: 'Goldbill', var(--font-arabic);
  line-height: 1.75; /* Premium spacious line height globally for all Arabic text */
}

/* Force English Outfit font for numbers in RTL layout and prevent backwards text */
.num-font {
  font-family: var(--font-english) !important;
  direction: ltr !important;
  display: inline-block !important;
  unicode-bidi: embed !important;
}

/* Toggle Text Visibility based on language */
body.lang-en .text-ar { display: none !important; }
body.lang-en .text-en { display: inline-block !important; }
body.lang-ar .text-en { display: none !important; }
body.lang-ar .text-ar { display: inline-block !important; }

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

a {
  text-decoration: none !important;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 2.5rem 0; /* Reduced from 4rem for more compact layout */
}

@media (max-width: 768px) {
  .section-padding {
    padding: 1.5rem 0; /* Reduced from 2.5rem */
  }
}

/* Badge Style */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(150, 201, 61, 0.08);
  color: var(--primary-dark-text);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(150, 201, 61, 0.2);
}

.badge-orange {
  background-color: rgba(242, 98, 48, 0.08);
  color: var(--accent-orange);
  border-color: rgba(242, 98, 48, 0.15);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 1.9rem; /* Slightly smaller from 2.25rem */
  font-weight: 800;
  color: var(--primary-dark-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem; /* Slightly smaller from 1.1rem */
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.55rem; /* Slightly smaller from 1.8rem */
  }
}

/* Header Component */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 70px; /* Slimmer header */
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 60px; /* Even slimmer scrolled header */
  box-shadow: var(--shadow-sm);
}

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

.logo-wrapper {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
}

body.lang-en .logo-wrapper {
  direction: ltr !important;
}

body.lang-ar .logo-wrapper {
  direction: rtl !important;
}

.logo-wrapper:hover {
  text-decoration: none !important;
}

/* Footer info column logo alignment */
.footer-info .logo-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 1.25rem !important;
}

@media (max-width: 992px) {
  .footer-info .logo-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto;
    margin-right: auto;
  }
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: block;
  vertical-align: middle;
  flex-shrink: 0;
  order: 0 !important;
}

.logo-text {
  font-family: var(--font-english);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark-text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  direction: ltr !important;
  text-decoration: none !important;
  line-height: 1;
  order: 1 !important;
}

.logo-text span {
  color: var(--primary-fresh);
  display: inline-block;
  background: linear-gradient(135deg, #96C93D 0%, #5C9E31 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.15rem;
  font-weight: 800;
}

/* Desktop Header Navigation Links */
.desktop-nav {
  display: block;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Reduced gap between links */
  list-style: none;
}

.desktop-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem; /* Slightly smaller link text */
  font-weight: 700;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary-fresh);
}

/* Hover & Active line animation */
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-fresh);
  transition: var(--transition-smooth);
}

body.lang-ar .desktop-nav a::after {
  left: auto;
  right: 0;
}

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

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch-btn {
  background-color: var(--primary-fresh);  /* Light green background */
  color: #ffffff;                           /* White text */
  border: 1px solid var(--primary-fresh);
  padding: 0.4rem 0.85rem; /* Slightly smaller padding */
  border-radius: 50px;
  font-size: 0.8rem; /* Slightly smaller font size */
  font-weight: 700;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.lang-switch-btn:hover {
  background-color: #5C9E31;  /* Darker green on hover */
  color: #fff;
  border-color: #5C9E31;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(150, 201, 61, 0.3);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.2rem;
  color: var(--primary-dark-text);
}

.header-icon-btn {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.header-icon-btn:hover {
  color: var(--primary-fresh);
}

@media (max-width: 576px) {
  .header-actions {
    gap: 0.75rem;
  }
  .header-icons {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 110px; /* Reduced from 125px to match slimmer header height */
  padding-bottom: 60px;
  background: 
    linear-gradient(to left, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 0.65) 100%), 
    url('assets/hero_bg.webp') no-repeat center center;
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}

body.lang-ar .hero-grid > :first-child {
  order: 1;
}
body.lang-ar .hero-grid > :last-child {
  order: 2;
}

.hero-content {
  max-width: 520px;
  margin-top: -30px; /* Lift content up to align with plate and feel less low */
}

/* Hero Content Staggered Animations */
.hero-content .hero-discount-tag {
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-content .hero-title {
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s, 
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s,
    text-shadow 0.3s ease,
    transform 0.3s ease;
}

.hero-content .hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.24s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.24s;
}

.hero-content .btn-group {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.36s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.36s;
}

.hero-content.active .hero-discount-tag,
.hero-content.active .hero-title,
.hero-content.active .hero-subtitle,
.hero-content.active .btn-group {
  opacity: 1;
  transform: translateY(0);
}

.hero-discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(242, 98, 48, 0.08);
  color: var(--accent-orange);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem; /* Reduced from 1rem */
  margin-bottom: 1.5rem;
  border: 1px solid rgba(242, 98, 48, 0.15);
  animation: float-discount 3.5s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-english);
  font-size: 2.8rem; /* Reduced from 3.5rem */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.hero-title span.text-en,
.hero-title span.text-ar {
  background: linear-gradient(120deg, #0A221B 15%, #96C93D 40%, #5C9E31 50%, #96C93D 60%, #0A221B 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wave-text 6s linear infinite, hero-text-float 3.5s ease-in-out infinite;
  display: inline-block;
  text-shadow: none !important;
}

@keyframes wave-text {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes hero-text-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); } /* Smooth vertical bounce from top to bottom */
  100% { transform: translateY(0); }
}

body.lang-ar .hero-title {
  font-family: 'Goldbill', var(--font-arabic);
  font-size: 3.2rem; /* Enlarged slightly */
  line-height: 1.25;
}

@media (max-width: 768px) {
  body.lang-ar .hero-title {
    font-size: 2.1rem !important;
  }
}

@media (max-width: 480px) {
  body.lang-ar .hero-title {
    font-size: 1.75rem !important;
  }
}

body.lang-ar .hero-content {
  margin-right: 0 !important;
  margin-left: auto !important;
  justify-self: start !important; /* Aligns block to the right (start) in RTL */
  text-align: right !important;
}

@media (max-width: 992px) {
  body.lang-ar .hero-content {
    margin-right: auto !important;
    margin-left: auto !important;
    justify-self: center !important;
    text-align: center !important;
  }
}

body.lang-ar .hero-subtitle {
  margin-bottom: 0.8rem !important; /* Raise the button further closer to the text */
}

body.lang-ar .hero-content .btn-group {
  text-align: right !important; /* Align button back to the right */
}

@media (max-width: 992px) {
  body.lang-ar .hero-content .btn-group {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* Global Button Group */
.btn-group {
  display: flex !important;
  align-items: center;
  gap: 1rem;
}

.hero-subtitle {
  font-size: 0.95rem; /* Reduced from 1.1rem */
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.btn-start-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem; /* Reduced from 0.75rem */
  background-color: var(--accent-orange);
  color: #fff;
  padding: 0.75rem 1.65rem; /* Reduced from 0.95rem 2.25rem */
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem; /* Reduced from 1rem */
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(242, 98, 48, 0.2);
  transition: var(--transition-smooth);
}

.btn-start-order:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 25px rgba(242, 98, 48, 0.3),
    0 0 15px rgba(242, 98, 48, 0.3);
}

.btn-start-order i {
  font-size: 0.85rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #25D366 0%, #1ebd57 100%) !important; /* Branded green gradient */
  color: #ffffff !important; /* Crisp white text */
  padding: 0.75rem 1.65rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important; /* Branded shadow */
  border: none !important; /* Clean no border */
  transition: var(--transition-smooth);
  text-decoration: none !important;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebd57 0%, #159b43 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 
    0 12px 25px rgba(37, 211, 102, 0.35),
    0 0 15px rgba(37, 211, 102, 0.1) !important;
}

.btn-whatsapp i {
  font-size: 1rem;
}

body.lang-ar .btn-whatsapp {
  font-family: 'Goldbill', var(--font-arabic);
}

@media (max-width: 768px) {
  .btn-start-order, .btn-whatsapp, .modal-order-btn {
    padding: 0.5rem 1.1rem !important;
    font-size: 0.78rem !important;
    border-radius: 30px !important;
  }
  .modal-order-btn {
    border-radius: 12px !important;
  }
}

@media (max-width: 480px) {
  .btn-start-order, .btn-whatsapp, .modal-order-btn {
    padding: 0.45rem 1.0rem !important;
    font-size: 0.72rem !important;
  }
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Hero Plate Clean Floating Animation (Premium 3D style - Transparent Backdrop) */
.hero-plate-glow {
  width: 440px;
  height: 440px;
  max-width: 100%; /* Prevent overflowing columns in smaller viewports */
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-top: -30px; /* Lift this entire plate section up slightly */
  animation: plate-float-glow 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

/* Exciting pulsing aura glow behind the plates */
.hero-plate-glow::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 201, 61, 0.28) 0%, rgba(242, 98, 48, 0.15) 50%, transparent 70%);
  filter: blur(25px);
  z-index: -1;
  animation: pulse-glow-aura 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow-aura {
  0% { transform: scale(0.95); opacity: 0.75; }
  50% { transform: scale(1.15); opacity: 1; filter: blur(35px); }
  100% { transform: scale(0.95); opacity: 0.75; }
}

/* Remove dashed orbit ring as requested */
.hero-plate-glow::before {
  display: none;
}

.hero-plate-glow:hover {
  transform: scale(1.05) translateY(-38px) rotate(3deg); /* Moves higher on hover */
}

@keyframes plate-float-glow {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-24px) rotate(3deg) scale(1.03); /* Moves more and pulses slightly */
  }
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

.hero-plate-glow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Prevent circular plate image from being clipped */
  filter: drop-shadow(0 15px 25px rgba(10, 34, 27, 0.15)); /* Realistic drop shadow for the food plate itself */
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.92) rotate(-8deg);
  pointer-events: none;
}

.hero-plate-glow img.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  body.lang-ar .hero-grid > :first-child {
    order: 1;
  }
  body.lang-ar .hero-grid > :last-child {
    order: 2;
  }
  .hero-content {
    margin: 0 auto;
    margin-top: 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-plate-glow {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }
  .btn-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 90px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-plate-glow {
    width: 260px;
    height: 260px;
  }
  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .btn-start-order, .btn-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Detailed Specialties Menu Section (Compact Layout & Interactive Popups)
   ========================================================================== */
.specialties-section {
  background-color: var(--bg-card-dark); /* Light sage background for this section */
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-top: 3.5rem; /* Reduced from 6.5rem to eliminate excessive top white space */
}

@media (max-width: 768px) {
  .specialties-section {
    padding-top: 2.5rem;
  }
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
}

.specialty-card {
  background-color: var(--bg-card-white);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.specialty-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-fresh);
  box-shadow: 
    0 15px 35px rgba(10, 34, 27, 0.08),
    0 0 15px rgba(150, 201, 61, 0.15);
}

.specialty-card .specialty-desc,
.specialty-card .specialty-ingredients,
.specialty-card .ingredients-list,
.specialty-card .specialty-description {
  display: none !important; /* Hide details on main card for compact size */
}

.specialty-img-box {
  width: 100%;
  height: 140px; /* Reduced from 160px for more compact sizing */
  overflow: hidden;
  position: relative;
}

.specialty-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.specialty-card:hover .specialty-img-box img {
  transform: scale(1.06) rotate(-1deg);
}

.specialty-rating-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary-dark-text);
}

.specialty-rating-badge i {
  color: #FFB020;
}

.specialty-body {
  padding: 0.95rem; /* Reduced from 1.15rem for compactness */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.specialty-nuts-badges {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.nut-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 50px;
  background-color: rgba(10, 34, 27, 0.05);
  color: var(--text-muted);
}

.nut-badge.cal-badge {
  background-color: rgba(150, 201, 61, 0.12);
  color: var(--primary-dark-text);
  border: 1px solid rgba(150, 201, 61, 0.2);
}

.specialty-body h3 {
  font-size: 1.05rem; /* Reduced from 1.15rem */
  font-weight: 700;
  color: var(--primary-dark-text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.specialty-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem; /* Reduced from 1rem */
  margin-top: 0.75rem; /* Reduced from auto for tight flow */
}

.specialty-price-box {
  display: flex;
  flex-direction: column;
}

.specialty-old-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.specialty-new-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.specialty-details-btn {
  background-color: var(--primary-fresh);
  color: #ffffff;
  border: none;
  padding: 0.45rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.specialty-details-btn:hover {
  background-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(242, 98, 48, 0.25);
}

/* ==========================================================================
   Explore Menu Section (High Fidelity White Cards - Below Specialties)
   ========================================================================== */
.explore-section {
  background-color: var(--bg-dark);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-app-card {
  background-color: #FFFFFF;
  border-radius: 28px;
  padding: 1.5rem;
  position: relative;
  min-height: 180px;
  box-shadow: var(--shadow-md);
  display: flex;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  overflow: visible;
}

.menu-app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(150, 201, 61, 0.15);
  border-color: var(--primary-fresh);
}

.card-details {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.lang-ar .card-details {
  width: 63%;
}

.card-title {
  font-family: var(--font-english);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark-text);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

body.lang-ar .card-title {
  font-family: 'Goldbill', var(--font-arabic);
  font-size: 1rem;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-category {
  font-size: 0.72rem;
  color: var(--primary-fresh);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.card-price {
  font-family: var(--font-english);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark-text);
}

.card-view-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-fresh);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

body.lang-ar .card-view-link i {
  transform: scaleX(-1);
}

.card-img-container {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(10, 34, 27, 0.1);
  border: 4px solid #FFFFFF;
  top: 50%;
  transform: translateY(-50%);
}

body.lang-en .card-img-container {
  right: -25px;
}

body.lang-ar .card-img-container {
  left: -25px;
}

body.lang-en .menu-app-card {
  padding-right: 95px;
}
body.lang-ar .menu-app-card {
  padding-left: 95px;
}

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

.menu-app-card:hover .card-img-container img {
  transform: scale(1.08) rotate(5deg);
}

@media (max-width: 992px) {
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .menu-app-card {
    min-height: 160px;
  }
  body.lang-en .menu-app-card {
    padding-right: 80px;
  }
  body.lang-ar .menu-app-card {
    padding-left: 80px;
  }
  .card-img-container {
    width: 95px;
    height: 95px;
  }
  body.lang-en .card-img-container {
    right: -15px;
  }
  body.lang-ar .card-img-container {
    left: -15px;
  }
}

/* ==========================================================================
   Freshness Timeline Section
   ========================================================================== */
.timeline-section {
  background-color: var(--bg-card-dark); /* Sage green section background */
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

body.lang-en .timeline-line { left: 32px; }
body.lang-ar .timeline-line { right: 32px; }

.timeline-item {
  position: relative;
  padding-bottom: 3.5rem;
}

body.lang-en .timeline-item { padding-left: 70px; }
body.lang-ar .timeline-item { padding-right: 70px; }

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-card-dark);
  border: 4px solid var(--primary-fresh);
  z-index: 2;
  box-shadow: 0 0 10px rgba(150, 201, 61, 0.2);
}

body.lang-en .timeline-dot { left: 21px; }
body.lang-ar .timeline-dot { right: 21px; }

.timeline-content {
  background-color: var(--bg-card-white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

/* Horizontal Timeline Layout for Desktop (screens > 768px) */
@media (min-width: 769px) {
  .timeline-container {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem 0;
    gap: 1.5rem;
  }

  .timeline-line {
    position: absolute;
    top: 60px;
    bottom: auto;
    height: 2px;
    background-color: var(--border-color);
  }

  body.lang-en .timeline-line,
  body.lang-ar .timeline-line {
    left: 12.5%;
    right: 12.5%;
    width: 75%;
  }

  .timeline-item {
    flex: 1;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  body.lang-en .timeline-item,
  body.lang-ar .timeline-item {
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-dot {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    margin-bottom: 1.5rem;
    z-index: 2;
  }
  
  .timeline-content {
    width: 100%;
    min-height: 190px;
  }
}

/* Compact layout for mobile timeline */
@media (max-width: 768px) {
  .timeline-container {
    padding: 1rem 0;
  }
  .timeline-item {
    padding-bottom: 1.75rem;
  }
  .timeline-content {
    padding: 1rem;
  }
}

.timeline-content:hover {
  transform: translateY(-3px);
  border-color: var(--primary-fresh);
  box-shadow: var(--shadow-md);
}

.timeline-num {
  font-family: var(--font-english);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-fresh);
  margin-bottom: 0.25rem;
  display: block;
}

.timeline-content h3 {
  font-size: 1.2rem;
  color: var(--primary-dark-text);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  body.lang-en .timeline-line { left: 16px; }
  body.lang-ar .timeline-line { right: 16px; }
  body.lang-en .timeline-dot { left: 5px; }
  body.lang-ar .timeline-dot { right: 5px; }
  body.lang-en .timeline-item { padding-left: 40px; }
  body.lang-ar .timeline-item { padding-right: 40px; }
}

/* ==========================================================================
   Testimonials / Reviews Section
   ========================================================================== */
.testimonials-section {
  background-color: #FAFDFB; /* Organic soft light mint background to make white cards pop */
  overflow: hidden;
  position: relative;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.5rem 0;
  width: 100%;
}

.review-card {
  width: 380px;
  flex-shrink: 0;
  background-color: #FFFFFF; /* Pure white crisp background */
  border-radius: 28px;
  border: 2px solid rgba(150, 201, 61, 0.24) !important; /* Slightly more visible organic brand border */
  padding: 2.25rem;
  box-shadow: 0 15px 35px rgba(10, 34, 27, 0.08) !important; /* More prominent shadow for 3D depth */
  position: relative;
  transition: var(--transition-smooth);
}

body.lang-ar .review-card {
  direction: rtl !important;
  text-align: right !important;
}

body.lang-en .review-card {
  direction: ltr !important;
  text-align: left !important;
}

.review-card:hover {
  transform: translateY(-12px) scale(1.03); /* Slightly larger float for extra visual premium pop */
  border-color: var(--primary-fresh) !important;
  box-shadow: 0 25px 50px rgba(150, 201, 61, 0.22) !important; /* Organic glow shadow on hover */
}

@media (max-width: 768px) {
  .review-card {
    width: 100%;
    max-width: 380px;
    padding: 1.75rem;
  }
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  font-size: 2rem;
  color: rgba(150, 201, 61, 0.1);
}

body.lang-en .quote-icon { right: 1.5rem; }
body.lang-ar .quote-icon { left: 1.5rem; }

.review-stars {
  color: #FFB020;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

body.lang-ar .review-text {
  font-style: normal !important; /* Remove oblique slant on Arabic characters */
  font-weight: 600 !important;   /* Clean semi-bold weight */
  color: var(--primary-dark-text) !important; /* Crisp readability with deep brand forest green */
  font-size: 1.05rem !important; /* Slightly larger Arabic text for better readability */
  line-height: 1.85 !important; /* Spacious line-height to make Cairo font look premium and airy */
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-fresh);
}

.user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark-text);
}

.user-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (Accordion-style)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-card-dark); /* Sage green background */
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-container {
  max-width: 750px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--bg-card-white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark-text);
}

body.lang-ar .faq-question {
  font-family: 'Goldbill', var(--font-arabic);
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--primary-fresh);
  transition: transform 0.3s ease;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.75rem;
  border-top: 1px solid transparent;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 1.25rem;
}

.faq-card.open {
  border-color: var(--primary-fresh);
  box-shadow: var(--shadow-md);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
}

.faq-card.open .faq-body {
  max-height: 200px;
  padding-top: 1rem;
  border-top-color: var(--border-color);
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* ==========================================================================
   Urgency Countdown Banner Section (High-contrast Dark Section)
   ========================================================================== */
.promo-section {
  position: relative;
  background-color: #FFFFFF;     /* White Background */
  color: var(--primary-fresh);   /* Light Green text */
  overflow: hidden;
  border-radius: 24px;           /* Cleaner, less bulky radius */
  margin: 0 1.5rem 3.5rem 1.5rem;
  padding: 1.75rem 1.5rem;       /* Thinned down padding for a sleek slim look */
  box-shadow: 0 12px 30px rgba(150, 201, 61, 0.1);
  border: 1.5px solid var(--primary-fresh); /* Slimmer border */
  animation: banner-glow-pulse 6s ease-in-out infinite;
}

@keyframes banner-glow-pulse {
  0% { box-shadow: 0 12px 30px rgba(150, 201, 61, 0.08); border-color: rgba(150, 201, 61, 0.35); }
  50% { box-shadow: 0 12px 40px rgba(150, 201, 61, 0.18); border-color: rgba(150, 201, 61, 0.75); }
  100% { box-shadow: 0 12px 30px rgba(150, 201, 61, 0.08); border-color: rgba(150, 201, 61, 0.35); }
}

@media (max-width: 768px) {
  .promo-section {
    margin: 0 1rem 2.5rem 1rem;
    padding: 1.25rem 0.75rem;   /* Even slimmer padding on mobile */
    border-radius: 18px;
  }
}

.promo-bg-patterns {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  background: radial-gradient(circle at 10% 20%, var(--primary-fresh) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, var(--accent-orange) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating Leaf Element Styles and Animations */
.floating-leaf {
  position: absolute;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2396C93D'><path d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L7.04,18.5C11.6,18.5 15.39,15.53 17,11C19,11 21,9 22,8C22,8 21,8 20,8C20,6 19,5 18,4C18,3 18,2 18,2C17,3 15,5 15,6C14,6 12,6 12,6C13,7 14,8 15,8H17Z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0.14;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.05));
}

.leaf-1 {
  top: 8%;
  left: 6%;
  width: 32px;
  height: 32px;
  animation: float-leaf-y1 8s ease-in-out infinite;
}

.leaf-2 {
  bottom: 8%;
  left: 18%;
  width: 40px;
  height: 40px;
  opacity: 0.09;
  animation: float-leaf-y2 10s ease-in-out infinite;
}

.leaf-3 {
  top: 10%;
  right: 8%;
  width: 28px;
  height: 28px;
  animation: float-leaf-y3 7s ease-in-out infinite;
}

.leaf-4 {
  bottom: 10%;
  right: 15%;
  width: 38px;
  height: 38px;
  opacity: 0.12;
  animation: float-leaf-y1 9s ease-in-out infinite;
}

@keyframes float-leaf-y1 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(45deg) scale(1.05); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes float-leaf-y2 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(-60deg) scale(0.95); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes float-leaf-y3 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(30deg) scale(1.02); }
  100% { transform: translateY(0) rotate(0deg); }
}

.promo-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.promo-tag {
  background-color: var(--accent-orange);
  color: #fff;
  padding: 0.3rem 1.1rem;        /* Thinner tag */
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-block;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(242, 98, 48, 0.25);
}

.promo-content h2 {
  font-size: 1.6rem;             /* Thinner, smaller heading */
  font-weight: 800;
  margin-bottom: 0.5rem;         /* Reduced margin */
  line-height: 1.25;
  color: var(--primary-fresh);   /* Light Green */
}

body.lang-ar .promo-content h2 {
  font-family: 'Goldbill', var(--font-arabic);
  font-size: 1.45rem;            /* Smaller Arabic heading */
}

.promo-content p {
  font-size: 0.85rem;            /* Slimmer body text */
  color: var(--primary-fresh);
  margin-bottom: 1.25rem;        /* Reduced margin */
  opacity: 0.95;
}

/* Countdown Clock */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;                  /* Reduced gap */
  margin-bottom: 1.75rem;        /* Reduced margin */
}

.countdown-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F4F8F6;           /* Soft light sage green */
  border: 1px solid var(--border-color);
  border-radius: 12px;           /* Less bulky radius */
  padding: 0.6rem 0.4rem;        /* Slimmer padding */
  min-width: 80px;               /* Reduced width */
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.countdown-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-fresh);
}

.countdown-value {
  display: block !important;
  font-family: var(--font-english);
  font-size: 1.85rem;            /* Slimmer numbers */
  font-weight: 800;
  color: var(--primary-fresh);   /* Light green numbers */
  line-height: 1.1;
  margin-bottom: 0.1rem;
}

.countdown-label {
  display: block !important;
  font-size: 0.75rem;            /* Smaller labels */
  color: var(--primary-dark-text); /* Deep green label for premium readability */
  line-height: 1;
}

@media (max-width: 768px) {
  .promo-content h2 {
    font-size: 1.35rem;          /* Smaller mobile heading */
  }
  .promo-content p {
    font-size: 0.78rem;
    margin-bottom: 1.1rem;
  }
  .countdown-container {
    gap: 0.4rem;                 /* Tight gap for narrow mobile screens */
    margin-bottom: 1.5rem;
  }
  .countdown-card {
    min-width: 68px;             /* Perfectly fits smallest screens */
    padding: 0.5rem 0.2rem;
    border-radius: 9px;
  }
  .countdown-value {
    font-size: 1.45rem !important;
  }
  .countdown-label {
    font-size: 0.68rem !important;
  }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--primary-dark-text);
  padding: 3rem 0 1.5rem 0;
  border-top: 2px solid transparent;
  border-image: linear-gradient(to right, transparent, var(--primary-fresh), transparent) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.footer-info .logo-text {
  color: var(--primary-dark-text);
  margin-bottom: 0 !important;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 350px;
}

@media (max-width: 992px) {
  .footer-info p {
    margin: 0 auto;
  }
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark-text);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 40px;
  height: 3px;
  background-color: var(--primary-fresh);
  border-radius: 2px;
}

body.lang-en .footer-title::after { left: 0; }
body.lang-ar .footer-title::after { right: 0; }

@media (max-width: 992px) {
  .footer-title::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }
}

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

.footer-links li {
  list-style: none;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

body.lang-en .footer-links a:hover {
  padding-left: 5px;
}
body.lang-ar .footer-links a:hover {
  padding-right: 5px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0.85rem;
}

body.lang-ar .footer-contact ul {
  align-items: flex-start !important;
}

@media (max-width: 992px) {
  .footer-contact ul {
    align-items: center !important;
  }
  .footer-contact li {
    justify-content: center !important;
  }
}

.footer-contact li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0.15rem 0;
}

.footer-contact li:hover {
  color: var(--primary-fresh);
  transform: translateX(4px);
}

body.lang-ar .footer-contact li:hover {
  transform: translateX(-4px);
}

.footer-contact a {
  color: var(--text-muted) !important;
  font-family: var(--font-english) !important;
  font-style: normal !important;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  text-decoration: none !important;
}

.footer-contact li:hover a {
  color: var(--primary-fresh) !important;
}

.footer-contact-link {
  font-family: var(--font-english) !important;
  font-style: normal !important;
}

.footer-contact-svg {
  color: var(--primary-fresh);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.footer-contact li:hover .footer-contact-svg {
  color: var(--accent-orange);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal !important;
}

.copyright-brand {
  color: var(--primary-fresh) !important;
  font-weight: 700 !important;
  font-family: var(--font-english) !important;
  font-style: normal !important;
  display: inline-block !important;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   App-Style Bottom Tab Navigation Bar (Mobile Only - iOS White style)
   ========================================================================= */
.app-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -5px 25px rgba(10, 34, 27, 0.06);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  padding: 0 1rem;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.nav-item i {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  transition: var(--transition-smooth);
}

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

.nav-item:hover {
  color: var(--primary-dark-text);
}

/* Centered Floating Action Button for Delivery (WhatsApp FAB) */
.delivery-fab-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 52px; /* Shrunk slightly as requested */
  height: 52px;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.delivery-fab {
  background-color: #25D366; /* WhatsApp Green */
  color: #FFFFFF;
  width: 52px; /* Shrunk from 65px */
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem; /* Shrunk from 1.6rem */
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  border: 3px solid #FFFFFF; /* Thinner border */
  transition: var(--transition-smooth);
  animation: pulse-fab 2s infinite;
}

.delivery-fab:hover {
  transform: scale(1.1);
  background-color: #1ebd57;
  color: #FFFFFF;
}

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

@media (max-width: 768px) {
  .delivery-fab-wrapper {
    bottom: 85px; /* Above the mobile tab bar (70px) */
    right: 15px;
  }
}

@media (min-width: 769px) {
  .app-nav-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
}

/* ==========================================================================
   Scroll Reveal & General Layout Animations
   ========================================================================== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(60px);
  transition: opacity 1.8s cubic-bezier(0.25, 1, 0.3, 1), transform 1.8s cubic-bezier(0.25, 1.1, 0.5, 1);
}

.reveal-left {
  transform: translateX(-140px);
  transition: opacity 1.8s cubic-bezier(0.25, 1, 0.3, 1), transform 1.8s cubic-bezier(0.25, 1.1, 0.5, 1);
}

.reveal-right {
  transform: translateX(140px);
  transition: opacity 1.8s cubic-bezier(0.25, 1, 0.3, 1), transform 1.8s cubic-bezier(0.25, 1.1, 0.5, 1);
}

/* Swap slide directions in Arabic RTL to maintain "slide-in from sides" behavior */
.lang-ar .reveal-left {
  transform: translateX(140px);
}
.lang-ar .reveal-right {
  transform: translateX(-140px);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0, 0) !important;
}

@media (max-width: 768px) {
  .reveal-left, .reveal-right {
    transform: translateY(40px) !important;
  }
  body.lang-ar .reveal-left, body.lang-ar .reveal-right {
    transform: translateY(40px) !important;
  }
}

.no-js .reveal, .no-js .reveal-left, .no-js .reveal-right {
  opacity: 1;
  transform: none;
}

/* Snappy hover transitions on cards to prevent transition override/lag */
.specialty-card.reveal-left:hover,
.specialty-card.reveal-right:hover,
.specialty-card.reveal:hover,
.menu-app-card.reveal-left:hover,
.menu-app-card.reveal-right:hover,
.menu-app-card.reveal:hover,
.review-card.reveal-left:hover,
.review-card.reveal-right:hover,
.review-card.reveal:hover {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}


/* Scroll Reveal Delay Utilities - only apply delay when revealing (active) */
.delay-100.active  { transition-delay: 0.1s; }
.delay-150.active  { transition-delay: 0.15s; }
.delay-200.active  { transition-delay: 0.2s; }
.delay-250.active  { transition-delay: 0.25s; }
.delay-300.active  { transition-delay: 0.3s; }
.delay-400.active  { transition-delay: 0.4s; }

/* Reset delay when hiding (so re-animation on scroll back is instant start) */
.delay-100, .delay-150, .delay-200, .delay-250, .delay-300, .delay-400 {
  transition-delay: 0s;
}

.explore-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-dark-text);
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .explore-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* ==========================================================================
   Food Details Modal (Popup Dialog System)
   ========================================================================== */
.food-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.food-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 34, 27, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.modal-content {
  position: relative;
  z-index: 10;
  background-color: #FFFFFF;
  width: 90%;
  max-width: 750px;
  border-radius: 32px;
  overflow: visible; /* Allow close button to be visible outside bounds */
  border: 1px solid rgba(150, 201, 61, 0.25);
  box-shadow: 0 25px 60px rgba(10, 34, 27, 0.18);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 2.25rem;
}

.modal-inner {
  overflow-y: auto;
  max-height: 80vh;
  border-radius: 32px;
}

.food-modal.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-dark-text);
  border: 2.5px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 30;
  box-shadow: 0 4px 10px rgba(10, 34, 27, 0.25);
}

body.lang-ar .modal-close {
  left: -14px;
  right: auto;
}

.modal-close:hover {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.modal-img-box {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.modal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary-dark-text);
}

.modal-rating i {
  color: #FFB020;
}

.modal-body h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark-text);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.modal-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.modal-ingredients-section {
  border-top: 1px dashed var(--border-color);
  padding: 1rem 0;
  margin-bottom: 1.25rem;
}

.modal-ingredients-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark-text);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.modal-ingredients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.modal-price-box {
  display: flex;
  flex-direction: column;
}

.modal-old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.modal-new-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.modal-order-btn {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  padding: 0.75rem 1.75rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 15px rgba(242, 98, 48, 0.2);
}

.modal-order-btn:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(242, 98, 48, 0.3);
}

body.lang-ar .modal-order-btn i {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 1.1rem;
    border-radius: 20px;
    width: 93%;
    overflow: visible;
  }
  .modal-inner {
    max-height: 82vh;
    overflow-y: auto;
    border-radius: 20px;
  }
  .modal-close {
    top: -13px;
    right: -8px;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  body.lang-ar .modal-close {
    left: -8px;
    right: auto;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .modal-img-box {
    height: 160px;
  }
  .modal-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }
  .modal-badges {
    margin-bottom: 0.4rem;
  }
  .modal-desc {
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
  }
  .modal-ingredients-section {
    padding: 0.6rem 0;
    margin-bottom: 0.7rem;
  }
  .modal-ingredients-title {
    font-size: 0.75rem;
  }
  .modal-new-price {
    font-size: 1.15rem;
  }
  .modal-old-price {
    font-size: 0.78rem;
  }
  .modal-order-btn {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }
  .modal-footer {
    padding-top: 0.75rem;
  }
}

/* ==========================================================================
   Page Header Banner (Subpages Style)
   ========================================================================== */
.page-header-banner {
  background: linear-gradient(135deg, rgba(150, 201, 61, 0.05) 0%, rgba(242, 98, 48, 0.02) 100%), #FFFFFF;
  padding: 5.5rem 0 1.5rem 0; /* Reduced top/bottom padding for compactness */
  border-bottom: 1px solid rgba(150, 201, 61, 0.12);
  text-align: center;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-header-title {
  font-family: 'Goldbill', 'Cairo', sans-serif;
  font-size: 2.4rem; /* Reduced from 2.8rem */
  color: var(--primary-dark-text);
  margin-bottom: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

body.lang-ar .page-header-title {
  font-size: 2.1rem; /* Reduced from 2.5rem */
  letter-spacing: 0;
}

.page-header-subtitle {
  font-size: 1rem; /* Reduced from 1.1rem */
  color: var(--text-muted);
  line-height: 1.5;
}

body.lang-ar .page-header-subtitle {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .page-header-banner {
    padding: 4.5rem 0 1.25rem 0; /* Reduced from 5rem 0 2rem 0 */
  }
  .page-header-title {
    font-size: 2rem;
  }
  body.lang-ar .page-header-title {
    font-size: 1.8rem;
  }
}


/* ==========================================================================
   New Premium Spacing, Green Glows, and CTA Buttons (Specialty Card & Footer)
   ========================================================================== */
.specialty-btn-group {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.specialty-order-btn {
  background-color: #25D366; /* WhatsApp Green */
  color: #FFFFFF !important;
  border: none;
  padding: 0.45rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.specialty-order-btn i {
  font-size: 0.95rem;
}

.specialty-order-btn:hover {
  background-color: #1ebd57;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(37, 211, 102, 0.25);
}

/* Section Background Green Glow Blobs */
.specialties-section, .categories-section, .timeline-section, .testimonials-section, .reviews-section, .faq-section {
  position: relative;
  overflow: hidden;
}

.specialties-section::before, .categories-section::before, .timeline-section::before, .testimonials-section::before, .reviews-section::before, .faq-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 201, 61, 0.07) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.specialties-section::before { top: -10%; left: -8%; }
.categories-section::before { bottom: -10%; right: -8%; background: radial-gradient(circle, rgba(150, 201, 61, 0.06) 0%, transparent 70%); }
.timeline-section::before { top: 15%; left: 50%; transform: translateX(-50%); }
.testimonials-section::before, .reviews-section::before { bottom: -15%; left: -10%; }
.faq-section::before { top: -10%; right: -8%; }

/* Ensure all section content remains on top of glows */
.specialties-section > *, .categories-section > *, .timeline-section > *, .testimonials-section > *, .reviews-section > *, .faq-section > * {
  position: relative;
  z-index: 2;
}

/* Site Footer Green Glow Spots */
.site-footer {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 85%, rgba(150, 201, 61, 0.06) 0%, transparent 55%),
              radial-gradient(circle at 15% 15%, rgba(150, 201, 61, 0.05) 0%, transparent 45%),
              var(--bg-dark) !important;
}

