/* ==========================================================================
   THE LANKAN NOMAD - MASTER STYLESHEET
   © Orbis Global - 2026
   ========================================================================== */

/* --------------------------------------------------------------------------
   Keyframes & Eye-Catching Animations (Global)
   -------------------------------------------------------------------------- */
@keyframes heroBgZoom {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.08) translate3d(-1%, -1%, 0); }
  100% { transform: scale(1.03) translate3d(1%, 0.5%, 0); }
}

@keyframes pulseRadar {
  0% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

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

@keyframes floatGentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.8deg); }
}

@keyframes btnShimmerSweep {
  0% { transform: translateX(-120%) skewX(-20deg); }
  25%, 100% { transform: translateX(250%) skewX(-20deg); }
}

@keyframes auraPulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(18, 155, 224, 0.16), 0 0 0 2px rgba(18, 155, 224, 0.85); }
  50% { box-shadow: 0 18px 48px rgba(18, 155, 224, 0.28), 0 0 0 3px rgba(18, 155, 224, 1), 0 0 24px rgba(56, 189, 248, 0.35); }
}

@keyframes meshAuraFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowTrackMove {
  0% { left: -20%; }
  100% { left: 110%; }
}

/* Scroll Reveal Transitions */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] { transform: translateY(32px); }
[data-animate="fade-down"] { transform: translateY(-24px); }
[data-animate="fade-left"] { transform: translateX(36px); }
[data-animate="fade-right"] { transform: translateX(-36px); }
[data-animate="scale-up"] { transform: scale(0.94) translateY(24px); }

[data-animate].is-animated {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Typography & Eyebrows */
.nomad-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.nomad-eyebrow-light {
  color: #a8cbf8;
}

.nomad-section-header {
  margin-bottom: var(--space-3xl);
}

.nomad-section-header.text-center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.nomad-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-navy);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.nomad-section-title.text-white {
  color: var(--color-white);
}

.nomad-section-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-text-body);
}

.nomad-section-desc.text-white {
  color: rgba(255, 255, 255, 0.85);
}

/* Hero Section (Home Page only) */
.nomad-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 160px 0 100px;
  color: var(--color-white);
}

.nomad-hero-overlay {
  position: absolute;
  inset: 0;
  /* Directional scrim: deep navy behind the text on the left for razor-sharp typography readability, fading to completely clear across the right so the beach, ocean, and sky remain vibrant and sunlit */
  background:
    linear-gradient(90deg,
      rgba(0, 71, 130, 0.88) 0%,
      rgba(0, 71, 130, 0.80) 38%,
      rgba(0, 71, 130, 0.55) 55%,
      rgba(0, 71, 130, 0.20) 72%,
      rgba(0, 71, 130, 0.0) 85%,
      transparent 100%
    ),
    linear-gradient(180deg,
      rgba(0, 71, 130, 0.55) 0%,
      transparent 20%,
      transparent 75%,
      rgba(0, 71, 130, 0.40) 100%
    );
  z-index: 1;
  pointer-events: none;
}

/* First Content Section on Inner Pages (Clears Fixed Navbar - Hero ONLY on Home Page) */
.nomad-first-section {
  padding-top: 130px !important;
}

/* Eye-Catching Inner Page Hero Banner */
.nomad-page-hero {
  position: relative;
  background-color: #004782;
  color: #fefcff;
  padding: 160px 0 80px;
  overflow: hidden;
  text-align: center;
}

.nomad-page-hero .nomad-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(18, 155, 224, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0, 71, 130, 0.75) 0%, rgba(0, 71, 130, 0.98) 100%);
  z-index: 1;
  pointer-events: none;
}

.nomad-page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.nomad-page-hero .nomad-section-title {
  color: #fefcff;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.nomad-page-hero .nomad-section-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto;
}

/* Deprecated Inner Headers */
.nomad-page-header,
.nomad-hero-inner {
  display: none !important;
}

.nomad-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.nomad-hero .nomad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.22);
  border: 1px solid rgba(125, 211, 252, 0.45);
  color: #bae6fd;
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.nomad-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fefcff;
  margin-bottom: 24px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.nomad-hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  color: #fefcff;
  margin-bottom: 32px;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
}

.nomad-hero-lead p {
  margin-bottom: 14px;
}

.nomad-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 26px;
}

.nomad-hero-supporting {
  font-size: 0.98rem;
  color: #fefcff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.nomad-hero-supporting::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  flex-shrink: 0;
}

/* Notice / Disclaimer Note Box */
.nomad-note-box {
  background: #f4f8fb;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 24px;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.55;
}

.nomad-note-box strong {
  color: var(--color-navy);
}

