/* ═══════════════════════════════════════════════════════════════════════════
   WANDR — Community Travel Platform  |  style.css
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ── CSS Custom Properties ────────────────────────────────────────────────── */
:root {
  /* ── Unknown Voyagers Brand Colors (exact logo match) ── */
  --brand-blue: #2E3192;
  /* deep indigo — logo pin & title text */
  --brand-blue-mid: #3D4DB5;
  --brand-blue-glow: rgba(46, 49, 146, 0.22);

  --orange: #F7941D;
  /* logo orange — airplane & arc & tagline */
  --orange-dark: #D97B0F;
  --orange-glow: rgba(247, 148, 29, 0.18);

  --skyblue: #29ABE2;
  /* sky blue — inner arc of logo */
  --skyblue-dark: #1a8cbf;
  --skyblue-glow: rgba(41, 171, 226, 0.15);

  /* ── Compatibility aliases (keeps all existing HTML classes working) ── */
  --teal: #F7941D;
  /* → orange */
  --teal-dark: #D97B0F;
  --teal-glow: rgba(247, 148, 29, 0.18);
  --gold: #29ABE2;
  /* → sky blue */
  --gold-dark: #1a8cbf;

  /* ── Layout & Neutrals ── */
  --navy: #0b0e2a;
  --navy-mid: #10163a;
  --navy-light: #1a2565;
  --white: #ffffff;
  --off-white: #f4f7ff;
  --muted: #8a9bb8;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

.highlight {
  color: var(--teal);
}

.gold {
  color: var(--gold);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(0, 201, 177, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0, 201, 177, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 15, 44, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: rgba(10, 15, 44, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-top: 1px solid var(--border);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.05rem;
  color: var(--muted);
  padding: 8px 0;
}

.mobile-menu a:hover {
  color: var(--teal);
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1535 50%, #091428 100%);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-globe {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='98' stroke='%2300c9b1' stroke-width='1.5' fill='none'/%3E%3Cellipse cx='100' cy='100' rx='55' ry='98' stroke='%2300c9b1' stroke-width='1' fill='none'/%3E%3Cellipse cx='100' cy='100' rx='98' ry='40' stroke='%2300c9b1' stroke-width='1' fill='none'/%3E%3Cellipse cx='100' cy='100' rx='98' ry='70' stroke='%2300c9b1' stroke-width='0.7' fill='none'/%3E%3Cline x1='2' y1='100' x2='198' y2='100' stroke='%2300c9b1' stroke-width='0.7'/%3E%3Cline x1='100' y1='2' x2='100' y2='198' stroke='%2300c9b1' stroke-width='0.7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 201, 177, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 200, 66, 0.05) 0%, transparent 50%);
}

.floating-dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--teal);
  animation: floatDot 8s infinite ease-in-out;
}

@keyframes floatDot {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-24px) scale(1.3);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.35);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 28px;
  animation: pulse-glow 3s ease infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 201, 177, 0.25);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(0, 201, 177, 0);
  }
}

.hero-badge .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.card-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.card-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.card-info p {
  font-size: 0.78rem;
  color: var(--muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.3);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

.tag.gold {
  background: rgba(245, 200, 66, 0.12);
  border-color: rgba(245, 200, 66, 0.3);
  color: var(--gold);
}

.card-map {
  border-radius: 12px;
  overflow: hidden;
  height: 130px;
  background: linear-gradient(135deg, #1a2351, #0d1535);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.map-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  animation: ping 2s ease-out infinite;
}

.map-pin::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  animation: ping 2s ease-out infinite 0.3s;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  75% {
    transform: scale(2);
    opacity: 0;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.map-text {
  color: var(--muted);
  font-size: 0.8rem;
  position: absolute;
  bottom: 12px;
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════ */
.how-it-works {
  background: var(--navy-mid);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(0, 201, 177, 0.15), rgba(0, 201, 177, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: block;
}

.step-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  pointer-events: none;
  transition: var(--transition);
}

.feature-card:hover .feature-card-glow {
  transform: scale(1.5);
  opacity: 1.5;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 201, 177, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════════════ */
.gallery {
  background: var(--navy-mid);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 18px;
  margin-top: 52px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--navy-light);
  border: 1px solid var(--border);
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 44, 0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.gallery-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--border);
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-size: 0.85rem;
  gap: 12px;
}

.gallery-placeholder span {
  font-size: 2.5rem;
}

.gallery-load-more {
  text-align: center;
  margin-top: 40px;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */
.testimonials-track {
  display: flex;
  gap: 24px;
  margin-top: 52px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonials-track::-webkit-scrollbar {
  height: 4px;
}

.testimonials-track::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}

.testimonial-card {
  min-width: 320px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex-shrink: 0;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #007acc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.author-avatar.gold-bg {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.author-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.author-place {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark), #006e8e, #003a6e);
  border-radius: var(--radius-lg);
  margin: 0;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 36px;
  position: relative;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  font-size: 1rem;
  padding: 16px 40px;
}

.cta-banner .btn-primary:hover {
  background: var(--off-white);
}

/* ══════════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════════ */
.contact {
  background: var(--navy-mid);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  margin-top: 52px;
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--teal);
  background: rgba(0, 201, 177, 0.05);
  box-shadow: 0 0 0 4px rgba(0, 201, 177, 0.08);
}

.form-control::placeholder {
  color: rgba(138, 155, 184, 0.6);
}

.form-control option {
  background: var(--navy);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 201, 177, 0.5);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ══════════════════════════════════════════════════════════
   POPUP / MODAL
══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--navy-mid);
  border: 1px solid rgba(0, 201, 177, 0.35);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  transform: scale(0.85) translateY(20px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 201, 177, 0.15);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(0, 201, 177, 0.2), rgba(0, 201, 177, 0.05));
  border: 2px solid rgba(0, 201, 177, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation: pop-in 0.5s ease;
}

@keyframes pop-in {
  0% {
    transform: scale(0) rotate(-30deg);
  }

  60% {
    transform: scale(1.15) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-message {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.modal-timer {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.modal-close {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 201, 177, 0.4);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.social-icon:hover {
  background: var(--teal-glow);
  border-color: var(--teal);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--teal);
}

/* ══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}