/* ============ IMPORTS ============ */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============ CSS VARIABLES ============ */
:root {
  --primary: #0d7c5f;
  --primary-light: #10a37f;
  --primary-lighter: #e8f5f0;
  --primary-dark: #0a5e48;
  --accent: #1a73a7;
  --accent-light: #e3f0fa;
  --gold: #c9a84c;
  --gold-light: #f5edda;
  --bg: #f6f9f8;
  --bg-white: #ffffff;
  --dark: #0a1f1a;
  --dark-lighter: #122e26;
  --text: #1a2e28;
  --text-light: #5a7a70;
  --text-muted: #8ca89e;
  --border: #d4e4de;
  --border-light: #e8f0ec;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --shadow-sm: 0 1px 3px rgba(10, 31, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 31, 26, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 31, 26, 0.12);
  --shadow-xl: 0 20px 60px rgba(10, 31, 26, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul { list-style: none; }

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

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

/* ============ UTILITY ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 50%;
  transform: translateX(50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(13, 124, 95, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(13, 124, 95, 0.4);
}

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

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d4b85a);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #2196F3);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 115, 167, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(26, 115, 167, 0.4);
}

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

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 1rem;
}

/* ============ HEADER / NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.navbar-brand h1 {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.95rem;
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
  background: var(--primary-lighter);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Login link - hidden on desktop, shown in mobile sidebar */
.nav-login-link {
  display: none !important;
}

.nav-login-btn {
  background: var(--primary-lighter);
  color: var(--primary);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 8px;
  gap: 6px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--dark) 0%, #0a2e22 50%, #0d3d2f 100%);
  padding-top: 72px;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 31, 26, 0.82) 0%, rgba(13, 61, 47, 0.75) 50%, rgba(10, 31, 26, 0.85) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  animation: float-particle 8s infinite ease-in-out;
}

.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 1.5s; }
.hero-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 3s; }
.hero-particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 4.5s; }
.hero-particle:nth-child(5) { left: 90%; top: 40%; animation-delay: 6s; }
.hero-particle:nth-child(6) { left: 20%; top: 80%; animation-delay: 2s; }
.hero-particle:nth-child(7) { left: 80%; top: 15%; animation-delay: 5s; }
.hero-particle:nth-child(8) { left: 60%; top: 50%; animation-delay: 7s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: slideInRight 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h2 {
  font-size: 3.2rem;
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-content h2 span {
  background: linear-gradient(135deg, var(--gold), #e0c060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInLeft 1s ease-out;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  animation: float-card 4s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  bottom: 20%;
  right: -30px;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  top: 10%;
  left: -20px;
  animation-delay: 2s;
}

.hero-floating-card i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-floating-card .card-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.hero-floating-card .card-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============ SERVICES CARDS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-lighter);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 31, 26, 0.5), transparent);
}

.service-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-card-link:hover {
  gap: 12px;
}

.service-card-link i {
  transition: var(--transition);
}

/* ============ WHY US ============ */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-lighter);
}

.why-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, var(--dark) 0%, #0a2e22 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 31, 26, 0.8) 0%, rgba(13, 61, 47, 0.7) 100%);
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 2;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  position: relative;
  z-index: 3;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  position: relative;
  z-index: 3;
}

.page-header .breadcrumb {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 3;
}

.page-header .breadcrumb a {
  color: var(--gold);
}

/* ============ FORMS ============ */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-group label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(13, 124, 95, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a7a70' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.file-upload:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload i {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.file-upload span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.file-upload .file-name {
  margin-top: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ============ SPLIT FILE UPLOAD (Upload + Camera) ============ */
.file-upload-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.file-upload-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  gap: 8px;
}

.file-upload-btn:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.file-upload-btn.camera:hover {
  border-color: var(--accent);
  background: rgba(26, 115, 167, 0.08);
}

.file-upload-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-btn i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.file-upload-btn.camera i {
  color: var(--accent);
}

.file-upload-btn:hover i {
  transform: scale(1.15);
}

.file-upload-btn span {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.file-name-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  min-height: 1.2em;
  flex-wrap: wrap;
}

.file-name-display span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.file-name-display:empty {
  display: none;
}

.file-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.file-remove-btn:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .file-upload-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .file-upload-btn {
    padding: 20px 14px;
    flex-direction: row;
    gap: 12px;
  }
  .file-upload-btn i {
    font-size: 1.5rem;
  }
  .file-upload-btn span {
    font-size: 0.9rem;
  }
}

/* ============ PEOPLE NUMBER BAR ============ */
.people-number-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
}

.people-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.people-num:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.people-num.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(13, 124, 95, 0.3);
  transform: scale(1.08);
}

/* ============ FLATPICKR ARABIC OVERRIDES ============ */
.date-picker-wrapper {
  position: relative;
}

.date-picker-wrapper .date-picker-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
  font-size: 1.1rem;
}

