@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Tajawal:wght@400;500;700&display=swap');

:root {
  --primary-bg: #050505;
  --secondary-bg: #111111;
  --gold: #D4AF37;
  --gold-hover: #F3E5AB;
  --text-light: #ffffff;
  --text-dim: #cccccc;
  --font-en: 'Outfit', sans-serif;
  --font-ar: 'El Messiri', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bg-dark: var(--primary-bg);
}

/* Animations for Luxury UI */
@keyframes cart-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes badge-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in-up {
  animation: fade-in-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #D4AF37, #F3E5AB, #D4AF37);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-shimmer:hover {
  animation: shimmer 1s infinite linear;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.nav-cart-item a i {
    font-size: 1.5rem !important;
    transition: var(--transition);
}

.nav-cart-item a:hover i {
    animation: cart-bounce 0.5s ease infinite;
    color: var(--gold-hover);
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e74c3c;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 10;
}

.cart-count-badge.animate-pop {
    animation: badge-pop 0.3s ease-out;
}

.cart-count-badge.has-items {
    animation: badge-pulse 2s infinite;
}

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

body {
  font-family: var(--font-en);
  background-color: var(--primary-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* RTL Support for Arabic if needed */
html[lang="ar"] body {
  font-family: var(--font-ar);
  direction: rtl;
}

/* Gold Spinner Loader */
#premium-loader {
    position: fixed;
    inset: 0;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton Loaders for Phase 2 */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-loader {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.03) 25%, 
        rgba(255, 255, 255, 0.08) 37%, 
        rgba(255, 255, 255, 0.03) 63%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 12px;
    display: inline-block;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    width: 100%;
}

.skeleton-text.short { width: 40%; }
.skeleton-text.medium { width: 70%; }
.skeleton-title { height: 24px; margin-bottom: 20px; width: 60%; }

.skeleton-img {
    width: 100%;
    height: 200px;
    border-radius: 20px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

a:hover {
  color: var(--gold);
}

.btn-primary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--primary-bg);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  transform: translateY(-3px);
}

/* Header & Nav - Floating Island with Autonomous Logo */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none; /* Allow clicking through the transparent header area */
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  pointer-events: auto; /* Re-enable pointer events for links */
}

/* Independent Logo Positioning */
.logo {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease;
  pointer-events: auto; /* Re-enable for logo link */
}

.logo img, #site-logo {
  height: 140px; /* Grand logo size for maximum impact */
  width: auto;
  display: block;
  mix-blend-mode: screen !important;
  filter: brightness(1.2) contrast(1.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.3) contrast(1.15);
}

/* The Floating Island (Nav Links only) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 50px; /* Larger header pill */
  border-radius: 100px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transition: all 0.5s ease;
}

/* Scrolled States */
header.scrolled {
  padding: 10px 0;
}

header.scrolled .nav-links {
  background: rgba(5, 5, 5, 0.9);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
}

header.scrolled .logo img {
  height: clamp(60px, 10vw, 80px);
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.1rem; /* Slightly larger text */
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-links li a:hover, .nav-links li a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

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

/* Modern Login Button in Nav */
.nav-links li .btn-primary {
  padding: 8px 25px;
  font-size: 0.9rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  color: var(--gold);
  text-transform: none;
  font-weight: 600;
  transition: all 0.4s ease;
}

.nav-links li .btn-primary:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* Account Dropdown System */
.account-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    width: 200px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    z-index: 1001;
    animation: dropdownSlide 0.3s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.account-dropdown.show {
    display: flex;
}

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

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    color: #eee;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: right;
    white-space: nowrap;
}

.dropdown-link i {
    color: var(--gold);
    width: 20px;
}

.dropdown-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    transform: translateX(-5px);
}

.dropdown-link.logout {
    color: #ff4444;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5px;
    padding-top: 15px;
}

.dropdown-link.logout i {
    color: #ff4444;
}

.dropdown-link.logout:hover {
    background: rgba(255, 0, 0, 0.05);
}

.nav-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    object-fit: cover;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Glassmorphism Classes */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Hero Section with Dynamic Video Background */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #050505;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #050505;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* Premium dark aesthetic */
    transition: opacity 1s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 60px 40px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  animation: slideUp 1.2s ease-out forwards;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #fff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p {
  color: #eee;
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

/* Sections */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;           /* Global Visibility Failsafe */
  transform: translateY(0);
  transition: opacity 1s ease-out, transform 1s ease-out;
  background: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 40px;
  margin: 20px auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: opacity 1s ease-out, transform 1s ease-out, border-color 0.4s ease, box-shadow 0.4s ease;
}

.section:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.1), 0 0 30px rgba(0,0,0,0.6);
}

.section + .section {
  position: relative;
  margin-top: 40px;
}

.section + .section::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section.reveal {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 1;           /* Global Visibility Failsafe */
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}


