/* Contact page styles (fonts loaded by base.html) */

:root {
  --navy: #0d1b3e;
  --navy-deep: #080f24;
  --navy-mid: #121f45;
  --navy-light: #1a2a5e;
  --cyan: #ffffff;
  --cyan-bright: #ffffff;
  --cyan-dim: rgba(0,180,216,0.15);
  --cyan-glow: rgba(0,180,216,0.35);
  --white: #f0f4ff;
  --white-dim: rgba(240,244,255,0.65);
  --white-ghost: rgba(240,244,255,0.08);
  --gold: #c8a84b;
  --scan: rgba(0,180,216,0.018);
  --grid: rgba(0,180,216,0.055);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
  cursor: auto;
}

.cursor,
.cursor-ring {
  display: none !important;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    var(--scan) 2px,
    var(--scan) 4px
  );
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
}

.content {
  position: relative;
  z-index: 10;
}

/* ===== NAV ===== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,180,216,0.15);
  transition: all 0.4s;
}

nav.scrolled {
  background: #ffffff;
  border-bottom-color: rgba(0,180,216,0.2);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
}

.nav-logo img {
  height: 22px;
  width: auto;
  display: block;
}

.nav-motto {
  font-family: 'Assistant', sans-serif;
  font-size: 7px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(11, 96, 220, 0.7);
  margin-top: 4px;
  margin-left: 1px;
  white-space: nowrap;
}

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

.nav-links a {
  font-family: 'Cal Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #0d1b3e;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0d1b3e;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #1a2a5e;
}

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

.nav-cta {
  padding: 10px 26px !important;
  background: #0d1b3e !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  clip-path: polygon(
    8px 0%,
    100% 0%,
    calc(100% - 8px) 100%,
    0% 100%
  );
  transition: background 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #1a2a5e !important;
  color: var(--white) !important;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0d1b3e;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -2px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 2px);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  nav {
    padding: 0 20px;
    height: 68px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(32px);
    padding: 32px 24px 48px;
    gap: 28px;
    border-bottom: 1px solid rgba(0,180,216,0.2);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 999;
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0,180,216,0.1);
    padding-bottom: 14px;
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-links a {
    font-size: 15px;
    color: #0b60dc;
    display: block;
    width: 100%;
  }

  .nav-cta {
    display: inline-block !important;
    width: auto !important;
    margin-top: 8px;
  }
}

/* ===== PAGE HERO ===== */

.page-hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 24px;
  background: linear-gradient(
    135deg,
    rgba(8,15,36,0.96) 0%,
    rgba(13,27,62,0.88) 100%
  );
  border-bottom: 1px solid rgba(0,180,216,0.1);
  position: relative;
}

.page-hero h1 {
  font-family: 'Cal Sans', sans-serif;
  font-size: clamp(42px, 10vw, 96px);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 1;
}

.page-hero p {
  font-size: 18px;
  color: var(--white-dim);
  max-width: 600px;
  opacity: 1;
}

/* ===== PAGE CONTENT ===== */

.page-content {
  padding: 60px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.page-content h2 {
  font-family: 'Cal Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-top: 48px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--cyan);
  margin-top: 28px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.page-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--white-dim);
  margin-bottom: 18px;
}

.page-content ul,
.page-content ol {
  margin: 20px 0 20px 20px;
  color: var(--white-dim);
}

.page-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.page-content strong {
  color: var(--white);
  font-weight: 600;
}

.page-content em {
  color: var(--cyan);
  font-style: italic;
}

/* ===== CONTACT SECTION ===== */

.contact-section {
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 52px;
  align-items: start;
}

/* ===== LEFT CONTACT INFO ===== */

.c-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.c-detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.c-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border: 1px solid rgba(0,180,216,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  clip-path: polygon(
    6px 0%,
    100% 0%,
    calc(100% - 6px) 100%,
    0% 100%
  );
}

.c-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.c-label {
  font-family: 'Assistant', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  color: #c8a84b;
  opacity: 0.8;
  margin-bottom: 6px;
  display: block;
}

.c-val {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  display: block;
  letter-spacing: 0.3px;
}

.c-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--white-dim);
  display: block;
  margin-top: 3px;
}

/* ===== DISCLAIMER ===== */

.c-disclaimer {
  grid-column: 1 / -1;
  width: 100%;
  padding: 24px 28px;
  background: rgba(13,27,62,0.6);
  border: 1px solid rgba(0,180,216,0.1);
  border-left: 3px solid #c8a84b;
  margin-top: 20px;
}

.c-disclaimer-tag {
  font-family: 'Assistant', sans-serif;
  font-size: 8px;
  letter-spacing: 3px;
  color: #c8a84b;
  opacity: 0.8;
  margin-bottom: 10px;
  display: block;
}

.c-disclaimer p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--white-dim);
  margin: 0;
}

/* ===== FORM ===== */

.c-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.f-group label {
  font-family: 'Assistant', sans-serif;
  font-size: 8px;
  letter-spacing: 3px;
  color: #c8a84b;
  opacity: 0.8;
  text-transform: uppercase;
}

.f-group input,
.f-group textarea,
.f-group select {
  background: rgba(13,27,62,0.7);
  border: 1px solid rgba(0,180,216,0.13);
  color: var(--white);
  padding: 13px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
  clip-path: polygon(
    7px 0%,
    100% 0%,
    calc(100% - 7px) 100%,
    0% 100%
  );
}

.f-group textarea {
  height: 110px;
  resize: none;
}

.f-group select option {
  background: var(--navy-deep);
}

/* ===== BUTTON ===== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  max-width: 230px;
  width: fit-content;
  background: var(--cyan);
  color: var(--navy-deep);
  font-family: 'Assistant', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  clip-path: polygon(
    10px 0%,
    100% 0%,
    calc(100% - 10px) 100%,
    0% 100%
  );
  transition: background 0.25s;
}

.btn-primary:hover {
  background: var(--cyan-bright);
}

/* ===== FOOTER ===== */

footer {
  padding: 52px 60px;
  border-top: 1px solid rgba(0, 180, 216, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: rgba(8, 15, 36, 0.5);
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-logo img {
  height: 26px;
  filter: brightness(1);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Assistant', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--white-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-right {
  text-align: right;
}

.f-copy {
  font-family: 'Assistant', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.f-copy span {
  color: var(--white);
}

.f-loc,
.f-motto {
  font-family: 'Assistant', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  margin-top: 10px;
}

.f-loc {
  color: var(--white);
}

.f-motto {
  color: var(--white);
  opacity: 0.7;
}

/* ===== MOBILE ===== */

@media screen and (max-width: 768px) {

  nav {
    padding: 0 20px;
  }

  .contact-section {
    padding: 0 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 36px;
  }

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

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }
}

@media screen and (max-width: 480px) {

  .contact-section {
    padding: 0 16px;
  }

  .contact-grid {
    gap: 36px;
    margin-top: 28px;
  }

  .page-hero {
    padding: 90px 20px;
    min-height: 50vh;
  }

  .page-content {
    padding: 40px 20px;
  }

  .page-content h2 {
    font-size: 28px;
    margin-top: 36px;
  }

  .btn-primary {
    width: 100%;
    max-width: 100%;
  }
}