.date-picker-wrapper .date-input {
  cursor: pointer;
}

/* flatpickr theme overrides */
.flatpickr-calendar {
  font-family: 'Cairo', sans-serif !important;
  direction: rtl;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--border-light) !important;
}

.flatpickr-months .flatpickr-month {
  background: var(--primary) !important;
  color: white !important;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 700;
}

.flatpickr-current-month input.cur-year {
  color: white !important;
  font-weight: 700;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: white !important;
  color: white !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--gold) !important;
}

span.flatpickr-weekday {
  color: var(--primary) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}

.flatpickr-day {
  border-radius: var(--radius-sm) !important;
  font-weight: 500;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.flatpickr-day:hover {
  background: var(--primary-lighter) !important;
  border-color: var(--primary-lighter) !important;
  color: var(--primary) !important;
}

.flatpickr-day.today {
  border-color: var(--gold) !important;
}

.flatpickr-day.today:hover {
  background: var(--gold-light) !important;
  color: var(--text) !important;
}

/* ============ TRIPS GRID ============ */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.trip-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trip-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-card-image .trip-placeholder {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.5;
}

.trip-card-price {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

.trip-card-body {
  padding: 24px;
}

.trip-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trip-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.trip-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trip-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trip-card-meta i {
  color: var(--primary);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-lighter);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
}

.contact-card-icon.whatsapp {
  background: #dcfce7;
  color: #22c55e;
}

.contact-card-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-card-info a {
  color: var(--primary);
  font-weight: 600;
}

.whatsapp-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #22c55e;
  color: white !important;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  color: white;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #1a73a7;
  color: white !important;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.call-btn:hover {
  background: #155d8a;
  transform: translateY(-2px);
  color: white;
}

/* Phone List - New Design */
.phone-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.phone-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
}

.phone-item:hover {
  background: var(--primary-lighter);
  border-color: var(--primary);
  transform: translateX(-4px);
}

.phone-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  direction: ltr;
  letter-spacing: 1px;
}