.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  z-index: 5;
  animation: fadeIn 2s ease-out;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--gold);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

.scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}


/* Enhanced Service Cards */
.card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: #000;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card-benefits {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.card-benefits li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-benefits li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold);
  font-size: 0.7rem;
}

/* Offer Vouchers */
.voucher {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(10, 10, 10, 0.9));
  border: 2px solid var(--gold);
  border-style: dashed;
  padding: 0; /* Remove padding to handle image */
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.voucher-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px dashed var(--gold);
  opacity: 0.6;
  transition: var(--transition);
}

.voucher:hover .voucher-img {
  opacity: 1;
}

.voucher-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.voucher-content h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.voucher-content p {
  color: var(--text-dim);
  margin-bottom: 15px;
  min-height: 3em;
}

.voucher-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.voucher-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 10px 0;
}

.voucher-original-price {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    position: relative;
}

.voucher-original-price span {
    text-decoration: line-through;
    color: #fff;
    opacity: 0.7;
    font-weight: 600;
}

.secondary-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.voucher-details-btn {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.voucher-details-btn:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.05);
}

.buy-now-btn {
    width: 100%;
    padding: 14px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: #000;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

.wa-secondary-btn {
    width: 45px;
    height: 45px;
    background: #25D366;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.voucher-share-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.wa-secondary-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.voucher-share-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

/* Premium Badge System */
.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--gold), #f3e5ab);
    color: #000;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    pointer-events: none;
    letter-spacing: 1px;
}

.voucher-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px dashed var(--gold);
}

.voucher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.5s ease;
}

.voucher:hover .voucher-img {
    opacity: 1;
    transform: scale(1.1);
}
.voucher::before, .voucher::after {
  content: '';
  position: absolute;
  width: 38px;
  height: 38px;
  background: var(--primary-bg);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.voucher::before {
  right: -20px;
  border-left: 2px dashed var(--gold);
}

.voucher::after {
  left: -20px;
  border-right: 2px dashed var(--gold);
}

.voucher:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(212, 175, 55, 0.15);
}

.voucher-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
}

.voucher-expiry {
  display: inline-block;
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-top: 10px;
}

/* Carousel System */
.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-container {
  display: flex !important;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 40px;
  scrollbar-width: none; /* Hide standard scrollbar */
  -ms-overflow-style: none;
  padding: 40px 10px;
}

.carousel-container.centered {
  justify-content: center;
  overflow-x: visible; /* Prevent scrollbar if centered */
}

.carousel-container::-webkit-scrollbar {
  display: none; /* Hide for Chrome/Safari */
}

.carousel-container > * {
  flex: 0 0 calc(33.333% - 20px);
  scroll-snap-align: center;
  min-width: 320px;
}

@media (max-width: 1024px) {
  .carousel-container > * { flex: 0 0 45%; }
}

@media (max-width: 768px) {
  .carousel-container > * { flex: 0 0 85%; }
}

/* Custom Horizontal Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0; /* Changed from negative margin to standard margin */
  position: relative; /* Ensure it's not absolute */
  z-index: 10;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.scroll-dot.active {
  background: var(--gold);
  width: 25px;
  border-radius: 10px;
}

/* Search Bar Styles */
.search-section {
    max-width: 600px;
    margin: 20px auto 60px;
    position: relative;
    z-index: 100;
    padding: 0 20px;
    animation: fadeInDown 1s ease-out 0.5s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 18px 55px 18px 25px;
    border-radius: 50px;
    color: white;
    font-family: var(--font-ar);
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.2), 0 0 0 4px rgba(212, 175, 55, 0.05);
}

.search-icon {
    position: absolute;
    right: 20px;
    color: var(--gold);
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 2;
}

