/* === Tokens === */
:root {
  --bg: #0b1220;
  --bg-2: #111a2e;
  --card: #16213a;
  --card-2: #1b2747;
  --border: #25324f;
  --text: #f3f6fb;
  --muted: #9aa6bf;
  --primary: #2da6ff;
  --primary-2: #5cc4ff;
  --primary-dark: #0b84d9;
  --gradient: linear-gradient(135deg, #2da6ff, #5cc4ff);
  --shadow-glow: 0 10px 40px -10px rgba(45,166,255,.55);
  --shadow-elegant: 0 20px 50px -20px rgba(0,0,0,.7);
  --radius: 14px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo","Tajawal",system-ui,sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font-family: inherit; font-weight: 700;
  border-radius: 999px; padding: 12px 22px; font-size: 15px;
  transition: all .25s ease;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-xl { padding: 16px 34px; font-size: 17px; }
.btn-primary {
  background: var(--gradient); color: #06243d;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -10px rgba(45,166,255,.7); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #06243d; box-shadow: var(--shadow-glow); }
.btn-light {
  background: #fff; color: #06243d;
}
.btn-light:hover { transform: translateY(-2px); }

/* === Header === */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(11,18,32,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; }
.logo { font-size: 24px; font-weight: 900; background: var(--gradient); -webkit-background-clip:text; background-clip:text; color: transparent; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 15px; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--bg-2); flex-direction: column; gap: 0;
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { max-height: 320px; padding: 12px 0; }
  .nav-links li { padding: 12px 24px; }
  .menu-toggle { display: block; }
}

/* === Hero === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 80px; text-align: center;
}
.slider { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 8s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.75), rgba(11,18,32,.95));
}
.hero-content { position: relative; z-index: 2; }
.badge {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: rgba(45,166,255,.12); color: var(--primary);
  border: 1px solid rgba(45,166,255,.4); font-size: 14px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900; line-height: 1.1; margin: 0 auto 22px;
  max-width: 900px;
}
.hero p { color: var(--muted); font-size: clamp(16px, 2vw, 20px); max-width: 640px; margin: 0 auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.scroll-down {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 28px; color: var(--primary); animation: float 2.4s ease-in-out infinite;
  z-index: 2;
}

/* === Sections === */
.section { padding: 90px 0; }
.section-alt { background: rgba(255,255,255,.02); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2, .about-text h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* === About === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { position: relative; }
.about-image::before {
  content:""; position: absolute; inset: -16px; border-radius: 28px;
  background: var(--gradient); opacity: .25; filter: blur(40px);
}
.about-image img { position: relative; border-radius: 24px; box-shadow: var(--shadow-elegant); }
.about-text p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 28px; }
.stat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; text-align: center; font-size: 13px; color: var(--muted);
}
.stat-num { font-size: 26px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* === Cards grid === */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(145deg, var(--card), var(--card-2));
  border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  text-align: center; transition: all .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.card-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: rgba(45,166,255,.12); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; transition: all .3s;
}
.card:hover .card-icon { background: var(--primary); transform: scale(1.1); }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.stars { color: var(--primary); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; text-align: right; }
.author { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient); color: #06243d;
  display: flex; align-items: center; justify-content: center; font-weight: 900;
}

/* === CTA === */
.cta-box {
  background: var(--gradient); border-radius: 28px;
  padding: 60px 30px; text-align: center; color: #06243d;
  position: relative; overflow: hidden;
}
.cta-box h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; font-weight: 900; }
.cta-box p { margin: 0 auto 28px; font-size: 17px; max-width: 520px; opacity: .9; }

/* === Contact === */
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: linear-gradient(145deg, var(--card), var(--card-2));
  border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 20px; text-align: center; transition: all .3s;
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.contact-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(45,166,255,.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.contact-label { font-size: 13px; color: var(--muted); }
.contact-value { font-weight: 700; }

/* === Footer === */
.footer { border-top: 1px solid var(--border); padding: 30px 0; background: rgba(0,0,0,.2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; font-weight: 900;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #06243d; }

/* === Floating Buttons === */
.float-btn {
  position: fixed; bottom: 22px; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; z-index: 60; box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .25s;
}
.float-btn:hover { transform: scale(1.08); }
.float-wa { left: 22px; background: #25d366; color: #fff; animation: pulse 2.2s infinite; }
.float-call { left: 88px; background: var(--gradient); color: #06243d; }

/* === Modal === */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.modal-content {
  position: relative; max-width: 480px; margin: 5vh auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px; max-height: 90vh; overflow-y: auto;
  animation: scale-in .3s ease;
}
.modal-close {
  position: absolute; top: 12px; left: 12px; background: none; border: none;
  color: var(--text); font-size: 28px; cursor: pointer; line-height: 1;
}
.modal-content h3 { margin: 0 0 8px; font-size: 24px; }
.modal-sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
#bookingForm label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
#bookingForm input, #bookingForm textarea {
  width: 100%; margin-top: 6px; padding: 10px 14px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 15px;
}
#bookingForm input:focus, #bookingForm textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,166,255,.2);
}
.success { text-align: center; padding: 20px 0; }
.success-icon {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--gradient); color: #06243d;
  display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 900;
}
/*FAQ Questions*/
.faq-section {
  padding: 80px 20px;
background: rgba(255,255,255,.02);
  color: white;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 40px;
}

.faq-item {
  max-width: 800px;
  margin: 20px auto;
  border-bottom: 1px solid #333;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  font-size: 28px;
  transition: 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: #ccc;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}
/* === Animations === */
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes pulse {
  0%,100% { box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.6); }
  50% { box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 16px rgba(37,211,102,0); }
}
@keyframes scale-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
