
/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1400px) {

  .navigation-bar .nav-container {
    max-width: 1024px;
  }
  .pricing-badge{
    width: 60px;
    text-align: center;
    top: 1px;
    border-radius: 15px;
    line-height: 10px;
    font-size: 10px;
  }

  footer .footer-inner {
    max-width: 1024px;
  }

}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .hero-visual img {
    transform: none;
  }

  .main-nav {
    display: none; /* mobile menu later */
  }

  
}

@media screen and (max-width: 991px) {
  .navigation-bar .nav-container {
      max-width: 728px;
  }
  .navigation-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background-color: #08438e;
    background: linear-gradient(180deg, #0a4a9e 0%, #061b44 100%);
    border-left: 1px solid rgb(2, 27, 72);
    padding: 80px 0 20px 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    flex-direction: column;
    align-items: stretch;
  }
  .navigation-bar[data-collapse="medium"] .navigation-menu {
    display: flex;
  }
  .navigation-bar.menu-open .navigation-menu {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  .navigation-menu a {
    margin: 0px;
    padding: 20px 30px;
    color: white;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease, padding-left 0.2s ease;
  }
  .navigation-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 35px;
  }
  .hamburger-button {
    display: block;
    margin-top: 10px;
    z-index: 10000;
    position: relative;
    transition: transform 0.3s ease;
  }
  .hamburger-button.active {
    transform: rotate(90deg);
  }
  .hamburger-button .fa-bars,
  .hamburger-button .fa-times {
    color: white;
    font-size: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .navigation-menu .menu-item.menu-item-has-children .sub-menu {
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 0;
  }
  .account-button {
    padding: 15px 20px;
    margin: 20px 30px 0 30px;
    border-radius: 4px;
    background-color: #001b48;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  .account-button:hover {
    background-color: #002a5f;
    transform: translateY(-2px);
  }
  
  /* Overlay when menu is open - only covers left side, not the menu area */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 300px);
    max-width: calc(100% - 15%);
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ============================
    HOW IT WORKS – SECTION
  ============================ */
  .how2__row {
    grid-template-columns: 1fr;
  }

  .how2__card--left {
    order: 1;
  }

  .how2__flow {
    order: 2;
  }

  .how2__card--right {
    order: 3;
  }

  /* ============================
    PRIVACY SECTION – MOBILE
  ============================ */
  .privacy-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 100%;
  }

  .privacy-card {
    padding: 32px 24px;
  }

  .privacy-header {
    margin-bottom: 60px;
  }

  .privacy-icon {
    width: 80px;
    height: 80px;
  }

  .privacy-icon i {
    font-size: 40px;
  }

  /* ============================
    PRICING SECTION – MOBILE
  ============================ */
  .pricing-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 35px;
  }
  .pricing-badge{
    font-size: 12px;
    line-height: 14px;
    top:20px;
    width:110px;
  }

  /* =====================
    FOOTER SECTION
  ===================== */
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px;
    padding-top: 150px;
    justify-items: center;
  }
  .footer-brand{
    position: absolute;
    top: 15px;
    justify-content: center;
  }
  .footer-tagline{
    top: 70px;
  }

}

@media screen and (max-width: 767px) {
  .nav-container .nav-row {
      margin-left: 0;
      margin-right: 0;
  }
  .logo-link {
    padding-left: 10px;
  }
  .footer-tagline{
    top: 45px;
    font-size: 12px;
    max-width: 150px;
  }
  .hero-buttons {
    margin-top: 20px;
  }
  .hero-text {
    font-size: 32px;
    line-height: 48px;
  }
}