/* Search Suggestions - Premium Glassmorphism */
.search-suggestions-container {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 24px;
    overflow: hidden;
    display: none;
    z-index: 1000;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 20px rgba(212, 175, 55, 0.1);
    padding: 10px 0;
    animation: suggestionFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes suggestionFadeIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.search-suggestions-container.show {
    display: block;
}

.suggestion-item {
    padding: 15px 25px;
    color: #eee;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-family: var(--font-ar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover, .suggestion-item.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding-right: 35px; /* Subtle slide effect for RTL */
}

.suggestion-item i {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
}

.suggestion-highlight {
    color: var(--gold);
    font-weight: 700;
}

.suggestion-category {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-right: auto;
    background: rgba(255,255,255,0.05);
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.suggestion-header {
    padding: 10px 25px 5px;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.6;
}
.carousel-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-nav:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.carousel-nav.prev { right: -60px; }
.carousel-nav.next { left: -60px; }

@media (max-width: 1400px) {
  .carousel-nav.prev { right: 10px; }
  .carousel-nav.next { left: 10px; }
}

@media (max-width: 768px) {
  .carousel-nav { display: none; } /* Hide on mobile - touch scroll is enough */
}

/* Scrollbar refinement for desktop visibility */
.carousel-container {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 0 30px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .carousel-container {
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 40px 30px; /* Increased padding for shadow and peek */
    margin: 0;
  }
}

.carousel-container::-webkit-scrollbar {
  height: 6px;
  display: block;
}

.carousel-container::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

/* Services Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.card-img, .voucher-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.card:hover .card-img, .card:hover .voucher-img {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3, .voucher-content h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-family: 'El Messiri', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.card-content p, .voucher-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  font-family: 'Outfit', 'El Messiri', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 5.4em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Fix for unintended vertical text artifacts */
.voucher-img-container::before, .voucher-img-container::after,
.card-img-container::before, .card-img-container::after {
    display: none !important;
}

/* Premium Button Refinement - Removed as per user request */
.btn-primary:hover {
    background: var(--gold) !important;
    color: #000 !important;
}

/* Footer */
footer {
  background: #080808;
  padding: 80px 20px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
  .carousel-container .card, 
  .carousel-container .voucher {
    min-width: calc(100vw - 80px) !important; /* Slightly smaller for better peek */
    width: calc(100vw - 80px) !important;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin: 0;
  }
  
  /* Ensure images match the new mobile width */
  .carousel-container .voucher-img-container,
  .carousel-container .card-img-container {
      height: 250px !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.6); }
  100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.3); }
}

.glow-effect {
  animation: glow 3s infinite alternate;
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {

  .nav-container {
    padding: 0 20px;
    justify-content: space-between;
  }

  .logo {
    position: static;
    transform: none;
  }

  .logo img, #site-logo {
    height: 70px !important; /* Larger on mobile too */
  }

  /* Removed old conflicting pill-menu styles for .nav-links on mobile. Mobile now relies purely on the sidebar menu logic later in the file. */

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-col p {
    text-wrap: balance; /* Fix for orphaned words */
  }

  .section {
    padding: 60px 20px;
  }
}

/* Countdown Timer */
.countdown-timer {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  animation: pulseGold 2s infinite ease-in-out;
}

.countdown-timer:empty, .countdown-timer:has(.time-left:empty) {
    display: none !important;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* WhatsApp Button */
.voucher-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.whatsapp-book-btn {
    background: #25d366;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.whatsapp-book-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.voucher .btn-primary {
    background: transparent !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: var(--gold) !important;
    padding: 10px !important;
    font-size: 0.9rem !important;
    justify-content: center !important;
}

.voucher .btn-primary:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: var(--gold) !important;
}

/* FAQ Section Enhancements */
.faq-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.02));
}

#faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.faq-item {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

.faq-question i {
    color: var(--gold);
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question {
    background: rgba(212, 175, 55, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 30px;
    color: #bbb;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 30px 30px;
}
/* Glassmorphism & Modern UI Enhancements */


/* Subpage Hero */

/* Scroll Indicator (Hero) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 20px); }
}

.scroll-text {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section Header & Lines */


/* Carousel Scroll Indicator Dots */

.scroll-dot.active {
    background: var(--gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--gold);
}

/* Card Benefits */
.card-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 0.95rem;
}

.card-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #ddd;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .subpage-hero h1 {
        font-size: 2.2rem;
    }
    
    .glass-card {
        margin-bottom: 20px;
    }
}

/* Carousel Styling */
.carousel-wrapper {
    position: relative;
    padding: 0 40px;
    margin: 40px 0;
}

.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: var(--gold);
    color: var(--primary-bg);
}

.carousel-nav.prev { right: 0; }
.carousel-nav.next { left: 0; }

/* Horizontal Dot Fix */
.scroll-indicator-dots {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: nowrap;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    transition: 0.3s;
}

.scroll-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* Section Header & Formatting */
.section-header {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.section-title {
    color: var(--gold);
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin: 0 auto 10px;
}

/* Clean up Divider */
.header-line {
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 15px auto 0;
    border: none;
    position: relative; /* Ensure it's not absolute */
    right: auto; /* Reset old absolute positioning */
}

/* Subpage Hero (Consolidated) */
.subpage-hero {
    height: 65vh; 
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-bg);
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.subpage-hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 100px 40px 60px; /* Increased top padding to clear navbar */
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: slideUp 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.subpage-hero-content h1 {
    font-size: clamp(3rem, 10vw, 4.5rem);
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(to bottom, #fff 40%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.subpage-hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Bella Moments (Vertical Videos) Styles */
.reels-container-wrapper {
    width: 100%;
    margin-top: 20px;
    padding: 0 10px;
}

.filter-tabs, .branch-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 5px 15px;
    scrollbar-width: thin !important;
    scrollbar-color: var(--gold) rgba(255,255,255,0.05) !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.filter-tab, .branch-tab {
    flex-shrink: 0;
}

/* Custom scrollbar for WebKit */
.filter-tabs::-webkit-scrollbar, .branch-tabs::-webkit-scrollbar {
    height: 4px;
}

.filter-tabs::-webkit-scrollbar-track, .branch-tabs::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
}

.filter-tabs::-webkit-scrollbar-thumb, .branch-tabs::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.reels-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 40px; /* Stronger peek effect */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reel-card {
    flex: 0 0 340px; /* Slightly wider to match height */
    height: 600px; /* Increased height for immersive feel */
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    scroll-snap-align: center;
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

@media (max-width: 768px) {
    .reel-card {
        flex: 0 0 280px; /* Larger reach */
        height: 500px; /* Reel aspect ratio */
        scroll-snap-align: center;
    }
}

.reel-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.reel-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-family: var(--font-ar);
}

.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
    pointer-events: none;
}

.reel-card:hover .reel-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold);
    color: #000;
    opacity: 1;
}

