:root {
  --bg: #0a0f1f;
  --bg2: #0d1426;
  --text: #ffffff;
  --muted: #e8ecf6;
  --primary: #2f7df4; /* Gulf blue */
  --accent: #25d366;  /* WhatsApp green */
  --gold: #f5c542;    /* Gold accent */
  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
}

/* Base */
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.6;
}
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 15, 31, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); font-weight: 700; }
.logo { width: 30px; height: 30px; }

.nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--muted); text-decoration: none; }
.nav-list a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 28px rgba(47,125,244,0.35); }
.btn-outline { border: 1px solid var(--border); color: var(--text); }

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero.webp');
  background-size: cover; background-position: center;
  transform: translateY(0);
  transition: transform .2s ease-out;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,31,0.85), rgba(10,15,31,0.95));
}
.hero-inner { position: relative; text-align: center; }
.hero h1 { font-size: clamp(28px, 5vw, 48px); margin: 0; color: var(--gold); }
.lead { color: var(--muted); max-width: 760px; margin: 12px auto 26px; }
.cta-group { display: flex; gap: 12px; justify-content: center; }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.center { text-align: center; }
.sub { color: var(--muted); margin-top: -8px; }
.section-subtitle { margin: 24px 0 8px; font-size: 20px; color: var(--primary); }

/* Grid & cards */
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
.card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.card.glass { background: var(--card); backdrop-filter: blur(10px); }
.card-img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--border); }
.card-body { padding: 18px; }

.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 24px; margin: 8px 0; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); }

/* Services */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 18px;
}
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.service-card h4 { margin: 0 0 8px; color: var(--gold); }
.service-card p { color: var(--muted); }
.service-card.hover-rise:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  border-color: var(--primary);
}

/* Contact */
.form-card label { display: grid; gap: 6px; margin-bottom: 12px; }
.form-card input, .form-card textarea, .form-card select {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 10px 12px; outline: none;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--primary); }
.form-status { margin-top: 10px; color: var(--muted); }
.form-status.error { color: #ff6b6b; }
.form-status.success { color: var(--accent); }
.contact-img { width: 100%; border-radius: 16px; border: 1px solid var(--border); margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-links { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; background: var(--accent); color: #0a0f1f;
  padding: 12px 16px; border-radius: 999px; font-weight: 800; text-decoration: none;
  box-shadow: 0 12px 34px rgba(37,211,102,0.35); z-index: 1001;
}

/* Animations */
.animate { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }
.slide-in-left { transform: translateX(-16px); }
.slide-in-right { transform: translateX(16px); }
.slide-in-left.in, .slide-in-right.in { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
/* ===== Modal Styling ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 15, 31, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  padding: 28px;
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  animation: modalFadeIn .35s ease;
}

.modal-content h2 {
  margin-top: 0;
  color: var(--gold);
}

.modal-content h3 {
  margin-top: 20px;
  color: var(--primary);
}

/* Modal list */
.modal-content ul.list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.modal-content ul.list li {
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--muted);
}
.modal-content ul.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Modal close */
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  float: right;
  transition: color .2s ease;
}
.modal-close:hover { color: var(--gold); }

/* Inline CTA inside modal */
.cta-inline { margin-top: 20px; }

/* Prevent body scroll when modal open */
.no-scroll { overflow: hidden; }

/* Modal animation */
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-list { display: none; }
  .nav.open .nav-list {
    display: flex; flex-direction: column; gap: 12px; background: rgba(13,20,38,0.95);
    padding: 12px; border-radius: 12px; position: absolute; right: 12px; top: 52px;
    border: 1px solid var(--border);
  }

  .hero { padding: 90px 0 70px; }
  .card-img { height: 160px; }

  .modal { padding: 12px; }
  .modal-content {
    max-width: 92vw;
    padding: 22px;
    border-radius: 14px;
  }
  .modal-close { font-size: 1.4rem; }
}

@media (max-width: 520px) {
  .btn { padding: 10px 14px; border-radius: 10px; }
  .cta-group { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .modal-content { padding: 18px; }
  .footer-inner { flex-direction: column; gap: 12px; }
}

/* ===== Stability option (optional) ===== */
/* Uncomment if you want all animated elements visible by default (no JS needed) */
/*
.animate { opacity: 1 !important; transform: none !important; }
.fade-up.in, .slide-in-left.in, .slide-in-right.in { opacity: 1 !important; transform: none !important; }
*/
