/* Base & Font */
@font-face {
  font-family: 'IBMPlexSansArabic';
  src: url('fonts/IBMPlexSansArabic-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'IBMPlexSansArabic', 'IBM Plex Sans Arabic', sans-serif;
}

body {
  background: #F7FAF8;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

.app {
  max-width: 420px;
  width: 100%;
  background: #F7FAF8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Section */
.header {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
}

.header-img {
  position: absolute;
  inset: 0;
  background: url('../../ValoDhofar/header2.png') center/cover no-repeat;
  transform: scale(1.25);
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.55) 100%);
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 18px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header-top {
  display: flex;
  align-items: center;
  direction: ltr;
  min-height: 36px;
  justify-content: space-between;
}

.header-logo img {
  width: 80px;
  height: auto;

}

.controls-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 5px 10px;
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  gap: 5px;
  white-space: nowrap;
  border: none;
}

.currency-selector-php {
  position: relative;
  height: 26px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: 0.3s;
  background: rgba(255,255,255,0.08);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 12px;
  line-height: 1;
}

.currency-selector-php:hover {
  background: rgba(0,0,0,0.6);
  transform: scale(1.02);
}

.currency-flag-img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
}

.currency-logo-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Glass Card */
.glass-card {
  margin-top: auto;
  margin-bottom: 14px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.28);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.glass-sub {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.glass-note {
  font-size: 0.85rem;
  color: #AD1F24;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Orbs & Bubbles */
.header-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.h-orb {
  position: absolute;
  border-radius: 50%;
  animation: float-orb 20s ease-in-out infinite;
}

.h-orb-1 { width: 120px; height: 120px; background: linear-gradient(135deg, rgba(0,179,119,0.45), rgba(0,135,90,0.3)); filter: blur(30px); top: -30px; left: -20px; }
.h-orb-2 { width: 90px; height: 90px; background: linear-gradient(135deg, rgba(78,205,196,0.35), rgba(78,205,196,0.2)); filter: blur(25px); bottom: 10px; right: -10px; animation-delay: -5s; }
.h-orb-3 { width: 70px; height: 70px; background: linear-gradient(135deg, rgba(255,215,0,0.25), rgba(255,107,107,0.2)); filter: blur(20px); top: 50%; left: 50%; animation-delay: -10s; }
.h-orb-4 { width: 50px; height: 50px; background: linear-gradient(135deg, rgba(0,212,145,0.4), rgba(0,179,119,0.25)); filter: blur(15px); bottom: 20px; left: 20%; animation-delay: -7s; }

@keyframes float-orb {
  0%,100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(18px, -18px) scale(1.08); }
  50% { transform: translate(-12px, 14px) scale(0.95); }
  75% { transform: translate(14px, 20px) scale(1.05); }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  animation: bubble-float ease-in-out infinite;
  pointer-events: none;
}

.bubble-1 { width:8px; height:8px; top:18%; left:12%; animation-duration:3.5s; }
.bubble-2 { width:5px; height:5px; top:35%; left:38%; animation-duration:4.2s; }
.bubble-3 { width:10px; height:10px; top:55%; left:65%; animation-duration:3.8s; }
.bubble-4 { width:6px; height:6px; top:22%; left:78%; animation-duration:4.5s; }
.bubble-5 { width:7px; height:7px; top:70%; left:25%; animation-duration:3.2s; }
.bubble-6 { width:4px; height:4px; top:45%; left:88%; animation-duration:5s; }
.bubble-7 { width:9px; height:9px; top:80%; left:55%; animation-duration:4s; }
.bubble-8 { width:5px; height:5px; top:12%; left:52%; animation-duration:3.6s; }

@keyframes bubble-float {
  0%,100% { transform: translateY(0px); opacity: 0.7; }
  50% { transform: translateY(-12px); opacity: 1; }
}

/* Badge Pulse */
.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,179,119,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(0,179,119,0); }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stat-number {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 10px;
  color: #AD1F24;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.2);
}

/* Wave Divider */
.wave-divider {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  margin-top: -20px;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 110px;
}

/* Search Section */
.search-section {
  margin-bottom: 20px;
  margin-top: 2px;
  position: relative;
  z-index: 10;
}

.search-card {
  background: white;
  border-radius: 20px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,179,119,0.15);
}

.search-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #00B377, #00D491);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #0A1628;
  background: transparent;
}

.search-input::placeholder {
  color: #9CA3AF;
}

.search-btn {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #00B377, #00D491);
  border: none;
  border-radius: 14px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.search-btn:hover {
  transform: scale(1.05);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(0,179,119,0.1), rgba(0,179,119,0.05));
  color: #00B377;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(0,179,119,0.2);
  margin-bottom: 10px;
}

