/* ==========================================================================
   NAS Trading - Mobile-First Modern Light UI & Frosted Glass Design System
   Exact Brand Palette:
   - Logo Dark Blue : #222E6A
   - Logo Paste     : #00A5C8
   ========================================================================== */

:root {
  --navy: #222E6A;
  --navy-deep: #151E4B;
  --navy-mid: #2C3D8F;
  --navy-soft: rgba(34, 46, 106, 0.08);

  --paste: #00A5C8;
  --paste-bright: #00C2E0;
  --paste-deep: #0086A3;
  --paste-soft: rgba(0, 165, 200, 0.11);
  --paste-glow: rgba(0, 165, 200, 0.26);

  --bg-page: #F6FAFC;
  --bg-pure: #FFFFFF;

  --glass-surface: rgba(255, 255, 255, 0.78);
  --glass-surface-strong: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(255, 255, 255, 0.96);
  --glass-accent-border: rgba(0, 165, 200, 0.25);
  --shadow-glass: 0 20px 50px -15px rgba(34, 46, 106, 0.09);
  --shadow-glass-hover: 0 28px 60px -14px rgba(34, 46, 106, 0.16);

  --text-heading: #222E6A;
  --text-body: #42526E;
  --text-muted: #6B7C99;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 165, 200, 0.15);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-heading);
  line-height: 1.65;
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  line-height: 1.18;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-spring);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Clean Soft Ambient Blur Orbs (Zero Gridlines)
   ========================================================================== */
.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAFC 50%, #EDF6FA 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-paste-top {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(0, 165, 200, 0.24) 0%, rgba(0, 194, 224, 0.03) 70%);
  top: -160px;
  right: -90px;
}

.orb-navy-left {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 46, 106, 0.12) 0%, rgba(34, 46, 106, 0.01) 70%);
  top: 260px;
  left: -180px;
  animation-delay: -7s;
}

.orb-paste-bottom {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 165, 200, 0.18) 0%, transparent 72%);
  bottom: 5%;
  right: 8%;
  animation-delay: -13s;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, 20px, 0) scale(1.04); }
  100% { transform: translate3d(-18px, 32px, 0) scale(0.97); }
}

/* ==========================================================================
   Floating Frosted Glass Navigation Bar (Mobile-First Touch Friendly)
   ========================================================================== */
.navbar {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 1220px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 12px 36px -10px rgba(34, 46, 106, 0.10);
  transition: all 0.35s var(--ease-spring);
}

.navbar.scrolled {
  top: max(8px, env(safe-area-inset-top));
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 165, 200, 0.24);
  box-shadow: 0 16px 42px -10px rgba(34, 46, 106, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  min-height: 78px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 8px 4px;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0%;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--navy), var(--paste));
  transition: width 0.3s var(--ease-spring);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-only-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Touch-Optimized Buttons (Min 48px height for mobile thumbs) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-spring);
  touch-action: manipulation;
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -6px rgba(34, 46, 106, 0.36);
}

.btn-navy:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--paste) 100%);
  box-shadow: 0 16px 30px -6px rgba(0, 165, 200, 0.38);
}

.btn-paste {
  background: linear-gradient(135deg, var(--paste) 0%, var(--paste-bright) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -6px rgba(0, 165, 200, 0.40);
}

.btn-paste:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--paste-deep) 0%, var(--paste) 100%);
  box-shadow: 0 16px 32px -6px rgba(0, 165, 200, 0.50);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  color: var(--navy);
  border: 1.5px solid rgba(34, 46, 106, 0.16);
}

.btn-glass:hover {
  background: #FFFFFF;
  border-color: var(--paste);
  color: var(--paste);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paste-soft);
  border: 1px solid rgba(0, 165, 200, 0.25);
  color: var(--navy);
  font-size: 1.35rem;
  cursor: pointer;
  touch-action: manipulation;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 154px 0 92px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paste-soft);
  border: 1px solid rgba(0, 165, 200, 0.28);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  max-width: 100%;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paste);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(0, 165, 200, 0.24);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.75; }
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--navy);
}

.text-brand-gradient {
  background: linear-gradient(120deg, var(--navy) 10%, var(--paste) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* Hero Stats Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: var(--glass-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-glass);
}

.stat-box h4 {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--navy);
}

.stat-box h4 span {
  color: var(--paste);
}