/* Hide play button when video is playing */
.reel-card:hover .reel-play-btn, 
.reel-card:active .reel-play-btn {
    opacity: 0;
}

/* Video Modal (Lightbox) */
#video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    padding: 20px;
}

.modal-content-video {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 90vh;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--gold);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

#modal-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.close-modal-btn:hover {
    background: var(--gold);
    color: #000;
    transform: rotate(90deg);
}

/* Reels Scroll Arrows */
.reels-container-wrapper {
    position: relative;
    padding: 0 40px; /* Space for arrows */
}

.reel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    opacity: 0;
}

.reels-container-wrapper:hover .reel-nav {
    opacity: 1;
}

.reel-nav:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.reel-nav.prev { right: 10px; }
.reel-nav.next { left: 10px; }

@media (max-width: 1024px) {
    .reel-nav { display: none; }
    .reels-container-wrapper { padding: 0 10px; }
}

/* Specialty & Branch Filtering Modern Container */
.filters-container {
    max-width: 850px;
    margin: 40px auto;
    padding: 20px 30px;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 35px;
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.filter-section-title {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.filter-tabs, .branch-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

.filter-tabs::-webkit-scrollbar, .branch-filters::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.filter-tabs { margin-bottom: 25px; }

.filter-tab, .branch-tab {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #bbb;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab.active, .filter-tab:hover,
.branch-tab.active, .branch-tab:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Enhanced Doctor Card */
.doctor-card {
    position: relative;
    overflow: visible !important;
}

.experience-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.1);
}

.featured-doctor-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    border: 1px solid var(--gold);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modal Social Media Section */
.modal-social-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.modal-social-title {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.modal-social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    color: #fff;
    font-size: 0.95rem;
    transition: var(--transition);
}

.modal-social-item i {
    font-size: 1.4rem;
}

.modal-social-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.doctor-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.card-social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 119, 242, 0.1);
    border: 1px solid rgba(24, 119, 242, 0.3);
    color: #1877f2;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.card-social-icon:hover {
    background: #1877f2;
    color: #fff;
    transform: scale(1.1);
}

.doctor-socials a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* Glass Card fix and solid background fallback */
.glass-card {
    background: rgba(15, 15, 15, 0.85); /* زيادة عتامة الخلفية لمنع التداخل */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.doctor-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden !important; /* منع أي محتوى من الخروج عن حدود البطاقة */
    background: #0a0a0a; /* خلفية صلبة احتياطية */
}

.doctor-image-container {
    width: 100%;
    height: 350px; /* طول ثابت وموحد لكافة الصور */
    position: relative;
    overflow: hidden;
    background: #111;
}

.doctor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* لضمان ملء الصورة للحاوية دون تشوه */
    display: block;
}

.doctor-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doctor-bio-peek {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin: 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; /* ارتفاع محدد لضمان التناسق */
}

