/* ============================= */
/* ✅ Responsive Hero Fixes */
/* ============================= */

@media (max-width: 991px) {
  .hero-gradient-section {
    min-height: auto; /* allow flexible height */
    padding: 60px 15px 40px; /* top/bottom breathing space */
    background-position: center;
  }

  .hero-container {
    top: 0; /* remove offset that pushed content down */
  }

  .hero-gradient-section .d-flex.flex-md-row {
    flex-direction: column !important;
    text-align: center;
  }

  .hero-gradient-section h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
  }

  .hero-gradient-section .submit-your-cv-btn {
    width: 70% !important;
    max-width: 250px;
  }

  .hero-search-box {
    margin-top: 25px;
    padding: 1.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
  }

  .hero-search-box h2 {
    font-size: 1.3rem;
  }

  .hero-search-box form .col-md-5,
  .hero-search-box form .col-md-2 {
    width: 100%;
  }

  .hero-search-box form .btn {
    width: 100%;
    height: 48px;
  }

  .hero-dropdown-menu {
    max-height: 180px;
    overflow-y: auto;
  }
}

@media (max-width: 575px) {
  .hero-gradient-section {
    padding: 50px 10px 40px;
  }

  .hero-gradient-section h1 {
    font-size: 1.3rem;
  }

  .hero-search-box {
    padding: 1rem;
  }

  .hero-search-box h2 {
    font-size: 1.2rem;
  }

  .hero-search-box form {
    gap: 10px;
  }

  .hero-search-box form input,
  .hero-search-box form button {
    font-size: 14px;
  }

  .hero-gradient-section .submit-your-cv-btn {
    width: 90% !important;
  }
}
