:root {
  --dark-blue: #0A2342;
  --dark-blue-light: #123a6b;
  --orange: #F7931E;
  --orange-dark: #d97a0c;
  --white: #ffffff;
  --gray-bg: #f5f7fa;
}

html.dark {
  --white: #0d1626;
  --gray-bg: #0a1220;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: #1a1a1a;
  transition: background-color .3s ease, color .3s ease;
}

html.dark body { color: #e9edf5; }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .35s ease;
  background: rgba(10, 35, 66, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar.scrolled {
  background: rgba(10, 35, 66, 0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-link {
  position: relative;
  color: #fff;
  font-weight: 500;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--orange); }

.nav-link.disabled, .mobile-link.disabled, .footer-link.disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}
.nav-link.disabled:hover, .nav-link.disabled::after { color: #fff; width: 0; }

/* ===== Buttons ===== */
.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 8px 20px rgba(247,147,30,0.35);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--orange-dark);
  box-shadow: 0 14px 28px rgba(247,147,30,0.45);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: .8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s ease;
}
.btn-outline:hover {
  background: #fff;
  color: var(--dark-blue);
  transform: translateY(-3px);
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #051327 60%, #0A2342 100%);
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 2px, transparent 2px, transparent 14px);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideFade 20s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
@keyframes heroSlideFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  22% { opacity: 1; }
  27% { opacity: 0; }
  100% { opacity: 0; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10,35,66,0.92) 0%, rgba(5,19,39,0.85) 55%, rgba(10,35,66,0.92) 100%);
}
.hero-glow {
  position: absolute;
  z-index: 1;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(247,147,30,0.35), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  top: -150px; right: -150px;
  animation: floatGlow 8s ease-in-out infinite;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-40px, 40px); }
}

/* Page header for inner pages */
.page-header {
  position: relative;
  background: linear-gradient(135deg, var(--dark-blue), #051327);
  padding: 9rem 0 5rem;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 14px);
}

/* ===== Cards ===== */
.card {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(10,35,66,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10,35,66,0.16);
}

.service-icon {
  width: 64px; height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(247,147,30,0.3);
  transition: transform .3s ease;
}
.card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }

/* ===== Stats ===== */
.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--orange);
}

/* ===== Section labels ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(247,147,30,0.12);
  color: var(--orange-dark);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
}

/* ===== Glassmorphism utility ===== */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 999;
  animation: pulseWA 2.2s infinite;
}
@keyframes pulseWA {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Scroll to top ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 48px; height: 48px;
  background: var(--dark-blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 998;
  cursor: pointer;
}
.scroll-top-btn.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.scroll-top-btn:hover { background: var(--orange); }

/* ===== Gallery lightbox ===== */
.gallery-item { cursor: pointer; overflow: hidden; border-radius: 1rem; position: relative; }
.gallery-item img, .gallery-item .placeholder-img { transition: transform .5s ease; }
.gallery-item:hover img, .gallery-item:hover .placeholder-img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,35,66,0.85), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex; align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

#lightbox {
  position: fixed; inset: 0; background: rgba(5,10,20,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 2000; padding: 2rem;
}
#lightbox.active { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; border-radius: .5rem; }

/* Placeholder image blocks (used until real photos are supplied) */
.placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark-blue), #1a3d6e);
  color: rgba(255,255,255,0.35);
  font-size: 2.5rem;
  min-height: 220px;
}

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid #e5e9f0; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer; font-weight: 600;
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  color: #5a6473;
}
.faq-item.open .faq-answer { padding-bottom: 1.25rem; }
.faq-item .faq-question i { transition: transform .3s ease; color: var(--orange); }
.faq-item.open .faq-question i { transform: rotate(45deg); }

/* ===== Misc ===== */
.divider-orange {
  width: 60px; height: 4px; background: var(--orange); border-radius: 4px;
}

.swiper-pagination-bullet-active { background: var(--orange) !important; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(247,147,30,0.2);
}

/* Dark mode toggle */
.theme-toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.1);
  transition: background .25s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,0.2); }

html.dark .card { background: #101b30; }
html.dark .card p { color: #aab4c4; }
html.dark .faq-answer { color: #aab4c4; }
html.dark .faq-item { border-color: #1d2c45; }
html.dark .bg-gray-light { background-color: #0a1220 !important; }