.tag-icon {
  animation: spin-slow 4s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.section-title {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  color: #0A1628;
  margin-bottom: 6px;
}

.gradient-text {
  background: linear-gradient(135deg, #00B377, #4ECDC4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grid Area */
.grid-area {
  padding: 30px 20px 20px;
  margin-top: 0;
}

/* Card Styles */
.row.g-3 {
  --bs-gutter-x: 1.4rem;
  --bs-gutter-y: 1.2rem;
  margin-right: calc(-0.7 * var(--bs-gutter-x));
  margin-left: calc(-0.7 * var(--bs-gutter-x));
}

.row.g-3 > * {
  padding-right: calc(var(--bs-gutter-x) * 0.7);
  padding-left: calc(var(--bs-gutter-x) * 0.7);
  margin-bottom: 0.25rem;
}

.card-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(2px);
  transition: opacity 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 1.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.card-item.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.card-item:nth-child(1) { transition-delay: 0.05s; }
.card-item:nth-child(2) { transition-delay: 0.15s; }
.card-item:nth-child(3) { transition-delay: 0.25s; }
.card-item:nth-child(4) { transition-delay: 0.35s; }
.card-item:nth-child(5) { transition-delay: 0.45s; }
.card-item:nth-child(6) { transition-delay: 0.55s; }

.card-item:hover {
  box-shadow: 0 8px 24px rgba(0,109,68,0.13);
  transform: scale(1.02);
}

.card-item:active {
  transform: scale(0.97);
}

.card-top-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.card-top-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.card-item:hover .card-top-img img {
  transform: scale(1.07);
}

.card-body {
  padding: 8px 10px 4px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.card-body-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-img-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-label {
  font-size: 10px;
  font-weight: 700;
  color: #161D1F;
  text-align: right;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-explore {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  color: #00B377;
}

.card-explore svg {
  transition: transform 0.2s;
}

.card-item:hover .card-explore svg {
  transform: translateX(-3px);
}

/* Offers Banner */
.offers-section {
  margin: 24px 0;
}

.offers-banner-creative {
  position: relative;
  background: linear-gradient(135deg, #0A1628 0%, #1A2D4A 100%);
  border-radius: 28px;
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.banner-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=600&h=300&fit=crop') center/cover;
  opacity: 0.2;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.banner-badge {
  position: relative;
  flex-shrink: 0;
}

.pulse-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid #00B377;
  border-radius: 50%;
  animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.badge-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #00B377, #00D491);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-align: center;
}

.banner-text {
  flex: 1;
}

.banner-text h3 {
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 3px;
}

.discount {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.offers-btn-creative {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: #0A1628;
  border: none;
  padding: 10px 14px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.offers-btn-creative:hover {
  transform: scale(1.05);
}

.banner-decoration {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  background: #00B377;
  opacity: 0.1;
}

.deco-circle:first-child {
  width: 80px;
  height: 80px;
  top: 0;
  left: 0;
}

.deco-circle:last-child {
  width: 50px;
  height: 50px;
  bottom: 10px;
  left: 30px;
}

/* Destinations Section */
.destinations-section {
  margin-bottom: 24px;
}

.section-title-sm {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 800;
  color: #0A1628;
  margin-bottom: 14px;
}

.destinations-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.destinations-scroll::-webkit-scrollbar {
  display: none;
}

.dest-card {
  flex-shrink: 0;
  width: 130px;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  scroll-snap-align: start;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.dest-image {
  width: 100%;
  height: 85px;
  overflow: hidden;
}

.dest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.dest-card:hover .dest-image img {
  transform: scale(1.1);
}

.dest-info {
  padding: 10px;
}

.dest-info h4 {
  font-size: 12px;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 2px;
}

.dest-info span {
  font-size: 11px;
  color: #00B377;
  font-weight: 600;
}

/* Why Section */
.why-section {
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0,179,119,0.12), rgba(0,179,119,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #00B377;
}

.feature-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 10px;
  color: #6B7280;
}

/* Language Switch */
.lang-switch {
  position: relative;
  width: 56px;
  height: 28px;
  display: inline-block;
  flex-shrink: 0;
  cursor: pointer;
}

.lang-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.lang-switch .slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 28px;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.15);
}

.lang-switch .slider::before {
  content: "AR";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
  color: #00B377;
}

.lang-switch input:checked + .slider::before {
  content: "EN";
  transform: translateX(28px);
}

/* Currency Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-container {
  background: white;
  border-radius: 28px;
  width: 85%;
  max-width: 320px;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px 20px 10px;
  border-bottom: 1px solid #eef2f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0A1628;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.modal-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 8px;
  border: 1px solid #eef2f0;
}

.currency-option:hover {
  background: #f0f9f5;
  border-color: #00B377;
}

.currency-option.selected {
  background: #e8f5ef;
  border-color: #00B377;
}

.currency-option-flag {
  width: 32px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.currency-option-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.currency-option-info {
  flex: 1;
}

.currency-option-name {
  font-weight: 600;
  font-size: 14px;
  color: #0A1628;
}

.currency-option-code {
  font-size: 11px;
  color: #6B7280;
}

.currency-option-symbol {
  font-weight: 700;
  color: #00B377;
  font-size: 13px;
}

/* Bootstrap Grid */
:root {
  --bs-blue: #0d6efd;
  --bs-green: #198754;
  --bs-gray: #6c757d;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.g-3, .gx-3 {
  --bs-gutter-x: 1rem;
}

.gy-3 {
  --bs-gutter-y: 1rem;
}