/* 
 * VIP ISTANBUL TRANSFER - PREMIUM CSS STYLESHEET
 * Luxury Dark Vibe (Purple, Dark Navy, Gold accents)
 * Mobile-First Responsive Design & Arabic RTL Support
 */

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

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Premium Luxury Color Palette */
  --bg-main: #06060c;
  --bg-surface: rgba(13, 13, 29, 0.7);
  --bg-surface-solid: #0d0d1d;
  --bg-surface-hover: rgba(22, 22, 46, 0.8);
  
  --primary: #6366f1; /* Indigo / Purple */
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.25);
  
  --secondary: #a855f7; /* Violet */
  --secondary-glow: rgba(168, 85, 247, 0.2);

  --accent-gold: #f4b400; /* Yellow taxi yellow (#f4b400) */
  --accent-gold-hover: #ffc83b;
  --accent-gold-glow: rgba(244, 180, 0, 0.2);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-gold: rgba(212, 175, 55, 0.3);

  --glass-bg: rgba(10, 10, 22, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: rgba(0, 0, 0, 0.5);

  --whatsapp-color: #25d366;
  --whatsapp-hover: #20ba5a;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-main);
}

body.menu-open {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1b1b36;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

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

button {
  cursor: pointer;
}

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

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-text {
  background: linear-gradient(135deg, #f3e5ab 0%, var(--accent-gold) 50%, #b48a1d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------
 * UTILITY CLASSES & KEY ANIMATIONS
 * ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

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

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: 1rem;
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px 0 var(--primary-glow);
  transform: translateY(-4px);
}

/* Gold accented luxury card */
.gold-card {
  border: 1px solid var(--border-gold);
}
.gold-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 12px 40px 0 var(--accent-gold-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-normal);
  gap: 0.75rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b48a1d 100%);
  color: #07070F;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Background animated elements */
.glowing-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb-1, .glow-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  mix-blend-mode: screen;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: float 20s infinite alternate;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: 10%;
  left: -100px;
  animation: float 25s infinite alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 40px) scale(1.1); }
  100% { transform: translate(-20px, -30px) scale(0.9); }
}

/* Section Header styling */
.section-header {
  margin-bottom: 4rem;
}
.section-header .subtitle {
  color: var(--accent-gold);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ----------------------------------------------------
 * HEADER & NAVIGATION
 * ---------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
  background: rgba(6, 6, 12, 0.3);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 6, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--accent-gold);
  filter: drop-shadow(0 0 8px var(--accent-gold-glow));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text span.brand-gold {
  color: var(--accent-gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 0.15rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--primary) 100%);
  transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

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

/* Language Selector styling */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.lang-dropdown {
  position: absolute;
  top: 105%;
  right: 0;
  width: 160px;
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 1100;
}

.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 0.375rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text-primary);
}

.lang-flag {
  font-size: 1.1rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ----------------------------------------------------
 * HERO SECTION
 * ---------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 40px;
  background-image: linear-gradient(180deg, rgba(6, 6, 12, 0.3) 0%, var(--bg-main) 90%), url('istanbul_taxi_hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 60% 40%, rgba(99, 102, 241, 0.15) 0%, rgba(6, 6, 12, 0.85) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 700px;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: pulse-gold 3s infinite alternate;
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.1); }
  100% { box-shadow: 0 0 12px 4px rgba(212, 175, 55, 0.3); }
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glass-badge {
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  position: relative;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-badge-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.hero-badge-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ----------------------------------------------------
 * SERVICES SECTION
 * ---------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: auto;
}

.service-arrow svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.service-card:hover .service-arrow svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------
 * WHY CHOOSE US SECTION
 * ---------------------------------------------------- */
.why-section {
  position: relative;
}

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

.why-card {
  padding: 2rem;
  border-radius: 1rem;
}

.why-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ----------------------------------------------------
 * PRICING CALCULATOR SECTION (HIGH INTERACTIVE MAP)
 * ---------------------------------------------------- */
.calculator-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-color);
  background: rgba(13, 13, 29, 0.5);
  backdrop-filter: blur(20px);
}

.calc-panel {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-title-box h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.calc-title-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Direction Tabs (To/From Airport) */
.direction-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.direction-btn {
  padding: 0.75rem;
  border-radius: 0.375rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.direction-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

/* Vehicle Selector Panel */
.vehicle-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  margin-top: 0.25rem;
}

.vehicle-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.vehicle-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(244, 180, 0, 0.4);
}

.vehicle-card.active {
  background: rgba(244, 180, 0, 0.08);
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(244, 180, 0, 0.15);
}

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

.vehicle-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vehicle-emoji {
  font-size: 1.2rem;
}

.vehicle-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.vehicle-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 0.25rem;
}

.vehicle-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
  align-self: flex-start;
  letter-spacing: 0.05em;
}

