/* =====================================================
   SkyFrame Coimbatore – Main Stylesheet
   Color Theme: Blue & White
   ===================================================== */

/* ---- CSS Custom Properties ---- */
:root {
  --blue-900: hsl(213, 94%, 10%);
  --blue-800: hsl(213, 90%, 14%);
  --blue-700: hsl(213, 85%, 20%);
  --blue-600: hsl(213, 80%, 28%);
  --blue-500: hsl(199, 89%, 42%);
  --blue-400: hsl(199, 89%, 50%);
  --blue-300: hsl(199, 95%, 62%);
  --blue-200: hsl(199, 95%, 75%);
  --blue-100: hsl(199, 95%, 88%);
  --blue-50:  hsl(199, 95%, 96%);

  --white: #ffffff;
  --gray-50: hsl(210, 40%, 98%);
  --gray-100: hsl(210, 40%, 96%);
  --gray-200: hsl(210, 30%, 90%);
  --gray-400: hsl(210, 20%, 65%);
  --gray-600: hsl(210, 15%, 40%);

  --gradient-primary: linear-gradient(135deg, hsl(199, 89%, 42%), hsl(213, 94%, 30%));
  --gradient-hero: linear-gradient(160deg, hsl(213, 94%, 6%) 0%, hsl(213, 94%, 10%) 40%, hsl(213, 80%, 14%) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, hsla(199, 89%, 50%, 0.15), transparent 70%);

  --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.08);
  --shadow-md: 0 8px 32px rgba(14, 165, 233, 0.15);
  --shadow-lg: 0 20px 60px rgba(14, 165, 233, 0.2);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;

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

  --nav-h: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--blue-900);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

.section { padding-block: clamp(4rem, 8vw, 8rem); }

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-300), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================================================
   PRELOADER
   ===================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--blue-900);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

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

.preloader-logo {
  width: 200px;
  margin: 0 auto 1.5rem;
  animation: droneFloat 2s ease-in-out infinite;
}

.preloader-logo img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes droneFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 100px;
  animation: progressBar 1.8s ease-in-out forwards;
}

@keyframes progressBar {
  from { width: 0%; }
  to { width: 100%; }
}

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(8, 20, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 2px 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition-fast);
  filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.3));
}
.nav-logo-img:hover {
  filter: drop-shadow(0 0 14px rgba(14, 165, 233, 0.55));
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: var(--transition-fast);
}
.nav-link:hover { color: var(--white); background: rgba(14, 165, 233, 0.12); }
.nav-link.active { color: var(--blue-300); }

.nav-cta {
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  box-shadow: var(--shadow-glow);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 50px rgba(14, 165, 233, 0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, hsla(199, 89%, 50%, 0.2), transparent 70%);
  top: -10%; left: -10%;
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, hsla(213, 80%, 40%, 0.15), transparent 70%);
  bottom: 0; right: -5%;
  animation: glowPulse 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--blue-300);
  border-radius: 50%;
  opacity: 0;
  animation: particleFly var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes particleFly {
  0% { opacity: 0; transform: translateY(100vh) translateX(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) translateX(var(--drift)); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-200);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--blue-400);
  border-radius: 50%;
  animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}

.stat { text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-300);
  line-height: 1;
}
.stat-plus { font-size: 1.5rem; color: var(--blue-300); font-weight: 700; }
.stat-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.5s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(14, 165, 233, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--blue-300);
  color: var(--blue-300);
  background: rgba(14, 165, 233, 0.08);
  transform: translateY(-2px);
}

.btn-pkg {
  width: 100%;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: var(--blue-200);
}
.btn-pkg:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--blue-400);
  color: var(--white);
  transform: translateY(-2px);
}

.full-width { width: 100%; justify-content: center; }

/* =====================================================
   SECTION HEADER
   ===================================================== */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-block;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--blue-300);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services { background: var(--blue-900); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14, 165, 233, 0.1);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap { margin-bottom: 1.5rem; }
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-features {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-features li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding-left: 0.5rem;
  position: relative;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-400);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.service-link:hover { color: var(--blue-200); gap: 0.5rem; }

/* =====================================================
   PACKAGES
   ===================================================== */
.packages {
  position: relative;
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-900) 100%);
}

.packages-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.packages-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.06), transparent 70%);
  filter: blur(40px);
}

.pkg-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.pkg-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
  background: transparent;
}
.pkg-tab:hover { color: var(--white); border-color: rgba(14, 165, 233, 0.5); }
.pkg-tab.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.pkg-content { display: none; }
.pkg-content.active { display: block; animation: fadeIn 0.4s ease; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.pkg-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
}

.pkg-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-md);
}