.stat-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Right Frosted Glass Panel */
.hero-visual {
  position: relative;
}

.glass-panel-outer {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1.5px solid #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: 0 32px 72px -16px rgba(34, 46, 106, 0.14);
}

.navy-command-card {
  background: linear-gradient(148deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 26px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.navy-command-card::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 165, 200, 0.42), transparent 70%);
}

.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.paste-chip {
  background: rgba(0, 165, 200, 0.22);
  color: #5CE1F6;
  border: 1px solid rgba(0, 194, 224, 0.45);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.division-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  z-index: 1;
}

.division-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 13px 15px;
  border-radius: 15px;
  transition: all 0.3s var(--ease-spring);
}

.division-item:hover {
  transform: translateX(4px);
  background: rgba(0, 165, 200, 0.18);
  border-color: rgba(0, 194, 224, 0.45);
}

.division-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.division-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--paste);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 165, 200, 0.35);
}

.division-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: #FFFFFF;
}

.division-desc {
  font-size: 0.77rem;
  color: #C4D2EE;
}

.division-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #67E8F9;
  white-space: nowrap;
}

/* Floating Frosted Callouts */
.float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid #FFFFFF;
  box-shadow: 0 18px 40px -10px rgba(34, 46, 106, 0.16);
  border-radius: 16px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  animation: floatGentle 5.5s ease-in-out infinite alternate;
  z-index: 2;
}

.float-top-left {
  top: -20px;
  left: -20px;
}

.float-bottom-right {
  bottom: -20px;
  right: -16px;
  animation-delay: -2.7s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--paste));
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
}

@keyframes floatGentle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-9px); }
}

/* ==========================================================================
   Section Styling
   ========================================================================== */
.section {
  padding: 92px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--paste);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-body);
  font-size: 1.03rem;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--glass-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--paste));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--glass-accent-border);
  box-shadow: var(--shadow-glass-hover);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-soft), var(--paste-soft));
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: all 0.35s var(--ease-spring);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--paste));
  color: #FFFFFF;
  transform: scale(1.06) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

.service-bullets {
  list-style: none;
  border-top: 1px solid rgba(34, 46, 106, 0.08);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-bullets li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li svg {
  color: var(--paste);
  flex-shrink: 0;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1.5px solid #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-glass);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-navy-panel {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.about-navy-panel::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 165, 200, 0.38), transparent 70%);
  bottom: -70px;
  right: -70px;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.value-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  padding: 16px;
}

.value-box strong {
  display: block;
  font-size: 1.02rem;
  color: #5CE1F6;
  margin-bottom: 4px;
}

.value-box span {
  font-size: 0.82rem;
  color: #D5E1F5;
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-copy p {
  color: var(--text-body);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}

.check-pill {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--paste-soft);
  color: var(--paste);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Contact Section (Mobile-First Inputs >= 16px to Prevent iOS Zoom)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: stretch;
}

.contact-navy-card {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 42px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 26px 55px -14px rgba(34, 46, 106, 0.30);
}

.contact-navy-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 165, 200, 0.40), transparent 70%);
}

.contact-navy-card h3 {
  color: #FFFFFF;
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.contact-navy-card > div > p {
  color: #C8D6F0;
  margin-bottom: 30px;
}

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

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 165, 200, 0.20);
  border: 1px solid rgba(0, 194, 224, 0.36);
  color: #5CE1F6;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.detail-item h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #5CE1F6;
  margin-bottom: 4px;
}

.detail-item p, .detail-item a {
  font-size: 0.96rem;
  color: #FFFFFF;
  font-weight: 500;
  word-break: break-word;
}

.detail-item a {
  display: inline-block;
  padding: 4px 0;
}

.detail-item a:hover {
  color: #5CE1F6;
}

/* Embedded Location Map under Address */
.contact-map-box {
  margin-top: 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 194, 224, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.contact-map-box iframe {
  display: block;
  width: 100%;
  height: 195px;
  border: 0;
}

.map-directions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: rgba(15, 23, 58, 0.92);
  font-size: 0.8rem;
  color: #D5E1F5;
}

.map-directions-bar a {
  color: #5CE1F6;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.map-directions-bar a:hover {
  text-decoration: underline;
}

.contact-glass-form {
  background: var(--glass-surface-strong);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1.5px solid #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-glass);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

/* 16px font-size prevents Safari/iOS auto-zoom on focus, 48px min-height for comfortable touch */
.input-box {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(34, 46, 106, 0.15);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy);
  transition: all 0.25s ease;
}