.yellow-badge {
  background: rgba(244, 180, 0, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(244, 180, 0, 0.25);
}

.gold-badge {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.vehicle-card.active .gold-badge {
  background: rgba(168, 85, 247, 0.25);
  border-color: #a855f7;
  color: #fff;
}

@media (max-width: 480px) {
  .vehicle-selector {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Form inputs styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

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

.input-icon {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* Autocomplete Suggestion Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  z-index: 1050;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
  display: none;
}

.autocomplete-dropdown.open {
  display: block;
}

.autocomplete-item {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.autocomplete-item::before {
  content: '📍';
  position: absolute;
  left: 1rem;
  font-size: 0.9rem;
}

.autocomplete-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
}

/* Results panel showing pricing breakdown */
.calc-results-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  display: none; /* Shown dynamically in JS */
}

.calc-results-box.active {
  display: flex;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.result-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 0.8rem;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.result-row.total .total-price {
  color: var(--accent-gold);
}

/* Map panel styling */
.map-panel {
  position: relative;
  min-height: 450px;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 450px;
  z-index: 10;
}

/* Leaflet dark mode overrides */
.leaflet-container {
  background: #090912 !important;
}

/* Premium styled custom map overlay badge */
.map-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: rgba(13, 13, 29, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Customizing Leaflet controls for clean integration */
.leaflet-bar {
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}
.leaflet-bar a {
  background-color: var(--bg-surface-solid) !important;
  color: var(--text-primary) !important;
  border-bottom: 1px solid var(--border-color) !important;
  transition: var(--transition-fast);
}
.leaflet-bar a:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
}

/* ----------------------------------------------------
 * ABOUT / TRUST SECTION
 * ---------------------------------------------------- */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 4rem;
}

.about-img-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
}

.about-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-img-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 6, 12, 0.8) 100%);
  z-index: 2;
}

.about-img-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 3;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

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

.stat-item {
  padding: 1.5rem;
  text-align: center;
  border-radius: 0.75rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------
 * FAQ SECTION
 * ---------------------------------------------------- */
.faq-max-width {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover, .faq-item.open {
  border-color: var(--border-hover);
  background: rgba(99, 102, 241, 0.03);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-item:hover .faq-question, .faq-item.open .faq-question {
  color: var(--text-primary);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-gold);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----------------------------------------------------
 * CONTACT / FOOTER SECTION
 * ---------------------------------------------------- */
.footer-top {
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #030307 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.5rem 0;
  background: #020205;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------
 * MOBILE BOTTOM STICKY VIP BAR
 * ---------------------------------------------------- */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(13, 13, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  padding: 0.75rem 1.5rem;
  display: none; /* Display managed responsively */
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
  animation: slide-up-bar 0.5s ease-out;
}

@keyframes slide-up-bar {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

.sticky-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--accent-gold);
}

.sticky-bar-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ----------------------------------------------------
 * ARABIC RTL SYSTEM SUPPORT (DYNAMICS)
 * ---------------------------------------------------- */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body {
  font-family: var(--font-body);
}

html[dir="rtl"] .nav-menu {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang-option {
  text-align: right;
}

html[dir="rtl"] .hero-badge-icon {
  margin-right: 0;
  margin-left: 1.25rem;
}

html[dir="rtl"] .service-card:hover .service-arrow svg {
  transform: translateX(-4px);
}

html[dir="rtl"] .service-icon {
  margin-right: 0;
}

html[dir="rtl"] .form-control {
  padding: 0.875rem 2.75rem 0.875rem 1rem;
}

html[dir="rtl"] .input-icon {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .autocomplete-item {
  padding: 0.75rem 2.5rem 0.75rem 1rem;
}

html[dir="rtl"] .autocomplete-item::before {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .footer-col h3::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .contact-info-item {
  gap: 1rem;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

/* ----------------------------------------------------
 * RESPONSIVE BREAKPOINTS
 * ---------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 1rem;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calculator-card {
    grid-template-columns: 1fr;
  }
  
  .map-panel {
    min-height: 380px;
  }
  
  #map {
    min-height: 380px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-img-box img {
    height: 360px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Mobile Navigation Overlay */
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #090912;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2.5rem 3rem 2.5rem;
    gap: 1.5rem;
    transition: var(--transition-normal);
    z-index: 1005;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
  }
  
  html[dir="rtl"] .nav-menu {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-color);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  html[dir="rtl"] .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
  }
  
  .header-actions {
    gap: 0.5rem;
  }
  
  .lang-btn {
    padding: 0.4rem 0.75rem;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  /* Sticky bottom bar triggers on mobile */
  body {
    padding-bottom: 60px; /* Space for the bar */
  }
  
  .sticky-mobile-bar {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .calc-panel {
    padding: 1.75rem 1.25rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sticky-mobile-bar {
    padding: 0.6rem 1rem;
  }
  
  .sticky-bar-wrapper {
    gap: 0.5rem;
  }
  
  .sticky-bar-info {
    display: none; /* Maximize button space */
  }
  
  .sticky-mobile-bar .btn {
    width: 100%;
  }
}
