@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: 'Poppins', sans-serif;
  --font-ar: 'Tajawal', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bg-dark: var(--primary-bg);
}

* {
  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); }
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
}

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: 90px;
}

.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: 0;
  transform: translateY(30px);
  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: translateY(0);
}



.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: 20px;
}

/* 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: 40px;
  height: 40px;
  background: var(--primary-bg);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

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

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

.voucher:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.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;
}

.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: 30px;
  text-align: center;
}

.card-content h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--text-light);
}

.card-content p {
  color: var(--text-dim);
  margin-bottom: 25px;
  font-size: 1rem;
}

/* 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(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  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-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* 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 */
  }

  .nav-links {
    display: flex !important;
    position: static;
    width: auto;
    background: rgba(10, 10, 10, 0.6); /* Keep the pill look */
    backdrop-filter: blur(15px);
    flex-direction: row;
    padding: 10px 20px;
    gap: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .nav-links .btn-primary {
    padding: 6px 15px !important;
  }

  @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: 70vh; /* زيادة الارتفاع قليلاً */
    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: 60px 40px;
    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 0;
    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 200px;
        height: 355px;
    }
}

.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: 0 auto 40px;
    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;
}
