/* ==================== AERO GLASS CONTACT SECTION - WHITE THEME ==================== */

:root {
    /* Updated for White Theme */
    --aero-bg-white: #ffffff;
    --aero-text-dark: #0f172a;
    --aero-text-muted: #475569;
    --aero-blue: #3b82f6;
    --aero-accent: #0ea5e9;
    --aero-border-light: #e2e8f0;
    --aero-glass-white: rgba(255, 255, 255, 0.85);
    --aero-red: #ef4444;
    --aero-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  .aero-contact {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* White Background */
    background: #ffffff;
    padding: 60px 5%;
    color: var(--aero-text-dark);
    font-family: "Outfit", system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease; /* Smooth transition */
  }
  
  /* Background Orbs (Adjusted for white bg) */
  .aero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.15; /* Reduced opacity */
    pointer-events: none;
  }
  
  .orb-1 {
    width: 40vmin;
    height: 40vmin;
    background: #3b82f6;
    top: -15%;
    right: -15%;
  }
  
  .orb-2 {
    width: 35vmin;
    height: 35vmin;
    background: #8b5cf6;
    bottom: -10%;
    left: -15%;
  }
  
  /* ── Content ── */
  .aero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
  }
  
  .live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0284c7; /* Darker blue */
    margin-bottom: 1.4rem;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
  }
  
  .aero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #0f172a; /* Dark Navy */
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
  }
  
  .aero-subtitle {
    color: #475569; /* Slate 600 */
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 400; /* Increased weight slightly */
    line-height: 1.6;
    max-width: 720px;
    margin-bottom: 2.5rem;
  }
  
  /* ── Cards ── */
  .aero-deck {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 680px;
  }
  
  .aero-card {
    background: #f8fafc; /* Very light gray */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--aero-border-light);
    border-left: 3px solid transparent;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.28s ease;
    /* Added Shadow */
    box-shadow: var(--aero-shadow);
  }
  
  .aero-card:hover {
    background: #ffffff;
    border-left-color: var(--aero-accent);
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Smoother hover shadow */
  }
  
  .aero-card.emergency-mode:hover {
    border-left-color: var(--aero-red);
  }
  
  .glow-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #eff6ff; /* Light blue bg */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--aero-accent);
    /* Subtle shadow for icon */
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
  }
  
  .aero-card.emergency-mode .glow-icon.alert {
    color: var(--aero-red);
    background: #fef2f2; /* Light red bg */
  }
  
  .card-text {
    flex: 1;
    min-width: 0;
  }
  
  .card-text h6 {
    margin: 0 0 5px 0;
    font-size: 1.02rem;
    font-weight: 700; /* Bolder for dark theme */
    letter-spacing: 0.4px;
    color: #1e293b; /* Slate 800 */
  }
  
  .card-text p {
    margin: 0;
    font-size: 0.92rem;
    color: #64748b; /* Slate 500 */
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
  }
  
  /* Extra protection for very long strings (emails, urls, etc) */
  .card-text p a,
  .card-text p strong {
    word-break: break-all;
    overflow-wrap: anywhere;
    color: #0ea5e9; /* Link color */
  }
  
  /* ── Map ── */
  .tech-map-frame {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 580px;
    min-height: 420px;
    margin-top: 3rem;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--aero-border-light);
    border-radius: 14px;
    overflow: hidden;
    /* Added Shadow to Map */
    box-shadow: var(--aero-shadow);
  }
  
  .tech-map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    /* Removed filters for clear map */
    filter: none;
  }
  
  /* Decorative corners */
  .corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--aero-accent);
    transition: all 0.4s ease;
    pointer-events: none;
  }
  
  .tl {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
  }
  .tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
  }
  .bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
  }
  .br {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
  }
  
  .tech-map-frame:hover .corner {
    width: 32px;
    height: 32px;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.4);
  }
  
  /* ==========================================================================
     ✅ AUTO-FIX: BLUE THEME OVERRIDE (For when Compliance Section is hidden)
     ========================================================================== */
  
  .aero-contact.force-blue-theme {
    /* Match your exact Blue Gradient from Compliance/Downloads */
    background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Adjust Text Colors for Blue Background */
  .aero-contact.force-blue-theme .aero-title,
  .aero-contact.force-blue-theme .aero-subtitle,
  .aero-contact.force-blue-theme .card-text h6,
  .aero-contact.force-blue-theme .card-text p {
    color: #ffffff !important;
  }
  
  .aero-contact.force-blue-theme .aero-subtitle,
  .aero-contact.force-blue-theme .card-text p {
    opacity: 0.9;
  }
  
  /* Adjust Cards for Blue Background */
  .aero-contact.force-blue-theme .aero-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }
  
  .aero-contact.force-blue-theme .aero-card:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateX(5px);
  }
  
  /* Adjust Icons inside Cards */
  .aero-contact.force-blue-theme .glow-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }
  
  /* Adjust Map Frame */
  .aero-contact.force-blue-theme .tech-map-frame {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /* Hide Background Orbs in Blue Mode (Clean look) */
  .aero-contact.force-blue-theme .aero-orb {
    display: none;
  }
  
  /* ==========================================================================
     END OF AUTO-FIX
     ========================================================================== */
  
  /* ── RESPONSIVE ──────────────────────────────────────────────── */
  
  @media (max-width: 1200px) {
    .aero-orb {
      filter: blur(70px);
      opacity: 0.15;
    }
  }
  
  @media (max-width: 992px) {
    .aero-contact {
      padding: 70px 4% 80px;
      display: block;
    }
  
    .aero-deck {
      max-width: 100%;
    }
  
    .tech-map-frame {
      height: 55vh;
      min-height: 380px;
      margin-top: 2.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .aero-title {
      font-size: clamp(2.2rem, 7.5vw, 3.4rem);
    }
  
    .aero-subtitle {
      max-width: 100%;
    }
  
    .aero-card {
      padding: 12px 14px;
      gap: 12px;
      flex-direction: row;
      align-items: center;
    }
  
    .glow-icon {
      width: 38px;
      height: 38px;
      min-width: 38px;
      font-size: 1.1rem;
      border-radius: 10px;
    }
  
    .card-text h6 {
      font-size: 0.92rem;
      margin-bottom: 3px;
    }
  
    .card-text p {
      font-size: 0.82rem;
      line-height: 1.4;
    }
  
    .tech-map-frame {
      height: 50vh;
      min-height: 340px;
    }
  }
  
  @media (max-width: 576px) {
    .aero-contact {
      padding: 60px 5% 70px;
    }
  
    .live-indicator {
      font-size: 0.72rem;
      padding: 5px 10px;
    }
  
    .aero-title {
      font-size: clamp(1.9rem, 8vw, 2.8rem);
    }
  
    .aero-deck {
      gap: 10px;
    }
  
    .aero-card {
      padding: 10px 12px;
      gap: 10px;
      border-radius: 12px;
    }
  
    .glow-icon {
      width: 34px;
      height: 34px;
      min-width: 34px;
      font-size: 1rem;
      border-radius: 9px;
    }
  
    .card-text h6 {
      font-size: 0.88rem;
      margin-bottom: 2px;
      letter-spacing: 0.2px;
    }
  
    .card-text p {
      font-size: 0.78rem;
      line-height: 1.35;
    }
  
    .tech-map-frame {
      height: 45vh;
      min-height: 300px;
    }
  
    .corner {
      display: none;
    }
  
    .aero-orb {
      opacity: 0.1;
      filter: blur(60px);
    }
  }
  