/* Schedule Refinements */
.doctor-schedule {
    margin: 10px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.82rem;
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.doctor-schedule.expanded {
    max-height: 500px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-item:last-child {
    border-bottom: none;
}

.show-more-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 5px;
    margin-top: 5px;
    text-decoration: underline;
    width: 100%;
    text-align: center;
}

/* Global Search Bar Styles */
.search-wrapper {
    max-width: 600px;
    margin: 10px auto 40px; /* Moved down to clear the hero scroll indicator */
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.search-input-group {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.search-wrapper input {
    background: none;
    border: none;
    color: #fff;
    padding: 15px 0;
    width: 100%;
    font-size: 1rem;
    outline: none;
}

/* Services Selection Grid for Admin */
.services-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #333;
    max-height: 250px;
    overflow-y: auto;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 35px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
    color: #ccc;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #111;
    border: 1px solid #444;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #222;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--gold);
    border-color: var(--gold);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Live Badge Styling */
.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Specialized Service Tags in Modal */
/* Interactive Branch Map Styles */
.locations-section {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-map-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.branch-map-card:hover {
    transform: translateX(-10px);
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.branch-map-card.active {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.branch-icon {
    font-size: 1.2rem;
    transition: 0.3s;
}

.branch-map-card:hover .branch-icon {
    transform: scale(1.1);
    background: var(--gold) !important;
    color: #000 !important;
}

.map-container-wrapper {
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.map-container-wrapper iframe {
    transition: filter 0.5s ease;
}

.map-container-wrapper:hover iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(100%) contrast(100%) !important;

}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 20px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pagination-btn.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255,255,255,0.05);
}

.pagination-dots {
    color: #444;
    padding: 0 5px;

}

/* Secondary Gold Button */
.btn-secondary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Modal Share Item */
.modal-social-item.share-link {
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
}

.modal-social-item.share-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid var(--gold);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUpToast 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    font-weight: 600;
    pointer-events: auto;
    direction: rtl;
}

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

.toast.fade-out {
    animation: slideDownToast 0.4s ease forwards;
}

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

.toast i {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Featured Doctor Glow Effect */
.featured-glow {
    position: relative;
    overflow: hidden;
    border-color: var(--gold) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2) !important;
}

.featured-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, var(--gold), transparent, var(--gold), transparent);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: inherit;
    animation: glowMove 8s linear infinite;
    opacity: 0.3;
    filter: blur(8px);
}

@keyframes glowMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Premium Search Suggestions Plus */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top: none;
    border-radius: 0 0 15px 15px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
    display: none;
    box-sizing: border-box;
    direction: rtl;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: right;
}

.suggestion-item:last-child { border-bottom: none; }

.suggestion-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.suggestion-item i {
    color: var(--gold);
    font-size: 0.9rem;
    opacity: 0.7;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
}

.suggestion-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.suggestion-meta {
    font-size: 0.75rem;
    color: #888;
}
/* Toast Animations */
@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Offer Share Styles */
.share-btn-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.share-btn-category:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

.offer-location-badge {
    position: absolute;
    top: 55px; /* Below countdown if exists */
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer-location-badge i {
    color: var(--gold);
    font-size: 0.7rem;
}


.highlight-shared {
    animation: highlightPulse 2s ease-in-out infinite;
    border: 2px solid var(--gold) !important;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.5); }
    100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
}

/* Centered Chic Category Headers & Luxury Arched Divider */
.centered-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0 30px; /* Moderate margins to prevent "cramped" feel */
    width: 100%;
}

.centered-header::after {
    content: '';
    width: 300px;
    height: 15px;
    background-image: 
        radial-gradient(circle at center, var(--gold) 2px, transparent 3px),
        linear-gradient(90deg, transparent, var(--gold), transparent);
    background-size: 15px 15px, 100% 1px;
    background-position: center bottom, center bottom;
    background-repeat: no-repeat;
    margin-top: 20px;
    opacity: 0.6;
}

.category-badge-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.category-chic-badge {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(15, 15, 15, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 18px 60px;
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateX(10deg);
    transition: all 0.4s ease;
}

.category-chic-badge:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

.category-chic-badge h2 {
    margin: 0;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5);
    font-family: 'Outfit', sans-serif;
}

.floating-share {
    position: absolute;
    left: 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    opacity: 0.8;
}

