/* Hide by default */
.mobile-cta-bar {
  display: none;
}

/* Mobile view only */
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.35);
    font-family: inherit;
  }

  .mobile-cta-bar .cta-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Individual button colors */
  .mobile-cta-bar .call {
    background: #16a34a; /* green */
  }

  .mobile-cta-bar .chat {
    background: #0ea5e9; /* blue */
  }

  .mobile-cta-bar .apply {
    background: #f97316; /* orange */
  }
}

/* ===============================
   FIX EXTRA NAVBAR BLACK SPACE (MOBILE)
   =============================== */
@media (max-width: 576px) {

  /* Force navbar to be compact */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 6px;
    padding-bottom: 6px;
    min-height: unset;
    height: auto;
  }

  /* Ensure logo doesn't add height */
  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 32px;
    margin: 0;
    padding: 0;
    display: block;
  }

  /* Hamburger alignment */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  /* IMPORTANT: hide nav-links completely when closed */
  .nav-links {
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
  }

  .nav-links.show {
    height: auto; /* only expand when opened */
  }
}