.nomad-note-box-dark {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--color-bg-sky);
  color: rgba(255, 255, 255, 0.85);
}

.nomad-note-box-dark strong {
  color: #fff;
}

/* 4. Choose Your Stay Duration Cards */
.durations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.duration-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.duration-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 155, 224, 0.3);
}

.duration-card.is-featured {
  background: linear-gradient(180deg, #fefcff 0%, #f4f8fe 100%);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.duration-badge-top {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.duration-tag {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(18, 155, 224, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 16px;
}

.duration-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.duration-desc {
  font-size: 0.98rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.duration-ideal-block {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.duration-ideal-block strong {
  color: var(--color-navy);
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.duration-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* 5. Services Overview Grid */
.services-nomad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.service-nomad-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-nomad-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-nomad-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-nomad-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-nomad-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-nomad-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.service-nomad-desc {
  font-size: 0.96rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* 6. Destination Discovery Cards */
.destinations-nomad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.destinations-nomad-grid .destination-nomad-card:last-child:nth-child(odd) {
  grid-column: span 2;
}

.destination-nomad-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.destination-nomad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.destination-nomad-media {
  position: relative;
  height: 240px;
}

.destination-nomad-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-nomad-tagline {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: rgba(0, 71, 130, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.destination-nomad-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.destination-nomad-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.destination-nomad-desc {
  font-size: 0.98rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.destination-nomad-consider {
  background: #f7f9fb;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-top: auto;
  margin-bottom: 20px;
}

.destination-nomad-consider strong {
  color: var(--color-navy);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* 7. How It Works Steps */
.steps-nomad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-nomad-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-base);
}

.step-nomad-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.step-nomad-number {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.step-nomad-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.step-nomad-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* 8. The Lankan Lifestyle */
.lifestyle-nomad-wrap {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 70px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.lifestyle-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lifestyle-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.lifestyle-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(18, 155, 224, 0.35);
  color: var(--color-bg-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lifestyle-media-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lifestyle-media-collage img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lifestyle-media-collage img:nth-child(2) {
  margin-top: 30px;
}

/* 9. Why The Lankan Nomad */
.why-nomad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.why-nomad-grid .why-nomad-card:nth-child(4),
.why-nomad-grid .why-nomad-card:nth-child(5) {
  grid-column: span 1;
}

.why-nomad-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all var(--transition-base);
}

.why-nomad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 155, 224, 0.3);
}

.why-nomad-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(18, 155, 224, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-nomad-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.why-nomad-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* 10. Featured Experiences */
.experiences-nomad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.experience-nomad-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transition: transform var(--transition-base);
}

.experience-nomad-card:hover {
  transform: translateY(-6px);
}

.experience-nomad-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.experience-nomad-card:hover img {
  transform: scale(1.05);
}

.experience-nomad-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 71, 130, 0.1) 0%, rgba(0, 71, 130, 0.92) 80%);
}

.experience-nomad-body {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.experience-nomad-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.experience-nomad-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

/* 11. Practical Information Guide Previews */
.guides-nomad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.guide-nomad-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.guide-nomad-card:hover {
  border-color: var(--color-primary);
  background: #fbfdff;
  transform: translateX(4px);
}

.guide-nomad-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.35;
}

.guide-nomad-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 87, 74, 0.12);
  color: var(--color-crimson, #ff574a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.guide-nomad-card:hover .guide-nomad-arrow {
  background: var(--color-crimson, #ff574a);
  color: #fefcff;
  transform: translateX(3px);
}

/* 12. High Impact Enquiry CTA Banner */
.enquiry-cta-section {
  position: relative;
  background: linear-gradient(135deg, #004782 0%, #003360 50%, #00223f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  padding: 80px 40px;
  margin: 60px 0;
  text-align: center;
  color: #fefcff;
  box-shadow: var(--shadow-lg);
}

.enquiry-cta-mesh {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 50%, rgba(18, 155, 224, 0.35) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(56, 189, 248, 0.3) 0%, transparent 50%);
  animation: meshAuraFlow 12s ease infinite;
  background-size: 200% 200%;
  pointer-events: none;
}

.enquiry-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(18, 155, 224, 0.25) 0%, transparent 60%);
  z-index: 1;
}

.enquiry-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.enquiry-cta-section .nomad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.22);
  border: 1px solid rgba(125, 211, 252, 0.45);
  color: #bae6fd;
  padding: 7px 20px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.enquiry-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fefcff !important;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.enquiry-cta-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 32px;
}

.enquiry-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Modern Multi-Step / Plan Your Stay Form */
.plan-stay-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

