/* ==========================================================================
   CXO GLOBAL ALLIANCE - CONTACT US STYLESHEET (contact.css)
   Matches Image 15. Contact with video hero, form, info list, and map
   ========================================================================== */

:root {
  --navy-darker: #061322;
  --navy-dark: #08182b;
  --navy-primary: #0b1a2d;
  --navy-card: #0e223d;

  --gold-primary: #e5a83b;
  --gold-light: #f5be5d;
  --gold-dark: #c98e29;
  --gold-subtle: rgba(229, 168, 59, 0.12);

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --bg-white: #ffffff;
  --bg-soft: #f8fafc;
  --border-card: #e2e8f0;

  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(8, 24, 43, 0.05);
  --shadow-hover: 0 14px 30px rgba(8, 24, 43, 0.1);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* --------------------------------------------------------------------------
   Header & Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--navy-dark);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.site-header .container.header-inner,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 36px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-white);

  flex-shrink: 0;
}

.logo-icon-svg {
  width: 38px;
  height: 38px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-white);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-primary);
  border-radius: 2px;
}

.btn-join-alliance {
  background-color: var(--gold-primary);
  color: var(--navy-darker);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(229, 168, 59, 0.3);
  transition: var(--transition);

  white-space: nowrap;
  flex-shrink: 0;
}

.btn-join-alliance:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 168, 59, 0.45);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Hero Section with YouTube Background Video
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  padding-top: 175px;
  padding-bottom: 95px;
  text-align: center;
  overflow: hidden;
  background-color: var(--navy-darker);
}

.video-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.video-bg-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  border: none;
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 43, 0.32) 0%,
    rgba(8, 24, 43, 0.48) 50%,
    rgba(6, 19, 34, 0.9) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-divider {
  width: 50px;
  height: 3px;
  background-color: var(--gold-primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Contact Main Section: 2 Columns Layout
   -------------------------------------------------------------------------- */
.contact-main-section {
  padding: 85px 0 80px 0;
  background-color: var(--bg-white);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 75px;
  align-items: start;
}

.section-head {
  margin-bottom: 24px;
}

.section-head-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.section-head-bar {
  width: 38px;
  height: 3px;
  background-color: var(--gold-primary);
  border-radius: 2px;
}

/* Contact Form (Left Column) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 18px;
  font-size: 0.92rem;
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(229, 168, 59, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-form-send {
  align-self: flex-start;
  background-color: var(--navy-dark);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 13px 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(8, 24, 43, 0.2);
  transition: var(--transition);
}

.btn-form-send:hover {
  background-color: var(--gold-primary);
  color: var(--navy-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 168, 59, 0.35);
}

/* Contact Information (Right Column) */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 6px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.info-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-row:hover .info-icon-circle {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--navy-darker);
  transform: scale(1.08);
}

.info-icon-circle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.info-details {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.info-val {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.info-val a {
  color: inherit;
  transition: color 0.2s ease;
}

.info-val a:hover {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   Bottom Full-Width Map Section (Design Exact Match)
   -------------------------------------------------------------------------- */
.contact-map-section {
  width: 100%;
  height: 420px;
  background-color: #e2e8f0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-card);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}


@media (max-width: 1320px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.3px;
  }
  .btn-join-alliance {
    padding: 9px 15px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1080px) {
  .nav-menu,
  .site-header .btn-join-alliance {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .site-header.mobile-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--navy-darker);
    padding: 24px;
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    gap: 16px;
    align-items: flex-start;
  }

  .site-header.mobile-open .btn-join-alliance {
    display: inline-flex;
    width: 100%;
    margin-top: 10px;
  }

  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .btn-form-send {
    width: 100%;
  }

  .contact-map-section {
    height: 320px;
  }
}
