/* automotive.css â€” Nexora blue themed Automotive page */

/* Reset */
* { box-sizing:border-box; margin:0; padding:0; }
body {
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:#f6f8fb;
  color:#0b1f38;
  line-height:1.6;
}

/* Container */
.container {
  width:92%;
  max-width:1180px;
  margin:0 auto;
  padding:0 12px;
}

/* ============================================================================
   HEADER â€“ Clean, Compact, Responsive
============================================================================ */
.header {
    width: 100%;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
}

/* ============================================================================
   NAVIGATION MENU
============================================================================ */
.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #002D62;
    padding: 8px 0;
    transition: 0.25s;
}

.navbar ul li a:hover {
    color: #0096FF;
}

/* ============================================================================
   STABLE DROPDOWN (DESKTOP)
============================================================================ */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 55px;
    left: 0;
    width: 250px;
    padding: 20px 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.dropdown:hover .mega-menu,
.dropdown.hover-active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    height: 25px;
}

.mega-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #002D62;
    margin-bottom: 10px;
}

.mega-menu a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #002D62;
    text-decoration: none;
    transition: 0.2s ease;
}

.mega-menu a:hover {
    color: #0096FF;
    padding-left: 5px;
}

/* ============================================================================
   MOBILE MENU ICON
============================================================================ */
.mobile-menu-icon {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

/* ============================================================================
   MOBILE RESPONSIVE
============================================================================ */
@media (max-width: 900px) {

    .mobile-menu-icon {
        display: block;
    }

    .navbar .nav-links {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        padding: 20px 0;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }

    .nav-links.nav-active {
        max-height: 700px;
        opacity: 1;
        pointer-events: auto;
        border-bottom: 1px solid #eee;
    }

    .dropdown:hover .mega-menu {
        display: none;
    }

    .dropdown.open .mega-menu {
        display: block !important;
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto;
        padding: 12px 20px;
        background: #f4f8ff;
        border-radius: 10px;
        box-shadow: none;
    }
}

/* HERO */
.hero {
  padding-top:100px; /* avoids header overlap */
  padding-bottom:36px;
  background:linear-gradient(180deg,#f7fbff,#f3f7fb);
  border-bottom:1px solid rgba(3,81,163,0.04);
}
.hero-grid {
  display:grid;
  grid-template-columns:1fr 420px;
  gap:30px;
  align-items:center;
}
.eyebrow {
  background:rgba(0,91,176,0.08);
  color:#003c7d;
  padding:6px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:13px;
  display:inline-block;
}
.hero-left h1 {
  font-size:34px;
  font-weight:800;
  color:#07243b;
  margin:12px 0 8px;
}
.lead { color:#3c586f; max-width:720px; }

/* Buttons */
.btn {
  display:inline-flex;
  padding:10px 18px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  transition:all .2s ease;
}
.btn.primary {
  background:linear-gradient(90deg,#005bb0,#0077d8);
  color:#fff;
  box-shadow:0 10px 30px rgba(3,81,163,0.12);
}
.btn.primary:hover {
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(3,81,163,0.18);
}
.hero-actions { margin-top:18px; display:flex; gap:12px; }

.hero-media {
  width: 100%;
  max-width: 520px;
  height: 300px;
  border-radius: 16px;

  background-image: url("automotive-hero.png");
  background-size: cover;

  /* ðŸ”¥ KEY FIX */
  background-position: 35% center;

  background-repeat: no-repeat;

  box-shadow: 0 22px 60px rgba(0, 45, 98, 0.18);
  border: 1px solid rgba(0, 45, 98, 0.08);
}

@media (max-width: 768px) {
  .hero-media {
    height: 200px;
    background-position: 30% center;
    border-radius: 14px;
  }
}


/* Panels */
.panel {
  background:#fff;
  padding:22px;
  border-radius:12px;
  margin-bottom:18px;
  box-shadow:0 10px 30px rgba(12,36,64,0.04);
}
.panel h2 { color:#00345c; margin-bottom:10px; }

/* Tri grid */
.tri-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:18px 0;
}
.tri-col {
  background:#fff;
  padding:16px;
  border-radius:10px;
  box-shadow:0 8px 22px rgba(9,30,66,0.03);
}
.tri-col h3 { margin-bottom:8px; color:#00345c; }

/* Cards */
.cards {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.card {
  background:#fff;
  padding:18px;
  border-radius:12px;
  box-shadow:0 10px 26px rgba(9,30,66,0.03);
}
.card:hover { transform:translateY(-5px); }

/* Metrics */
.metrics {
  display:flex;
  gap:14px;
  margin:18px 0;
}
.metric {
  flex:1;
  text-align:center;
  background:#fff;
  padding:16px;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(9,30,66,0.03);
}
.metric .num {
  font-size:28px;
  font-weight:800;
  color:#0077d8;
}

/* Case */
.case-panel {
  border-left:4px solid #0077d8;
  padding-left:16px;
}

/* CTA */
.cta-strip {
  background:linear-gradient(90deg,#0077d8,#005bb0);
  color:#fff;
  padding:18px;
  border-radius:10px;
}
.cta-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Footer */
.site-footer {
  padding:20px 0;
  color:#6b879a;
}

/* Responsive */
@media(max-width:1100px){
  .hero-grid{grid-template-columns:1fr;}
  .cards{grid-template-columns:1fr;}
  .tri-grid{grid-template-columns:1fr;}
  .metrics{flex-direction:column;}
}
@media(max-width:520px){
  .hero-left h1{font-size:22px;}
  .hero-media{height:160px;}
}

/* ================= AUTOMOTIVE ASSESSMENT SECTION ================= */

.assessment .subhead {
  font-weight: 600;
  color: #004a86;
  margin-bottom: 10px;
}

.assessment h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  color: #00345c;
}

.assessment ul,
.assessment ol {
  margin-left: 18px;
  margin-bottom: 12px;
}

.assessment-list li {
  margin-bottom: 8px;
}

.checklist li {
  list-style: none;
  margin-bottom: 6px;
}

.assessment-cta {
  margin-top: 18px;
  text-align: left;
}

/* ================= FIX AUTOMOTIVE ASSESSMENT VISIBILITY ================= */

.assessment {
  border: 2px solid #0b5ed7;
  background: #ffffff;
}

.assessment p {
  margin-bottom: 14px;
  color: #334e68;
}

.assessment h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.assessment .subhead {
  font-size: 14px;
  font-weight: 600;
  color: #0b5ed7;
  margin-bottom: 16px;
}

.assessment h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #0b3c6d;
}

/* Lists FIX */
.assessment ul,
.assessment ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.assessment ul li,
.assessment ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #3c4f65;
}

/* Checklist styling */
.assessment .checklist li {
  list-style: none;
  padding-left: 24px;
  position: relative;
}

.assessment .checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0b5ed7;
  font-weight: bold;
}

/* CTA inside assessment */
.assessment-cta {
  margin-top: 24px;
}

.assessment-cta .btn {
  padding: 12px 22px;
}

/* ================= MODAL ================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  max-width: 820px;
  margin: 60px auto;
  padding: 28px;
  border-radius: 14px;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.modal-subhead {
  font-weight: 600;
  color: #0b5ed7;
  margin-bottom: 14px;
}

.checklist li {
  list-style: none;
}

.assessment-form input,
.assessment-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
