/* Bingol Law – navigation fixes (2026-10-09)
   Loaded after main.css. Keeps the existing design; only fixes layout issues across screen sizes. */

/* Current page in the main menu */
.mainMenu > ul > li.active > a {
  color: var(--primay-color);
}

/* Mega menu labels are already title-cased in the markup ("Fiancé(e)" was shown as "Fiancé(E)") */
.mgmenuItem .Servicemenu a {
  text-transform: none;
}

/* ---------- Desktop (≥1200px) ---------- */
@media (min-width: 1200px) {
  /* Sticky header: compact logo so the fixed bar does not cover a quarter of the screen */
  header.header01.fixedHeader .logo01 {
    padding: 8px 0;
  }
  header.header01.fixedHeader .logo01 img {
    height: 84px;
  }
}

/* ---------- Small laptops / landscape tablets (992–1199px) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Top bar was wrapping onto several lines: hide the e-mail (as on smaller tablets) and keep items on one line */
  .topbar01 .topBarWrapper .infoText.infoText02 {
    display: none;
  }
  .topbar01 .infoText,
  .topbar01 .topBarSocial,
  .topbar01 .dropdown-btn {
    white-space: nowrap;
  }
  .topbar01 .topBarSocial,
  .topbar01 .language-dropdown {
    flex-shrink: 0;
  }
}

/* ---------- Tablets and phones (<1200px): hamburger menu ---------- */
@media (max-width: 1199.98px) {
  /* Header order: logo … [appointment] [language] [menu button] — button no longer floats in the middle */
  header.header01 .header01Inner {
    justify-content: flex-start;
  }
  header.header01 .header01Inner > .logo01 {
    margin-right: auto;
  }
  header.header01 .header01Inner > .immiPressBtn {
    order: 2;
    margin-left: 0;
  }
  header.header01 .header01Inner > .mobileLanguageSwitch {
    order: 3;
    margin-left: 10px !important;
    margin-right: 0 !important;
  }
  header.header01 .header01Inner > .menuBtn {
    order: 4;
    display: block;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-left: 10px;
    border-radius: 5px;
    background: var(--heading-color);
    color: #fff;
    font-size: 16px;
    text-align: center;
  }
  header.header01 .header01Inner > .menuBtn:hover,
  header.header01 .header01Inner > .menuBtn.active {
    background: var(--primay-color);
    color: #fff;
  }
  header.header01 .header01Inner > .mainMenu {
    order: 5;
  }

  /* Menu panel: use the available screen height instead of a fixed half screen */
  header.header01 .mainMenu {
    height: auto !important;
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  /* Compact mega menu inside the panel */
  header.header01 .mainMenu .megaMenu {
    padding: 4px 20px 12px !important;
  }
  header.header01 .mainMenu .megaMenu .row > div {
    margin-bottom: 0 !important;
  }
  header.header01 .mainMenu .mgmenuItem {
    padding: 6px 0 !important;
    margin: 0 !important;
  }
  header.header01 .mainMenu .mgmenuItem .title {
    font-size: 13px !important;
    letter-spacing: 1px;
    margin: 10px 0 4px !important;
    color: var(--primay-color);
  }
  header.header01 .mainMenu .mgmenuItem .Servicemenu a {
    font-size: 15px !important;
    line-height: 1.35 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee;
  }
  header.header01 .mainMenu .mgmenuItem .Servicemenu a:last-child {
    border-bottom: none;
  }
}

/* Home page call-to-action heading: negative desktop margin made tablets scroll sideways */
@media (max-width: 991.98px) {
  .ctaWrapper h2 {
    margin-right: 0 !important;
  }
}