.phone-action {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.phone-item:hover .phone-action {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.dev-credit {
  margin-top: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.dev-credit a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

.dev-credit a:hover {
  color: #e0c060;
  text-decoration: underline;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
}

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  animation: toast-in 0.3s ease-out;
  pointer-events: auto;
  border-right: 4px solid var(--success);
}

.toast.error {
  border-right-color: var(--danger);
}

.toast-hide {
  animation: toast-out 0.3s ease-in forwards;
}

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

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

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ============ LOADING ============ */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============ ANIMATE ON SCROLL ============ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ INFO SECTION ============ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.info-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-list {
  margin: 20px 0;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-weight: 500;
}

.info-list li i {
  color: var(--primary);
  font-size: 1.1rem;
  width: 24px;
}

.info-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.info-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-content h2 {
    font-size: 2.4rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 999;
    gap: 8px;
    align-items: stretch;
  }

  .navbar-links.open {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .navbar-cta .btn {
    display: none;
  }

  .nav-login-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--primary) !important;
    font-weight: 600;
    border-top: 1px solid var(--border-light);
    padding-top: 16px !important;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 160px 0 60px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .number {
    font-size: 1.6rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 24px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .why-card {
    padding: 20px 12px;
  }

  .why-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    font-size: 1.3rem;
  }

  .why-card h4 {
    font-size: 0.95rem;
  }

  .why-card p {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .trips-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ ADMIN STYLES ============ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  direction: rtl;
}

.admin-sidebar {
  width: 280px;
  background: var(--dark);
  color: white;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: var(--transition);
}

.admin-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-sidebar-header .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.admin-sidebar-header h2 {
  font-size: 1rem;
  font-weight: 700;
}

.admin-sidebar-header span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.admin-nav {
  padding: 16px 0;
}

.admin-nav-section {
  padding: 8px 24px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  font-weight: 700;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav a.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-light);
  border-radius: 0 3px 3px 0;
}

.admin-nav a i {
  width: 20px;
  text-align: center;
}

.admin-nav .badge {
  margin-right: auto;
  margin-left: 0;
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
}

.admin-main {
  flex: 1;
  margin-right: 280px;
  padding: 24px;
  background: var(--bg);
  min-height: 100vh;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.admin-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
}

.admin-header-actions {
  display: flex;
  gap: 12px;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-card-icon.green { background: #dcfce7; color: #22c55e; }
.stat-card-icon.blue { background: #dbeafe; color: #3b82f6; }
.stat-card-icon.orange { background: #fef3c7; color: #f59e0b; }
.stat-card-icon.purple { background: #ede9fe; color: #8b5cf6; }
.stat-card-icon.teal { background: var(--primary-lighter); color: var(--primary); }

.stat-card-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-card-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.stat-card-info .new-badge {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

/* Admin Table */
.admin-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-card-body {
  padding: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: right;
  padding: 12px 16px;
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--bg);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.new { background: #fef3c7; color: #92400e; }
.status-badge.reviewing { background: #dbeafe; color: #1e40af; }
.status-badge.accepted { background: #dcfce7; color: #166534; }
.status-badge.rejected { background: #fef2f2; color: #991b1b; }

.admin-actions {
  display: flex;
  gap: 6px;
}

.admin-actions button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.admin-actions .btn-view { background: var(--accent-light); color: var(--accent); }
.admin-actions .btn-edit { background: #fef3c7; color: #92400e; }
.admin-actions .btn-delete { background: #fef2f2; color: #991b1b; }
.admin-actions button:hover { transform: scale(1.1); }

/* Admin Login */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--dark) 0%, #0a2e22 100%);
  padding: 24px;
}

.admin-login-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.admin-login-card .logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.admin-login-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.admin-login-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Admin Settings Form */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Admin Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modal-in 0.3s ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--danger-light);
  color: var(--danger);
}

/* Mobile admin */
.admin-mobile-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 101;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(100%);
  }
  
  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-main {
    margin-right: 0;
  }

  .admin-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-table {
    font-size: 0.8rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px 10px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* Status select */
.status-select {
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: inherit;
  background: white;
  cursor: pointer;
}

/* Table overflow */
.table-responsive {
  overflow-x: auto;
}

/* Tab system */
.tab-buttons {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--bg);
  padding: 4px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.tab-btn.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover:not(.active) {
  color: var(--text);
}

.tab-content {
  display: none;
}

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

/* ============ DATE BAR ============ */
.date-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 10px 0;
  margin-top: 72px;
  position: relative;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.date-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-item i {
  color: var(--gold);
  font-size: 1rem;
}

.date-separator {
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
}

/* Fix hero when date bar is present */
body:has(.date-bar) .hero {
  padding-top: 0;
}

@media (max-width: 768px) {
  .date-bar {
    padding-bottom: 14px;
  }
}

/* ============ DATE PICKER WRAPPER ============ */
.date-picker-wrapper {
  position: relative;
}

.date-picker-wrapper .date-input {
  padding-left: 44px;
  cursor: pointer;
}

.date-picker-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.1rem;
  pointer-events: none;
}

/* Better date input styling */
input[type="date"].form-control {
  position: relative;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ============ PEOPLE COUNTER ============ */
.people-counter {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.people-counter:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 124, 95, 0.1);
}

.counter-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.counter-btn:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}

.counter-btn.minus {
  border-left: 1px solid var(--border);
}

.counter-btn.plus {
  border-right: 1px solid var(--border);
}

.counter-input {
  width: 60px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: none !important;
  background: transparent !important;
  padding: 8px 4px !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.counter-input::-webkit-outer-spin-button,
.counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.counter-label i {
  color: var(--primary);
}

/* ============ CONTACT CARD ICONS FIX ============ */
.contact-card-icon.phone-icon {
  background: #dbeafe;
  color: #3b82f6;
}

.contact-card-icon.address-icon {
  background: #fef3c7;
  color: #f59e0b;
}

/* Map Link Button */
.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white !important;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.map-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(13, 124, 95, 0.3);
  color: white !important;
}

/* Map Container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
}

.map-container iframe {
  display: block;
}

/* ============ RESPONSIVE ADDITIONS ============ */
@media (max-width: 768px) {
  .date-bar-content {
    font-size: 0.8rem;
    gap: 12px;
  }

  .people-number-bar {
    gap: 6px;
    padding: 10px;
  }

  .people-num {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .date-bar-content {
    flex-direction: column;
    gap: 4px;
  }

  .date-separator {
    display: none;
  }

  .people-num {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* ============ SUCCESS CONFIRMATION CARD ============ */
.success-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.success-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.success-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPulse 2s ease-in-out infinite;
}

.success-card-icon i {
  font-size: 2.5rem;
  color: white;
}

@keyframes successPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
}

.success-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.success-card > p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 24px;
}

.success-card-details {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.success-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.success-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

.success-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.success-track-btn {
  width: 100%;
  margin-bottom: 12px;
}

.success-new-btn {
  border: 2px solid var(--border);
  color: var(--text-light);
  background: transparent;
}

.success-new-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lighter);
}

/* ============ FILE PREVIEW ============ */
.file-preview {
  margin-bottom: 8px;
}

.file-preview-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 3px solid var(--primary-lighter);
  box-shadow: var(--shadow-sm);
}

.file-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.file-info-row span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ============ FORM VALIDATION STATES ============ */
.form-control.field-valid {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.03);
}

.form-control.field-valid:focus {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
}

.form-control.field-error {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.03);
}

.form-control.field-error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
  border-color: var(--danger);
}

.form-group.has-valid label::after {
  content: ' ✓';
  color: #22c55e;
  font-weight: 700;
}

.form-group.has-error label::after {
  content: ' ✗';
  color: var(--danger);
  font-weight: 700;
}