.input-box:focus {
  outline: none;
  border-color: var(--paste);
  box-shadow: 0 0 0 4px rgba(0, 165, 200, 0.16);
}

textarea.input-box {
  min-height: 115px;
  resize: vertical;
}

/* Captcha Control */
.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #5CE1F6;
  font-family: 'Plus Jakarta Sans', monospace;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  user-select: none;
  min-width: 130px;
}

.captcha-btn {
  min-height: 48px;
  background: var(--paste-soft);
  color: var(--navy);
  border: 1px solid rgba(0, 165, 200, 0.28);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.captcha-btn:hover {
  background: var(--paste);
  color: #FFFFFF;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 22px;
  cursor: pointer;
  min-height: 44px;
}

.privacy-check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--paste);
}

.privacy-check a {
  color: var(--paste);
  font-weight: 700;
  text-decoration: underline;
}

.status-banner {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.status-banner.success {
  display: block;
  background: var(--paste-soft);
  color: var(--navy);
  border: 1px solid var(--paste);
}

.status-banner.error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ==========================================================================
   Footer (Crisp Light Frosted Ice-Pearl Surface for Full Logo Contrast)
   ========================================================================== */
.footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, #E6F2F7 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 165, 200, 0.22);
  color: var(--text-body);
  padding: 70px 0 calc(32px + env(safe-area-inset-bottom));
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--paste), var(--paste-bright));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 38px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(34, 46, 106, 0.12);
}

.footer-brand img {
  height: 74px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.94rem;
  color: var(--text-body);
  max-width: 330px;
}

.footer h4 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  font-size: 0.94rem;
  color: var(--text-body);
}

.footer-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-body);
  display: inline-block;
  padding: 3px 0;
}

.footer-links a:hover {
  color: var(--paste);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   Tablet & Mobile Responsive Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-card,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  /* Compact Mobile Floating Header */
  .navbar {
    width: calc(100% - 20px);
    border-radius: 18px;
  }
  .nav-inner {
    padding: 8px 14px;
    min-height: 66px;
  }
  .brand-logo img {
    height: 48px;
  }
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }

  /* Full-Width Touch-Friendly Mobile Menu Drawer */
  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 18px;
    border-radius: 20px;
    border: 1.5px solid rgba(0, 165, 200, 0.24);
    box-shadow: 0 24px 48px rgba(34, 46, 106, 0.18);
    gap: 6px;
  }
  .navbar.open .nav-links li {
    width: 100%;
  }
  .navbar.open .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .navbar.open .nav-links a:hover,
  .navbar.open .nav-links a.active {
    background: var(--paste-soft);
  }
  .navbar.open .nav-links a::after {
    display: none;
  }
  .navbar.open .mobile-only-cta {
    display: block;
    margin-top: 8px;
  }
  .navbar.open .mobile-only-cta .btn {
    display: flex;
    width: 100%;
  }

  /* Mobile Hero Spacing & Stacking */
  .hero {
    padding: 112px 0 64px;
  }
  .eyebrow-pill {
    font-size: 0.72rem;
    padding: 7px 13px;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-stats {
    padding: 16px 14px;
    gap: 10px;
    text-align: center;
  }
  .stat-box p {
    font-size: 0.76rem;
  }

  /* Mobile Showcase & Floating Pills */
  .glass-panel-outer {
    padding: 14px;
    border-radius: 24px;
  }
  .navy-command-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .division-item {
    padding: 12px;
  }
  .float-top-left,
  .float-bottom-right {
    position: static;
    margin: 10px 0;
    animation: none;
  }

  /* Mobile Sections, Cards & Forms */
  .section {
    padding: 64px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .services-grid,
  .form-row-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .about-card,
  .contact-glass-form,
  .contact-navy-card {
    padding: 24px 18px;
    border-radius: 24px;
  }
  .about-navy-panel {
    padding: 24px 18px;
  }
  .about-copy .btn {
    width: 100%;
  }
  .captcha-wrap input.input-box {
    max-width: 100% !important;
    flex: 1 1 100%;
  }
  .footer {
    padding-top: 52px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .brand-logo img {
    height: 42px;
  }
  .hero-title {
    font-size: 1.9rem;
  }
}