.plan-section-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-navy);
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 12px;
  margin: 32px 0 24px;
}

.plan-section-title:first-of-type {
  margin-top: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-label .req {
  color: #e53e3e;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.98rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fbfdff;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: #fefcff;
  box-shadow: 0 0 0 3px rgba(18, 155, 224, 0.15);
}

.checkbox-grid-nomad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.checkbox-pill-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #f8fafc;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-navy);
}

.checkbox-pill-label:hover {
  background: #edf3fb;
  border-color: rgba(18, 155, 224, 0.4);
}

.checkbox-pill-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}

.consent-row {
  margin: 28px 0;
  padding: 18px 20px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-body);
  cursor: pointer;
}

.consent-label input {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.alert-nomad {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-success-nomad {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-error-nomad {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* FAQ Accordion */
.faq-nomad-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.faq-nomad-item {
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-nomad-item:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  border-color: rgba(18, 155, 224, 0.22);
}

.faq-nomad-item.is-expanded {
  border-color: rgba(18, 155, 224, 0.28);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  cursor: default;
}

.faq-nomad-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  gap: 16px;
  font-family: inherit;
  transition: color 0.4s ease;
}

.faq-nomad-item:hover .faq-nomad-trigger {
  color: #129be0;
}

.faq-nomad-item.is-expanded .faq-nomad-trigger {
  color: var(--color-navy);
}

.faq-nomad-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f4f8;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
              background 0.4s ease, 
              color 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.faq-nomad-item:hover .faq-nomad-icon {
  background: #eff6ff;
  color: #129be0;
  border-color: rgba(18, 155, 224, 0.25);
}

.faq-nomad-item.is-expanded .faq-nomad-icon {
  transform: rotate(180deg);
  background: #129be0;
  color: #fff;
  border-color: #129be0;
  box-shadow: 0 4px 14px rgba(18, 155, 224, 0.28);
}

.faq-nomad-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(4px);
  padding: 0 28px;
  transition: max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 0.5s ease 0.06s, 
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
              padding-bottom 0.4s ease;
}

.faq-nomad-item.is-expanded .faq-nomad-panel {
  padding-bottom: 24px;
  opacity: 1;
  transform: translateY(0);
}

.faq-nomad-answer {
  font-size: 0.98rem;
  color: var(--color-text-body);
  line-height: 1.68;
}

/* Legal Documents */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-sm);
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.legal-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 36px 0 16px;
}

.legal-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 16px;
}

.legal-body ul {
  margin: 12px 0 20px 24px;
  color: var(--color-text-body);
  line-height: 1.65;
}

.legal-body li {
  margin-bottom: 8px;
}

/* Service Detail Cards on Page 02 */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.service-detail-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: 0 4px 20px rgba(0, 71, 130, 0.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-detail-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 71, 130, 0.1);
  border-color: rgba(18, 155, 224, 0.35);
}

.service-detail-visual {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail-item:hover .service-detail-visual img {
  transform: scale(1.06);
}

.service-detail-item:nth-child(even) {
  direction: rtl;
}

.service-detail-item:nth-child(even) > * {
  direction: ltr;
}

.service-detail-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.service-detail-title {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.service-detail-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-body);
  margin-bottom: 20px;
}

.service-info-list {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.service-info-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.service-info-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--color-text-body);
}

.service-info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-info-list li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: 600;
}

/* Footer Additions */
.footer-newsletter-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: 48px;
  margin-bottom: var(--space-4xl);
}

.footer-newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.footer-newsletter-headline {
  font-size: 1.85rem;
  font-weight: 600;
  color: #fff;
  margin: 8px 0 12px;
}

.footer-newsletter-desc {
  font-size: 0.95rem;
  color: var(--color-navy-muted);
  line-height: 1.55;
}

.footer-input-group {
  display: flex;
  gap: 12px;
}

.footer-input-group input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.footer-input-group input:focus {
  border-color: var(--color-primary);
}

.footer-newsletter-privacy {
  font-size: 0.8rem;
  color: var(--color-navy-muted);
  margin-top: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 40px;
  margin-bottom: var(--space-3xl);
}

.footer-col-brand .footer-brand {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  text-decoration: none;
  display: inline-block;
}

