/* ============================================= */
/*   VANGUARD ALLIANCE NETWORK - CONTACTS CSS    */
/* ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #B8860B;
  --gold-light: #D4A017;
  --white: #FFFFFF;
  --grey: #D9D9D9;
  --card-bg: rgba(30, 28, 28, 0.85);
  --input-bg: rgba(40, 38, 35, 0.9);
  --bg: #0a0a0a;
  --font: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==================== NEURAL CANVAS ==================== */
#neural-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* ==================== PAGE WRAPPER ==================== */
.page-content {
  position: relative;
  z-index: 1;
}

/* ==================== NAV ==================== */
nav {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  border-bottom: 0.5px solid #1e1e1e;
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 8, 0.88);
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-svg { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #f8f5f5;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.btn-call {
  background: var(--gold);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-call:hover { background: var(--gold-light); transform: scale(1.03); color: #0a0a0a;}

/* ==================== NAV TOGGLE (hamburger) ==================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 600;
  font-family: var(--font);
  transition: color 0.2s;
}
.mobile-menu a.active,
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn-call {
  font-size: 16px;
  padding: 12px 32px;
  display: inline-block !important;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s, transform 0.2s;
  font-family: var(--font);
}
.mobile-menu-close:hover { color: var(--gold); transform: scale(1.15); }

/* ==================== HERO / HEADER ==================== */
.contact-hero {
  padding: 180px 60px 60px;
  text-align: center;
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 300px;
  background: radial-gradient(ellipse, rgba(184,134,11,0.09) 0%, transparent 70%);
  pointer-events: none;
  animation: orbPulse 7s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.contact-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.contact-hero p {
  font-size: 16px;
  color: #888;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==================== MAIN LAYOUT ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px 100px;
  align-items: start;
}

/* ==================== LEFT COLUMN ==================== */
.left-col { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 36px 32px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-info-card:hover {
  border-color: rgba(184,134,11,0.2);
  box-shadow: 0 12px 40px rgba(184,134,11,0.06);
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--white);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(184,134,11,0.12);
  border: 1px solid rgba(184,134,11,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  margin-top: 2px;
}

.contact-detail label {
  display: block;
  font-size: 11px;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail span {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--gold); }

.book-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 32px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  margin-top: 82px;
}

.book-card:hover {
  border-color: rgba(184,134,11,0.2);
  box-shadow: 0 12px 40px rgba(184,134,11,0.06);
}

.book-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(184,134,11,0.12);
  border: 1px solid rgba(184,134,11,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
}

.book-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.book-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 22px;
}

.btn-schedule {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 13px 24px;
  border: 1.5px solid rgba(184,134,11,0.5);
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-schedule:hover {
  background: rgba(184,134,11,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* ==================== RIGHT COLUMN — FORM ==================== */
.form-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 44px 40px;
  transition: border-color 0.4s ease;
}

.form-card:hover {
  border-color: rgba(184,134,11,0.15);
}

.form-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--input-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8860B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: #1a1a1a;
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #444;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(184,134,11,0.5);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.btn-send {
  width: 100%;
  padding: 15px 24px;
  background: rgba(184,134,11,0.15);
  border: 1.5px solid rgba(184,134,11,0.5);
  border-radius: 10px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.btn-send:hover {
  background: rgba(184,134,11,0.25);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-send:active { transform: translateY(0); }

.btn-send.success {
  background: rgba(42, 122, 59, 0.25);
  border-color: #2a7a3b;
  color: #4ade80;
}

.btn-send.error {
  background: rgba(180, 40, 40, 0.2);
  border-color: rgba(220, 60, 60, 0.6);
  color: #f87171;
}

.response-time {
  font-size: 12px;
  color: #555;
  font-style: italic;
  text-align: center;
  display: block;
}

/* ==================== FLOATING PARTICLES ==================== */
.particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%   { transform: translateY(100vh); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-80px); opacity: 0; }
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== FOOTER ==================== */
footer {
  background: rgba(0,0,0,0.92);
  border-top: 0.5px solid #1a1a1a;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 60px 36px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.footer-brand { max-width: 260px; }
.footer-brand .logo { margin-bottom: 18px; }

.footer-tagline {
  font-size: 15px;
  line-height: 1.65;
  color: #c4bdbd;
  margin-bottom: 24px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(184,134,11,0.1);
  border: 1px solid rgba(184,134,11,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
}
.footer-socials img {
  width: 18px;
  height: 18px;
}
.footer-socials a:hover { background: rgba(184,134,11,0.22); transform: scale(1.12); }

.footer-links-wrap {
  display: flex;
  gap: 70px;
  flex: 1;
  justify-content: flex-end;
}

.footer-col h5 { font-size: 17px; font-weight: 700; margin-bottom: 18px; color: white; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: #e9e3e3; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-copyright {
  border-top: 0.5px solid #1a1a1a;
  padding: 22px 60px;
  font-size: 14px;
  color: #d6d3d3;
  max-width: 1100px;
  margin: 0 auto;
}

/* ==================== RESPONSIVE ==================== */

/* --- Tablet landscape (<=1100px) --- */
@media (max-width: 1100px) {
  nav { padding: 0 40px; }
  .contact-hero { padding: 160px 40px 50px; }
  .contact-layout { padding: 0 40px 80px; max-width: 100%; }
  .footer-inner { padding: 60px 40px 36px; gap: 50px; }
  .footer-copyright { padding: 20px 40px; }
}

/* --- Tablet portrait (<=900px) --- */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 0 32px 80px;
    max-width: 680px;
  }
  .contact-hero { padding: 140px 32px 50px; }
  .book-card { margin-top: 0; }
  .footer-inner { gap: 36px; }
  .footer-links-wrap { gap: 40px; }
}

/* --- Mobile (<=768px) --- */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 70px; }
  .nav-links { display: none; }
  .nav-desktop-cta { display: none !important; }
  .nav-toggle { display: flex; }
  .logo img { height: 38px; }

  .contact-hero { padding: 100px 20px 36px; }
  .contact-hero h1 { font-size: clamp(26px, 7.5vw, 40px); margin-bottom: 14px; letter-spacing: -0.3px; }
  .contact-hero p { font-size: 14px; max-width: 100%; }
  .hero-label { font-size: 14px; margin-bottom: 14px; }

  .contact-layout { grid-template-columns: 1fr; padding: 0 20px 56px; gap: 20px; max-width: 100%; }

  .contact-info-card { padding: 26px 20px; }
  .contact-info-card h3 { font-size: 16px; margin-bottom: 20px; }
  .contact-item { gap: 12px; margin-bottom: 18px; }
  .contact-icon { width: 32px; height: 32px; font-size: 13px; }
  .contact-detail a, .contact-detail span { font-size: 13px; word-break: break-all; }
  .contact-detail label { font-size: 10px; }

  .book-card { margin-top: 0; padding: 24px 20px; }
  .book-card h3 { font-size: 16px; }
  .book-card p { font-size: 13px; }
  .book-icon { width: 36px; height: 36px; margin-bottom: 14px; }

  .form-card { padding: 24px 18px; }
  .form-card h3 { font-size: 20px; margin-bottom: 22px; }
  .form-group { margin-bottom: 16px; }
  .form-group label { font-size: 12px; }
  .form-group input, .form-group select, .form-group textarea { padding: 11px 14px; font-size: 14px; }
  .btn-send { padding: 13px 20px; font-size: 14px; }
  .response-time { font-size: 11px; }

  .footer-inner { flex-direction: column; gap: 28px; padding: 36px 20px 24px; }
  .footer-brand { max-width: 100%; }
  .footer-brand .logo img { height: 40px; }
  .footer-tagline { font-size: 13px; margin-bottom: 16px; }
  .footer-links-wrap { justify-content: flex-start; gap: 20px 36px; flex-wrap: wrap; }
  .footer-col h5 { font-size: 14px; margin-bottom: 12px; }
  .footer-col ul { gap: 8px; }
  .footer-col ul li a { font-size: 12.5px; }
  .footer-copyright { padding: 14px 20px 20px; font-size: 11.5px; text-align: center; max-width: 100%; }
}

/* --- Small phones (<=400px) --- */
@media (max-width: 400px) {
  nav { padding: 0 16px; }
  .contact-hero { padding: 90px 16px 28px; }
  .contact-layout { padding: 0 16px 44px; }
  .contact-hero h1 { font-size: clamp(22px, 8vw, 32px); }
  .form-card { padding: 20px 14px; }
  .contact-info-card { padding: 20px 14px; }
  .book-card { padding: 20px 14px; }
  .footer-inner { padding: 28px 16px 20px; }
  .footer-copyright { padding: 12px 16px 18px; }
}