/* =====================================================
   CSS VARIABLES
===================================================== */
:root {
  --primary: #0b3c5d;
  --secondary: #1f6fa8;
  --light: #f4f8fc;
  --dark: #243447;
}

/* =====================================================
   GLOBAL RESET & TYPOGRAPHY
===================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 1;
  font-family: 'Inter', "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* =====================================================
   NAVBAR (BOOTSTRAP)
===================================================== */
.navbar {
  position: sticky;
  top: 3;
  z-index: 1030;
  background-color: #ffffff;
  padding-top: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid #dee2e6;
}

/* Brand container — locks layout */
.navbar-brand {
  display: flex;
  align-items: left;
  padding: 0;
  margin-left: 0.2rem;
  line-height: 10; /* CRITICAL: prevents height expansion */
}

/* =====================================================
   LOGO — VISUAL SCALE ONLY (NO LAYOUT SHIFT)
===================================================== */
/*
  DO NOT increase height.
  Height anchors layout.
  transform scales visually only.
*/
.logo-img {
  height: 67px;                 /* layout anchor */
  width: auto;
  display: block;
  transform: scale(4);          /* 🔥 5× visual size */
  transform-origin: left;
  pointer-events: auto;
}

/* ================================
   MOBILE LOGO HIT-AREA LIMIT
   Prevents logo overlapping menu items
================================ */
@media (max-width: 991px) {
  .navbar-brand {
    height: 64px;              /* hard cap click area */
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 0;
  }

  .logo-img {
    max-height: 76px;          /* visual logo size */
    width: auto;
    transform: none;           /* remove scaling on mobile */
  }
}

/* =====================================================
   HERO & SECTIONS
===================================================== */
.hero {
  background: linear-gradient(135deg, #0f2a44, #163d5c);
  color: #ffffff;
  text-align: center;
}

.section-padding {
  padding: 80px 0;
}

.section {
  padding: 60px 20px;
  text-align: center;
}

.content-narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   ICONS & CARDS
===================================================== */
.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e7f1ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   FEATURE LIST
===================================================== */
.feature-list {
  max-width: 760px;
  margin: 60px auto;
  padding-left: 1rem;
}

.feature-list li {
  margin-bottom: 12px;
}

/* =====================================================
   CONTENT (NON-BOOTSTRAP PAGES)
===================================================== */
.content {
  max-width: 1000px;
  margin: auto;
  padding: 60px 20px;
}

.note {
  margin-top: 30px;
  font-size: 0.95rem;
  color: #555;
  border-left: 4px solid var(--secondary);
  padding-left: 15px;
}

/* =====================================================
   FORMS
===================================================== */
form {
  max-width: 500px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
}

button:hover {
  background: #155a8a;
}

/* =====================================================
   VIDEO GRID
===================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background-color: #f8f9fa;
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
}

/* =====================================================
   REQUEST INFO CTA (NAVBAR)
===================================================== */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

.navbar .btn-primary {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  opacity: 1 !important;
  animation: ctaPulse 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .navbar .btn-primary {
    animation: none;
  }
}

/* =====================================================
   OPTIONAL FLOATING CTA
===================================================== */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

/* FIX MOBILE NAVBAR CLICK ISSUE */
.logo-img {
  height: 76px;
  width: auto;
}

.navbar-brand {
  max-width: 70%;
  padding: 0;
}

/* Ensure hamburger is always clickable */
.navbar-toggler {
  z-index: 1050;
}

/* Prevent logo from overlapping menu */
@media (max-width: 991px) {
  .navbar-brand {
    flex-grow: 0;
  }
}

/* MOBILE NAVBAR COLLAPSE FIX — PREVENT LOGO OVERLAP */
@media (max-width: 991px) {
  .navbar {
    align-items: flex-start;
  }

  .navbar-collapse {
    width: 100%;
    margin-top: 8px;
  }
}