.footer-tagline-main {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.footer-subtext {
  font-size: 0.88rem;
  color: var(--color-navy-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-pill:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  color: var(--color-navy-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-link-list a:hover,
.footer-link-list a.is-active {
  color: #fff;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  font-size: 0.9rem;
}

.contact-label {
  color: var(--color-navy-muted);
  margin-right: 6px;
}

.contact-val {
  color: #fff;
  text-decoration: none;
}

.contact-val:hover {
  color: var(--color-bg-sky);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--color-navy-muted);
  line-height: 1.55;
}

/* Pre-publication Checklist Widget */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.checklist-item {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text-body);
}

.checklist-item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE DESIGN (THE LANKAN NOMAD)
   ========================================================================== */

@media (max-width: 1024px) {
  .durations-grid,
  .services-nomad-grid,
  .steps-nomad-grid,
  .why-nomad-grid,
  .experiences-nomad-grid,
  .guides-nomad-grid,
  .footer-grid,
  .footer-newsletter-box {
    grid-template-columns: 1fr;
  }

  .lifestyle-nomad-wrap {
    grid-template-columns: 1fr;
    padding: 44px 28px;
  }

  .service-detail-item {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .service-detail-item:nth-child(even) {
    direction: ltr;
  }

  .destinations-nomad-grid {
    grid-template-columns: 1fr;
  }

  .destinations-nomad-grid .destination-nomad-card:last-child:nth-child(odd) {
    grid-column: span 1;
  }

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

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

@media (max-width: 768px) {
  :root {
    --container-padding: 18px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .nomad-section-header {
    margin-bottom: 30px;
  }

  .nomad-section-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .nomad-section-desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Home Hero on Mobile */
  .nomad-hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .nomad-hero .nomad-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 71, 130, 0.78) 0%, rgba(0, 71, 130, 0.65) 45%, rgba(0, 71, 130, 0.80) 100%);
  }

  .nomad-hero-title {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .nomad-hero-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .nomad-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .nomad-hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px !important;
  }

  .nomad-hero-supporting {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* First Content Section on Mobile (Clears Fixed Navbar) */
  .nomad-first-section {
    padding-top: 100px !important;
  }

  /* Durations */
  .duration-card {
    padding: 24px 20px;
  }

  .duration-title {
    font-size: 1.3rem;
  }

  .duration-card .btn {
    width: 100%;
    justify-content: center;
  }

  /* Lifestyle Section */
  .lifestyle-nomad-wrap {
    padding: 36px 20px;
    border-radius: var(--radius-xl);
  }

  .lifestyle-list-item {
    font-size: 0.95rem;
    gap: 10px;
  }

  .lifestyle-media-collage {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .lifestyle-media-collage img {
    height: 130px;
    border-radius: var(--radius-md);
  }

  .lifestyle-media-collage img:nth-child(2) {
    margin-top: 0;
  }

  /* Services Detail List */
  .services-detail-list {
    gap: 28px;
    margin-top: 32px;
  }

  .service-detail-item {
    padding: 24px 18px;
    border-radius: var(--radius-xl);
    gap: 20px;
  }

  .service-detail-title {
    font-size: 1.4rem;
  }

  .service-detail-visual {
    min-height: 200px !important;
    height: 200px !important;
  }

  .service-detail-item .btn {
    width: 100%;
    justify-content: center;
  }

  /* Form & Plan Stay */
  .plan-stay-wrap {
    padding: 24px 16px;
    border-radius: var(--radius-xl);
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checkbox-grid-nomad {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .checkbox-pill-label {
    min-height: 44px;
    padding: 10px 14px;
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 12px 14px;
  }

  /* FAQ Accordion */
  .faq-nomad-trigger {
    padding: 16px 16px;
    font-size: 1rem;
    gap: 12px;
  }

  .faq-nomad-panel {
    padding: 0 16px;
  }

  /* Footer */
  .footer-newsletter-section {
    padding: 28px 18px;
    border-radius: var(--radius-xl);
  }

  .footer-newsletter-headline {
    font-size: 1.45rem;
  }

  .footer-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .footer-input-group input {
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
  }

  .footer-input-group button {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Enquiry CTA Banner */
  .enquiry-cta-section {
    padding: 44px 20px;
    margin: 36px 0;
    border-radius: var(--radius-xl);
  }

  .enquiry-cta-title {
    font-size: 1.7rem;
    line-height: 1.2;
    color: #fefcff !important;
  }

  .enquiry-cta-desc {
    font-size: 1rem;
  }

  .enquiry-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .enquiry-cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px !important;
  }

  /* Legal Container */
  .legal-container {
    padding: 28px 16px;
    border-radius: var(--radius-xl);
  }

  .legal-meta-bar {
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .nav-brand .brand-text {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .duration-tag {
    font-size: 1rem;
    padding: 4px 12px;
  }

  .experience-nomad-card {
    height: 250px;
  }

  .step-nomad-card {
    padding: 22px 18px;
  }

  .why-nomad-card {
    padding: 22px 18px;
  }
}