.pkg-card.featured {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.04));
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-md), inset 0 0 40px rgba(14, 165, 233, 0.03);
  transform: scale(1.02);
}
.pkg-card.featured:hover { transform: scale(1.02) translateY(-6px); }

.pkg-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.pkg-badge.popular {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  color: var(--blue-200);
}

.pkg-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.currency { font-size: 1.4rem; color: var(--blue-300); vertical-align: top; margin-top: 0.5rem; }

.pkg-duration {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: -0.5rem;
}

.pkg-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.pkg-features li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery { background: var(--blue-900); }

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
  background: transparent;
}
.filter-btn:hover { color: var(--white); border-color: rgba(14, 165, 233, 0.5); }
.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.gallery-item.hidden {
  display: none;
}

.gallery-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 165, 233, 0.1);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-img-wrap:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 40, 0.9) 0%, rgba(8, 20, 40, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-img-wrap:hover .gallery-overlay { opacity: 1; }

.gallery-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.gallery-info p { font-size: 0.8rem; color: var(--blue-200); }

.gallery-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-fast);
}
.gallery-zoom svg { width: 16px; height: 16px; }
.gallery-zoom:hover { background: var(--blue-500); transform: scale(1.1); }

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); color: var(--white); }

.lightbox-inner {
  max-width: min(90vw, 900px);
  max-height: 90vh;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition);
}
.lightbox.active .lightbox-inner { transform: scale(1); }

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
#lightbox-title {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* =====================================================
   WHY US
   ===================================================== */
.why-us {
  background: linear-gradient(180deg, var(--blue-900), var(--blue-800));
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(14, 165, 233, 0.1);
  transition: var(--transition);
}
.why-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(14, 165, 233, 0.04);
  transform: translateY(-4px);
}

.why-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(14, 165, 233, 0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.why-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  position: relative;
  background: var(--blue-900);
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08), transparent 70%);
  filter: blur(40px);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info .section-tag { margin-bottom: 1rem; }
.contact-info .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; text-align: left; }
.contact-info p { color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }

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

.contact-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}
.contact-item span { font-size: 0.95rem; color: rgba(255,255,255,0.8); }

/* Glass Card */
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1 / -1; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

input, select, textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }

input:focus, select:focus, textarea:focus {
  border-color: var(--blue-400);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

select option { background: var(--blue-800); color: var(--white); }

textarea { resize: vertical; min-height: 120px; }

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.btn-icon { transition: var(--transition-fast); }
.btn:hover .btn-icon { transform: translateX(4px); }

.form-success {
  display: none;
  text-align: center;
  padding: 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-sm);
  color: var(--blue-200);
  font-size: 0.95rem;
  font-weight: 500;
  animation: fadeIn 0.5s ease;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--blue-800);
  border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-block: 4rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-logo-img { height: 70px !important; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.5rem; max-width: 300px; }

.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}
.social-link:hover { background: rgba(14, 165, 233, 0.2); transform: translateY(-2px); }

.footer-links-group h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group li, .footer-links-group a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}
.footer-links-group a:hover { color: var(--blue-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =====================================================
   ANIMATIONS & SCROLL REVEALS
   ===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within a grid */
.services-grid [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.services-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.15s; }
.services-grid [data-animate]:nth-child(4) { transition-delay: 0.2s; }
.services-grid [data-animate]:nth-child(5) { transition-delay: 0.25s; }
.services-grid [data-animate]:nth-child(6) { transition-delay: 0.3s; }

.packages-grid [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.packages-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.packages-grid [data-animate]:nth-child(3) { transition-delay: 0.15s; }

.gallery-grid [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.gallery-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid [data-animate]:nth-child(3) { transition-delay: 0.15s; }
.gallery-grid [data-animate]:nth-child(4) { transition-delay: 0.2s; }
.gallery-grid [data-animate]:nth-child(5) { transition-delay: 0.25s; }
.gallery-grid [data-animate]:nth-child(6) { transition-delay: 0.3s; }

.why-grid [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.why-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.why-grid [data-animate]:nth-child(3) { transition-delay: 0.15s; }
.why-grid [data-animate]:nth-child(4) { transition-delay: 0.2s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info .section-title { text-align: center; }
  .contact-info p { text-align: center; }
  .contact-details { align-items: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8, 20, 40, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .hamburger { display: flex; }

  .hero-stats { gap: 1.25rem; }
  .stat-divider { height: 30px; }

  .services-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .pkg-card.featured { transform: none; }
  .pkg-card.featured:hover { transform: translateY(-6px); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
  .pkg-tabs { gap: 0.4rem; }
  .pkg-tab { padding: 0.5rem 0.8rem; font-size: 0.8rem; }
  .footer-top { grid-template-columns: 1fr; }
}
