/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:           #080d14;
  --surface:      #0b1520;
  --surface-2:    #0f1a26;
  --border:       #1e2d3d;
  --text:         #e8edf5;
  --text-muted:   #8a96a8;
  --text-dim:     #3a4a5c;
  --accent:       #00dcff;
  --accent-2:     #a78bfa;
  --font-sans:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ─── Base ───────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(0, 220, 255, 0.2);
  color: #fff;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HELPERS ===== */
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00c9ff;
}

.dot-grid {
  background-image: radial-gradient(circle, rgba(0,201,255,0.13) 1px, transparent 1px);
  background-size: 30px 30px;
}

.gradient-text {
  background: linear-gradient(130deg, #ffffff 0%, #00c9ff 45%, #7b61ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  filter: drop-shadow(0 0 28px rgba(0,201,255,0.45));
}

/* ===== NAV ===== */
nav {
  position: fixed; /* optional if you want it to stay visible */
  top: 0;
  left: 0;
  right: 0; /* ensures no gap on the right */
  width: 100% !important;
  background: #05070d; /* match your dark theme */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  box-sizing: border-box;
  z-index: 1000;
}


.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: #e8edf5;
  user-select: none;
}

.nav-logo .bracket { color: #00c9ff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a8499;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #00c9ff; }

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #00c9ff;
  text-decoration: none;
  border: 1px solid #00c9ff61;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: #00c9ff14; }
.nav-cta svg { width: 12px; height: 12px; stroke: currentColor; }

/* Base layout */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: auto;
  padding: 20px 33px;
}

/* Logo + text */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 62px;
  width: auto;
}

/* Desktop links */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00cfff;
}

/* CTA button */
.nav-cta {
  background: #00cfff;
  color: #000;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #e0e0e0;
  border-radius: 3px;
  transition: 0.3s ease;
}
.nav-fehr {
  color: #ffffff;
  font-weight: 600;
}

.nav-dev {
  color:  #4f8cff;; /* your brand blue */
  font-weight: 600;
  margin-left: 2px; /* tiny spacing so it doesn’t look glued */
}

.nav-text {
  display: flex;
  align-items: center;
  gap: 0px;
}

/* Hamburger animation */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ─── Section ────────────────────────────────────────────── */
.contact {
  width: 100%;
  padding: 7rem 1.5rem;
}
.contact {
  position: relative;
  overflow: hidden;
}

.contact-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.contact-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25; /* adjust for brightness */
}


.contact__inner {
  max-width: 64rem;
  margin: 0 auto;
}

/* ─── Label ──────────────────────────────────────────────── */
.contact__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 220, 255, 0.5);
  margin-bottom: 2rem;
}

/* ─── Two-column grid ────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}



/* ─── Left column ────────────────────────────────────────── */
.contact__heading {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.contact__heading-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 22rem;
  margin-bottom: 3rem;
}

/* ─── Contact details ────────────────────────────────────── */
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.contact__email:hover { color: var(--text); }

.contact__icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.contact__email:hover .contact__icon-box {
  border-color: rgba(0, 220, 255, 0.35);
}

.contact__email-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.contact__socials {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
  margin-bottom: 0;
}

.contact__left,
.contact__card {
  align-self: start !important;
}

.contact__social-btn:hover svg {
  filter: drop-shadow(0 0 6px currentColor);
  transform: translateY(-2px);
  transition: 0.2s ease;
}
.contact__details a,
.contact__details div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.contact__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.contact__phone-text,
.contact__email-text,
.contact__location-text,
.contact__hours-text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}


.contact__social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.contact__social-btn:hover {
  color: var(--text);
  border-color: rgba(30, 45, 61, 0.8);
}

.contact__dots {
  margin-top: 4rem;


}

/* ─── Form card ──────────────────────────────────────────── */
.contact__card {
  position: relative;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
}

.contact__card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0,220,255,0.1), transparent 60%, rgba(167,139,250,0.1));
  pointer-events: none;
  opacity: 0.4;
}

/* ─── Form ───────────────────────────────────────────────── */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__field-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.contact__input::placeholder { color: var(--text-dim); }

.contact__input:focus {
  border-color: rgba(0, 220, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 220, 255, 0.08);
}

.contact__textarea {
  resize: none;
  font-family: var(--font-sans);
}

/* ─── Submit button ──────────────────────────────────────── */
.contact__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.contact__submit:hover { opacity: 0.9; transform: translateY(-1px); }
.contact__submit:active { transform: translateY(0); }

.contact__disclaimer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ─── Success state ──────────────────────────────────────── */
.contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
  gap: 0.75rem;
}

.contact__success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,220,255,0.1), rgba(167,139,250,0.1));
  border: 1px solid rgba(0, 220, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.contact__success-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact__success-sub {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.contact__reset {
  margin-top: 1rem;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(0, 220, 255, 0.5);
  cursor: pointer;
  transition: color 0.2s;
}

.contact__reset:hover { color: var(--accent); }

/* ===== FOOTER ===== */
footer { border-top: 1px solid rgba(0,201,255,0.08); }

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.875rem;
  color: #e8edf5;
}
.footer-logo .bracket { color: #00c9ff; }

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #7a8499;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #7a8499;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #00c9ff; }


/* Make page flow vertical and push footer to bottom when possible */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 140vh;
}

/* Your main content wrapper (whatever wraps all sections) */
main {
  flex: 1 0 auto;
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  width: 100%;
  padding: 0.4rem 0;
  background: rgba(5, 6, 10, 0.25);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact__dots { display: none; }
}

@media (max-width: 500px) {
  .contact__row {
    grid-template-columns: 1fr;
  }
}

/* MOBILE FIXES */
@media (max-width: 768px) {

  .contact__form {
    width: 100%;
    padding: 20px;
  }

  .contact__row {
    display: block;
  }

  .contact__field {
    width: 100%;
    margin-bottom: 20px;
  }

  .contact__input,
  .contact__textarea {
    width: 100%;
    font-size: 16px; /* prevents iPhone zoom */
  }

  .contact__submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 18px;
  }

  .contact__success {
    padding: 20px;
    text-align: center;
  }
  
}