.floating-share:hover {
    opacity: 1;
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.floating-share i {
    font-size: 1rem;
}

/* Mobile Responsive Fix for Category Headers */
@media (max-width: 768px) {
    .category-badge-wrapper {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 10px !important;
        align-items: center !important;
    }
    
    .floating-share {
        position: static !important; /* Remove absolute positioning on mobile */
        width: fit-content !important;
        order: 2 !important; /* Move below the category badge */
        padding: 8px 18px !important;
        font-size: 0.8rem !important;
        margin-top: 5px !important;
    }
    
    .category-chic-badge {
        padding: 12px 25px !important;
        width: 100% !important;
        max-width: 320px !important;
        order: 1 !important;
        transform: none !important; /* Disable 3D effect on mobile */
    }
    
    .category-chic-badge h2 {
        font-size: 1.4rem !important;
        letter-spacing: 1px !important;
    }
    
    .centered-header::after {
        width: 150px !important; /* Shorter line on mobile */
    }
}

/* Professional Share Modal - Premium Glassmorphism */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.share-modal-content {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(10, 10, 10, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    padding: 0; /* Handled by header/body */
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.05);
    animation: slideUpModal 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

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

.share-modal-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.share-modal-header h3 {
    color: var(--gold);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.close-share {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-share:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.share-options {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.share-opt-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.share-opt-btn i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.share-opt-btn span {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.share-opt-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.share-opt-btn:hover i {
    transform: scale(1.15);
}

.share-opt-btn.whatsapp i { color: #25D366; }
.share-opt-btn.facebook i { color: #1877F2; }
.share-opt-btn.messenger i { color: #0084FF; }
.share-opt-btn.instagram i { color: #E4405F; }
.share-opt-btn.copy i { color: var(--gold); }
.share-opt-btn.more i { color: #bbb; }

@media (max-width: 450px) {
    .share-modal-content {
        max-width: 100%;
        margin-bottom: 20px;
        border-radius: 32px 32px 0 0;
        position: fixed;
        bottom: 0;
        animation: slideUpMobile 0.4s ease;
    }
}
@keyframes slideUpMobile {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    z-index: 1000;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-cart-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: none; /* Shown via JS */
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* Shopping Cart Side Modal */
.cart-side-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.cart-side-modal.show {
    visibility: visible;
    opacity: 1;
}

.cart-modal-content {
    position: absolute;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--primary-bg);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.cart-side-modal.show .cart-modal-content {
    right: 0;
}

.cart-modal-header {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-cart:hover {
    color: var(--gold);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
}

.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 5px;
}

.cart-item-info p {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.remove-item {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-item:hover {
    background: #ff4444;
    color: #fff;
}

.cart-footer {
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-total span:first-child {
    color: var(--text-dim);
    font-weight: 500;
}

#cart-total-price {
    color: var(--gold);
}

/* Mobile Responsiveness for Offers */
@media (max-width: 768px) {
    .service-modal-card {
        max-height: 95vh;
        width: 95%;
    }
    .modal-body {
        padding: 20px;
    }
    .modal-banner {
        height: 180px;
    }
    .modal-body h2 {
        font-size: 1.5rem;
    }
    .floating-cart-btn {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }

    .cart-modal-content {
        width: 100%;
        right: -100%;
    }

    .voucher {
        margin-bottom: 20px;
    }

    .voucher-content {
        padding: 20px;
    }

    .voucher-content h3 {
        font-size: 1.5rem;
    }

    .carousel-container {
        padding: 10px;
        overflow-x: auto;
        display: flex;
        gap: 15px;
        scroll-snap-type: x mandatory;
    }

    .voucher {
        min-width: 280px;
        scroll-snap-align: center;
    }
    
    .logo img {
        height: 80px !important;
    }
}

/* Why Choose Us Enhanced Cards */
.why-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 35px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.why-card:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(212, 175, 55, 0.15);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--gold);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    z-index: 1;
}

.why-icon-box i {
    font-size: 2.8rem;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.why-card:hover .why-icon-box {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.why-card:hover .why-icon-box i {
    transform: rotateY(180deg);
    filter: none;
}

.why-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.why-card:hover h3 {
    color: var(--gold);
}

.why-card p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    transition: color 0.3s ease;
}

.why-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}


/* --- Mobile Optimization (992px and below) --- */
@media (max-width: 992px) {
    /* Navbar & Mobile Menu */
    .nav-container {
        padding: 0 20px;
        justify-content: space-between;
    }

    .logo {
        position: static;
        transform: none;
        order: 1;
    }

    .logo img {
        height: 70px !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        order: 2;
        background: transparent;
        border: none;
        color: var(--gold);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 10px;
        z-index: 1002;
        transition: var(--transition);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        padding: 100px 40px;
        border-radius: 0;
        border: none;
        border-left: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: -15px 0 40px rgba(0,0,0,0.8);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        pointer-events: auto;
        overflow-y: auto;
    }

    /* Fix User Dropdown overlap in mobile menu */
    .account-nav-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
    }
    .account-dropdown {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.03) !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 12px !important;
        padding: 0 !important;
        margin-top: 10px;
    }

    .nav-links.show {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: right;
    }

    .nav-links li a {
        font-size: 1.4rem;
        display: block;
        padding: 10px 0;
    }

    .nav-links li .btn-primary {
        width: 100%;
        font-size: 1.1rem;
        padding: 15px;
        margin-top: 10px;
    }

    .nav-cart-item {
        margin-right: 0 !important;
        order: 3;
    }

    /* Hero & Typography */
    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem) !important;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .section {
        padding: 40px 15px !important;
        border-radius: 25px !important;
    }

    /* Booking Steps Fix */
    .progress-steps {
        overflow-x: auto;
        padding-bottom: 20px;
        justify-content: flex-start !important;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .step-item span {
        font-size: 0.75rem !important;
        white-space: nowrap;
    }

    .step-circle {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
}

/* Mobile Menu Overrides & Helpers */
@media (max-width: 992px) {
    .nav-actions-mobile { display: flex !important; }
    .desktop-only { display: none !important; }
}

/* --- Booking Page Enhancements --- */

/* Skeleton Loader Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-card {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.02) 25%, 
        rgba(255,255,255,0.05) 50%, 
        rgba(255,255,255,0.02) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 25px;
    height: 180px;
}

/* Staggered Entrance Animation */
@keyframes fadeInUpStaggered {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUpStaggered 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* Search Input Styles */
.search-container {
    margin-bottom: 25px;
    position: relative;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: #fff;
    font-size: 0.95rem;
    transition: 0.3s;
}

.search-container input:focus {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    outline: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.search-container i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    opacity: 0.7;
}

/* Mobile Sticky Summary Bar */
.mobile-sticky-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 15px 20px;
    display: none; /* Hidden by default, shown via JS on mobile */
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-summary-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-summary-label {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: bold;
}

.mobile-summary-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Success Modal Enhancements */
#success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    overflow-y: auto; /* Allow scrolling for tall content */
    padding: 30px 0;
}

#success-modal.active {
    display: flex;
}

.success-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 35px;
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    width: 95%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212, 175, 55, 0.1);
    transform: scale(0.9);
    opacity: 0;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: auto; /* Center for scrolling */
}

@media (max-width: 768px) {
    .success-card {
        padding: 30px 20px;
        border-radius: 25px;
    }
}

#success-modal.active .success-card {
    transform: scale(1);
    opacity: 1;
}

.success-icon {
    font-size: 5rem;
    color: #2ecc71;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.4));
    animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@media (max-width: 768px) {
    .success-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    .success-card h2 {
        font-size: 1.5rem !important;
    }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.serial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
}

.serial-tag {
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed var(--gold);
    color: var(--gold);
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.booking-recap {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recap-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.recap-item:last-child { margin-bottom: 0; }

.recap-label { color: #888; }
.recap-value { color: #ddd; font-weight: 600; }

/* Confetti Particles */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 2001;
    pointer-events: none;
}

@keyframes confetti-fall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.btn-glass-gold {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    width: 100%; /* Default for mobile */
}

.btn-glass-gold:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 35px;
    width: 100%;
}

.success-actions button, .success-actions .calendar-wrapper {
    width: 100%;
}

@media (min-width: 768px) {
    .success-actions {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    .success-actions button, .success-actions .calendar-wrapper {
        flex: 1;
        max-width: 180px;
        width: auto;
    }
}

.calendar-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: #fff;
}

.calendar-wrapper {
    position: relative;
    width: 100%;
}

.calendar-menu {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    width: 220px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 2005;
    opacity: 0;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.calendar-menu.active {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.menu-item {
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: right;
}

.menu-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.menu-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.calendar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2004;
    display: none;
}

/* Initially hide the hamburger menu and mobile actions on desktop */
.mobile-menu-toggle, .nav-actions-mobile {
    display: none;
}

.desktop-only {
    display: flex !important;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }
    .nav-actions-mobile {
        display: flex !important;
    }
}

/* Fix for horizontal overflow of navbar in some screens */
header {
    pointer-events: auto;
    background: transparent;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.95); /* Keep it dark enough for readability but thin */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    header {
        padding: 8px 0 !important;
        background: transparent !important;
    }
    
    header.scrolled {
        background: rgba(10, 10, 10, 0.8) !important;
        padding: 5px 0 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
    
    .logo {
        right: 15px !important;
    }
    
    .logo img, #site-logo {
        height: 60px !important; /* Slightly smaller for better fit */
        width: auto !important;
    }
    
    header.scrolled .logo img {
        height: 40px !important;
    }

    .nav-actions-mobile {
        left: 15px !important;
        gap: 15px !important;
        align-items: center !important;
    }

    /* Prevent content overlap with fixed header on mobile */
    .subpage-hero {
        min-height: 380px !important;
        height: 50vh !important;
    }
    
    .subpage-hero .scroll-indicator {
        display: none !important; /* Hide to prevent overlapping with text in limited vertical space */
    }

    .subpage-hero-content {
        padding-top: 140px !important; /* Increased from 100px to fully clear the header */
        padding-bottom: 40px !important;
    }

    .centered-header {
        margin-top: 80px !important; /* Increased from 50px */
        margin-bottom: 25px !important;
    }
}

/* Premium Universal Footer */
footer {
    width: 100%;
    background: linear-gradient(to bottom, #080808, #030303);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1300px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: right;
    padding: 0 40px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col p {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-dim);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

/* Social Icons Glow */
#footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

#footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#footer-socials a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    opacity: 0;
    transition: 0.4s;
    z-index: 0;
}

#footer-socials a:hover {
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

#footer-socials a:hover::before {
    opacity: 1;
}

#footer-socials a i {
    position: relative;
    z-index: 1;
}

/* Footer Bottom Section */
.footer-bottom {
    width: 100%;
    max-width: 1300px;
    margin-top: 50px;
    padding: 20px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    footer { padding: 40px 15px 30px; }
    .footer-container { 
        grid-template-columns: 1fr;
        gap: 0; /* Removing gap for collapsible feel */
        text-align: right; /* Explicitly RTL for mobile */
    }
    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 10px;
        margin-bottom: 10px;
        align-items: flex-start;
    }
    .footer-col:last-child { border-bottom: none; }
    
    .footer-col h4 {
        width: 100%;
        padding: 15px 0;
        margin: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .footer-col h4::after {
        content: '\f0fe'; /* FontAwesome Plus */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: static;
        right: auto;
        transform: none;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    .footer-col.active h4::after {
        content: '\f146'; /* FontAwesome Minus */
        transform: rotate(180deg);
        color: var(--gold);
    }

    .footer-col ul, .footer-col p {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 0 !important;
        opacity: 0;
    }
    .footer-col.active ul, .footer-col.active p {
        max-height: 500px; /* Large enough for content */
        opacity: 1;
        padding-bottom: 15px;
    }

    .footer-col p { text-align: right; }
    .footer-col ul li a { justify-content: flex-start; transform: none !important; }
    #footer-socials { justify-content: flex-start; padding-bottom: 10px; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-top: 20px;
        padding: 20px 20px 0;
        font-size: 0.8rem;
    }
}

/* Small Mobile Optimization (Phones < 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem) !important;
    }
    
    .logo img, #site-logo {
        height: 75px !important;
    }
    
    header.scrolled .logo img {
        height: 60px !important;
    }
    
    .section {
        padding: 35px 15px;
        margin: 15px 10px;
        border-radius: 25px;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .card {
        min-width: 260px !important;
    }
    
    .testimonial-item {
        min-width: 280px !important;
        padding: 10px;
    }
    
    .testimonial-card {
        padding: 25px;
        min-height: auto;
    }
}

/* Extra Small Mobile (Phones < 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.9rem !important;
    }
    
    .logo img, #site-logo {
        height: 65px !important;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .card {
        min-width: 230px !important;
    }
    
    .section-title {
        font-size: 1.35rem !important;
    }
}

/* Intermediate screens (Small Laptops / Large Tablets) */
@media (min-width: 993px) and (max-width: 1200px) {
    .nav-links {
        padding: 12px 30px;
        gap: 15px;
    }
    .nav-links li a {
        font-size: 0.95rem;
    }
    .logo img, #site-logo {
        height: 100px;
    }
    header.scrolled .logo img {
        height: 70px;
    }
}
/* Medium Desktop & Laptop Optimization (992px to 1366px) */
@media (max-width: 1400px) {
    .nav-container { padding: 0 30px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 0.9rem; }
}

@media (max-width: 1280px) {
    .main-content {
        margin-right: 240px !important;
        padding: 30px 25px !important; /* تقليل الهوامش الجانبية في الآدمن */
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 15px !important;
    }
    
    .dashboard-container {
        width: 98vw !important;
        max-width: 100% !important;
        height: 92vh !important;
        grid-template-columns: 240px 1fr !important; /* تصغير السايدبار في الأكونت */
    }
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem !important; }
    .nav-links a.btn-primary { padding: 8px 12px !important; font-size: 0.8rem !important; }
    
    /* Ensure tables don't overflow on small laptops */
    .admin-card { overflow-x: auto; }
}

/* =========================================
   Service Details Modal (Luxury Look)
   ========================================= */
#service-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#service-details-modal.active {
    opacity: 1;
}

.service-modal-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(40px) scale(0.98);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 20px rgba(212,175,55,0.1);
}

#service-details-modal.active .service-modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--gold);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.modal-close-btn:hover {
    background: var(--gold);
    color: #000;
    transform: rotate(90deg);
}

.modal-banner {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.modal-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-modal-card:hover .modal-banner img {
    transform: scale(1.05);
}

.modal-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10,10,10,1), transparent);
}

.modal-body {
    padding: 35px;
    direction: rtl;
    text-align: right;
}

.modal-body h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.modal-subtitle {
    color: var(--gold);
    opacity: 0.6;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: block;
}

.modal-description {
    color: var(--text-dim);
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.modal-benefits-title {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.modal-benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-bottom: 35px;
}

.modal-benefits-list li {
    background: rgba(212, 175, 55, 0.05);
    padding: 12px 18px;
    border-radius: 12px;
    border-right: 4px solid var(--gold);
    font-size: 0.95rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.card-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

/* Custom Scrollbar for Modal */
.service-modal-card::-webkit-scrollbar {
    width: 6px;
}
.service-modal-card::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.service-modal-card::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

/* Response Fixes for Mobile */
@media (max-width: 768px) {
    .service-modal-card {
        max-height: 95vh;
        width: 95%;
    }
    .modal-body {
        padding: 20px;
    }
    .modal-banner {
        height: 180px;
    }
    .modal-body h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card-actions {
        flex-direction: column;
        gap: 8px;
    }
    .btn-outline-gold, .btn-primary {
        width: 100%;
        font-size: 0.9rem !important;
        padding: 10px !important;
    }
    .modal-footer {
        flex-direction: column;
    }
    .modal-benefits-list li {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* Typography Enhancements */
.modal-description {
    text-align: justify;
    line-height: 2 !important;
}
.desc-header {
    display: block;
    color: var(--gold);
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 5px;
}
.desc-header:first-child {
    margin-top: 10px;
}
