html, body {
  font-size: 14px;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ═══════════════════════════════════════════════
   HEADER TOP BAR — Yonta Trust Bank
═══════════════════════════════════════════════ */

.header-top {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  width: 100%;
}

.header-top .top-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 9px 30px;
  gap: 20px;
}

/* Left column */
.header-top .left-column .info-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}

.header-top .left-column .info-list li {
  display: flex;
  align-items: center;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #d8d8d8;
}

.header-top .left-column .info-list li:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.header-top .welcome-box span {
  font-size: 13px;
  color: #1b1927;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-top .welcome-box strong {
  color: #1b1927;
  font-weight: 700;
}

.header-top .welcome-box .fa-university {
  color: var(--theme-color);
}

.header-top .mail-box .icon-box {
  margin-right: 7px;
  display: flex;
}

.header-top .mail-box .icon-box img {
  height: 15px;
  opacity: 0.7;
}

.header-top .mail-box a {
  font-size: 13px;
  font-weight: 600;
  color: #1b1927;
  transition: color 300ms ease;
}

.header-top .mail-box a:hover {
  color: #e00000;
}

/* Right column */
.header-top .right-column {
  display: flex;
  align-items: center;
}

.header-top .right-column .option-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-top .right-column .option-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  border-right: 1px solid #d8d8d8;
}

.header-top .right-column .option-list li:first-child {
  padding-left: 0;
}

.header-top .right-column .option-list li img {
  height: 14px;
  opacity: 0.6;
}

.header-top .right-column .option-list a {
  font-size: 13px;
  font-weight: 600;
  color: #1b1927;
  transition: color 300ms ease;
  white-space: nowrap;
}

.header-top .right-column .option-list a:hover {
  color: #e00000;
}

/* Language selector */
.header-top .language-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 15px;
}

.header-top .language-box .icon-box img {
  height: 15px;
  opacity: 0.6;
}

.header-top .language-box .nice-select {
  background: transparent;
  border: 1px solid #d0d0d0;
  color: #1b1927;
  font-size: 13px;
  font-weight: 600;
  height: 28px;
  line-height: 26px;
  padding: 0 26px 0 10px;
  border-radius: 3px;
  min-width: 115px;
}

.header-top .language-box .nice-select:after {
  border-color: #555;
  right: 8px;
}

.header-top .language-box .nice-select .list {
  background: #fff;
  border: 1px solid #e0e0e0;
  min-width: 130px;
}

.header-top .language-box .nice-select .option {
  color: #1b1927;
  font-size: 13px;
  font-weight: 500;
}

.header-top .language-box .nice-select .option:hover,
.header-top .language-box .nice-select .option.selected {
  background: var(--theme-color);
  color: #fff;
}

/* Hide header-top on all mobile & tablet screens */
@media only screen and (max-width: 1200px) {
  .header-top {
    display: none !important;
  }
}



/* ═══════════════════════════════════════════════
   DROPDOWN STACKING FIX
   Problem: at page top, owl-carousel's CSS transform
   creates a stacking context that covers the dropdown.
   Fix: sticky header + elevated z-indexes.
═══════════════════════════════════════════════ */

/* Keep the header always above banner/carousel content without breaking sticky logic */
.main-header {
  position: relative !important;
  z-index: 9999 !important;
}

/* Sticky-header: ensure full display and high z-index at all times */
.fixed-header .sticky-header {
  z-index: 9999 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.10);
}

/* Ensure all dropdown panels paint above everything */
.main-menu .navigation > li > ul,
.main-menu .navigation > li > .megamenu,
.main-menu .navigation > li > ul > li > ul {
  z-index: 99999 !important;
}

/* Prevent any ancestor container clipping the dropdown */
.main-header .header-lower,
.main-header .outer-container,
.main-header .outer-box,
.main-header .menu-area,
.main-header .main-menu,
.main-header .navigation {
  overflow: visible !important;
}

/* ── Header CTA buttons: hide the flaticon arrow & reset span padding ── */
.main-header .menu-right-content .theme-btn span,
.sticky-header .menu-right-content .theme-btn span {
  padding-left: 0;
}

.main-header .menu-right-content .theme-btn span:before,
.sticky-header .menu-right-content .theme-btn span:before {
  display: none;
}

/* ── Mobile nav: keep both header CTAs visible & stacked nicely ── */
@media only screen and (max-width: 1200px) {

  /* Keep btn-box items visible on mobile — template hides them at 1599px */
  .main-header .menu-right-content .btn-box {
    display: inline-flex !important;
    align-items: center;
  }

  /* Shrink button text & padding for small screens */
  .main-header .menu-right-content .theme-btn {
    font-size: 14px;
    padding: 10px 14px;
  }

  /* Give the outer-box flex layout so logo + toggler + btns sit in one row */
  .main-header .header-lower .outer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 15px;
  }

  /* Hamburger toggler: visible & right-aligned */
  .menu-area .mobile-nav-toggler {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--theme-color);
    cursor: pointer;
    border-radius: 4px;
    padding: 10px;
    gap: 5px;
  }

  /* Mobile menu: increase width slightly for readability */
  .mobile-menu {
    width: 320px;
  }

  /* Mobile menu logo: keep it proportional */
  .mobile-menu .nav-logo img {
    max-height: 50px;
    width: auto;
  }
}

/* ── Extra small screens (phones ≤480px) ── */
@media only screen and (max-width: 480px) {

  /* Hide "Open An Account" text, keep lock+Login only */
  .main-header .menu-right-content li.btn-box:last-child {
    display: none !important;
  }

  .main-header .menu-right-content .theme-btn {
    font-size: 13px;
    padding: 9px 12px;
  }

  /* Loan strip: single column */
  .loan-strip-section .col-lg-3 {
    width: 50%;
  }
}

/* ════════════════════════════════════════════
   ONLINE-SERVICE SECTION — Mobile fixes
════════════════════════════════════════════ */

@media only screen and (max-width: 991px) {

  /* Reset the calc() width override — let Bootstrap stack full-width */
  .online-service .left-column,
  .online-service .right-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  /* Add breathing room between the two stacked halves */
  .online-service .left-column {
    margin-bottom: 30px;
  }

  /* Left content: center everything nicely */
  .online-service .left-content {
    text-align: center;
    padding: 30px 20px;
  }

  .online-service .left-content .info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .online-service .left-content .icon-box {
    margin-bottom: 12px;
  }

  /* App store buttons: stack vertically & full-width */
  .online-service .left-content .btn-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .online-service .left-content .btn-box a {
    width: 200px;
    justify-content: center;
  }

  /* Right column: image + service list side by side on tablet,
     fully stacked on phone */
  .online-service .right-content .image-column,
  .online-service .right-content .content-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .online-service .right-content .image-box {
    margin-bottom: 20px;
  }

  .online-service .right-content .image-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Service list: clean full-width rows */
  .online-service .right-content .content-box {
    padding: 0 20px 20px;
  }

  .online-service .right-content .service-list li {
    width: 100%;
    display: block;
  }

  .online-service .right-content .service-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* === MASSIVE DROPDOWN VISIBILITY OVERRIDE === */
.main-header {
    position: relative !important;
    z-index: 999999 !important;
}

.main-header .navbar-collapse,
.main-header .collapse {
    overflow: visible !important;
}

.main-header .header-lower .main-menu .navigation > li.dropdown:hover > ul,
.main-header .header-lower .main-menu .navigation > li.dropdown:hover > .megamenu {
    visibility: visible !important;
    opacity: 1 !important;
    top: 100% !important;
    transform: none !important;
    pointer-events: auto !important;
    display: block !important;
    background-color: #fff !important;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.banner-section {
    position: relative !important;
    z-index: 1 !important;
}

/* ==========================================================================
   YONTA TRUST BANK — HEADER & PREMIUM RESPONSIVE Refinements
   ========================================================================== */

/* ── Header CTA Buttons Border and Outline Fix ── */
.header-style-three .menu-right-content .btn-box a,
.sticky-header .menu-right-content .btn-box a,
.header-style-three .menu-right-content .message-btn a,
.sticky-header .menu-right-content .message-btn a {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    background: var(--theme-color) !important;
    color: #fff !important;
    font-weight: 700 !important;
    transition: all 300ms ease-in-out !important;
}

.header-style-three .menu-right-content .btn-box a:hover,
.sticky-header .menu-right-content .btn-box a:hover,
.header-style-three .menu-right-content .message-btn a:hover,
.sticky-header .menu-right-content .message-btn a:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(226, 32, 38, 0.3) !important;
}

/* ── Styled Hamburger Menu Bars for Mobile ── */
.menu-area .mobile-nav-toggler {
    display: none !important; /* Hide by default on desktop */
}

@media only screen and (max-width: 1200px) {
    .menu-area .mobile-nav-toggler {
        display: flex !important; /* Show on mobile/tablet views */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: var(--theme-color) !important;
        cursor: pointer;
        border-radius: 4px;
        padding: 8px;
        gap: 4px;
    }
}

.mobile-nav-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff !important;
    margin: 2px 0;
    border-radius: 1px;
    transition: all 300ms ease;
}

.menu-area .mobile-nav-toggler:hover .icon-bar {
    background-color: #ffffff !important;
    transform: scale(1.05);
}

/* ── Force Cloned Navigation Container to Display in Mobile Drawer ── */
.mobile-menu .menu-box .menu-outer .collapse,
.mobile-menu .menu-box .menu-outer .navbar-collapse,
.mobile-menu .menu-box .menu-outer .collapse:not(.show) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Beautify Cloned Navigation Links in Mobile Drawer ── */
.mobile-menu .menu-box .menu-outer ul.navigation {
    display: block !important;
    float: none !important;
    width: 100% !important;
}

.mobile-menu .menu-box .menu-outer ul.navigation > li {
    float: none !important;
    display: block !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu .menu-box .menu-outer ul.navigation > li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu .menu-box .menu-outer ul.navigation > li > a {
    display: block !important;
    padding: 14px 25px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-family: var(--title-font) !important;
    border-left: 4px solid transparent;
    transition: all 300ms ease !important;
}

.mobile-menu .menu-box .menu-outer ul.navigation > li:hover > a,
.mobile-menu .menu-box .menu-outer ul.navigation > li.current > a {
    color: var(--theme-color) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-left-color: var(--theme-color) !important;
    padding-left: 30px !important;
}

/* ── Mobile Menu Backdrop ── */
.mobile-menu .menu-backdrop {
    background-color: rgba(0, 0, 0, 0.75) !important;
}

/* ── Beautify Mobile Menu Drawer (Sleek Dark Theme) ── */
.mobile-menu .menu-box {
    background: linear-gradient(135deg, #111019 0%, #1e1b2d 100%) !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Styled Rotating Circular Close Button ── */
.mobile-menu .close-btn {
    position: absolute !important;
    right: 25px !important;
    top: 20px !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    text-align: center !important;
    font-size: 16px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 400ms ease !important;
}

.mobile-menu .close-btn:hover {
    background: var(--theme-color) !important;
    color: #ffffff !important;
    transform: rotate(180deg) !important;
    box-shadow: 0 0 10px rgba(226, 32, 38, 0.5) !important;
}

/* ── Mobile CTA Box Layout ── */
.mobile-menu .mobile-cta-box {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 20px;
}

.mobile-menu .mobile-cta-box .theme-btn {
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
}

/* ── Mobile Language Switcher Styles ── */
.mobile-language-box {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-language-box h4 {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
}

.mobile-language-box ul {
    display: flex;
    gap: 15px;
}

.mobile-language-box ul li a {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color 300ms ease;
}

.mobile-language-box ul li a:hover {
    color: var(--theme-color) !important;
}

/* ── Contact Info inside Mobile Menu Drawer ── */
.mobile-menu .contact-info {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 25px !important;
}

.mobile-menu .contact-info h4 {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
}

.mobile-menu .contact-info ul li {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    margin-bottom: 8px;
}

.mobile-menu .contact-info ul li a {
    color: #ffffff !important;
    transition: color 300ms ease;
}

.mobile-menu .contact-info ul li a:hover {
    color: var(--theme-color) !important;
}

/* ════════════════════════════════════════════
   PREMIUM APP STORE BADGES — ONLINE-SERVICE
════════════════════════════════════════════ */

/* Outer container flex layout for badges */
.online-service .left-content .btn-box {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

/* Reset and apply premium styling for Google Play and App Store anchors */
.online-service .left-content .btn-box a.play-store,
.online-service .left-content .btn-box a.apple-store {
  font-size: unset !important;
  line-height: unset !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: unset !important;
  color: #ffffff !important;
  text-transform: unset !important;
  padding: 8px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #111019 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 170px !important;
  height: 52px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  margin-right: 0px !important; /* Managed by gap */
  transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Specific icon styles inside badges */
.online-service .left-content .btn-box a.play-store i,
.online-service .left-content .btn-box a.apple-store i {
  font-size: 26px !important;
  line-height: 1 !important;
  transition: all 300ms ease !important;
}

.online-service .left-content .btn-box a.play-store i {
  color: #3bccff !important; /* Play Store light blue/teal highlight */
}

.online-service .left-content .btn-box a.apple-store i {
  color: #ffffff !important;
}

/* Hover effects */
.online-service .left-content .btn-box a.play-store:hover,
.online-service .left-content .btn-box a.apple-store:hover {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(229, 40, 54, 0.25) !important;
}

.online-service .left-content .btn-box a.play-store:hover i,
.online-service .left-content .btn-box a.apple-store:hover i {
  color: #ffffff !important;
}

/* Internal text styling */
.online-service .left-content .btn-box a .btn-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.online-service .left-content .btn-box a .btn-text .subtitle {
  font-size: 9px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.2 !important;
  display: block !important;
  margin-bottom: 2px !important;
  white-space: nowrap !important;
}

.online-service .left-content .btn-box a .btn-text .title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  font-family: 'DM Sans', sans-serif !important;
  display: block !important;
}

.online-service .left-content .btn-box a:hover .btn-text .subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Responsive mobile adjustments for badges */
@media only screen and (max-width: 991px) {
  .online-service .left-content .btn-box {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  
  .online-service .left-content .btn-box a.play-store,
  .online-service .left-content .btn-box a.apple-store {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    width: auto !important;
    min-width: 170px !important;
  }
}

@media only screen and (max-width: 480px) {
  .online-service .left-content .btn-box {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .online-service .left-content .btn-box a.play-store,
  .online-service .left-content .btn-box a.apple-store {
    width: 100% !important;
    max-width: 220px !important;
  }
}

/* ════════════════════════════════════════════
   ONLINE SERVICES CARD — QUICK ACTIONS
   Matches user image exactly
════════════════════════════════════════════ */

.online-services-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px 35px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Diagonal stripe background pattern in bottom-right corner */
.online-services-card::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 180px;
    height: 180px;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(85, 4, 1, 0.02) 8px,
        rgba(85, 4, 1, 0.02) 10px
    );
    pointer-events: none;
    border-bottom-right-radius: 16px;
}

.online-services-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1b1927;
    margin-top: 0;
    margin-bottom: 30px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.02em;
}

/* Base button styles */
.os-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1; /* Stay above stripe pattern */
}

.os-btn:last-child {
    margin-bottom: 0;
}

/* Solid red button (E-Banking Login) */
.os-btn.solid {
    background: #e22026;
    color: #ffffff !important;
    border: 1px solid #e22026;
    box-shadow: 0 4px 15px rgba(226, 32, 38, 0.2);
}

.os-btn.solid i {
    color: #ffffff;
    font-size: 18px;
    transition: all 300ms ease;
}

.os-btn.solid:hover {
    background: #550401;
    border-color: #550401;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 4, 1, 0.3);
}

/* Outline white button (Apply for a Loan, Open an Account) */
.os-btn.outline {
    background: #ffffff;
    color: #550401 !important;
    border: 1px solid rgba(85, 4, 1, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.os-btn.outline i {
    color: #550401;
    font-size: 18px;
    transition: all 300ms ease;
}

.os-btn.outline:hover {
    background: #550401;
    color: #ffffff !important;
    border-color: #550401;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 4, 1, 0.25);
}

.os-btn.outline:hover i {
    color: #ffffff;
}

/* Spacing and stacking adjustments for small screens */
@media only screen and (max-width: 575px) {
    .online-services-card {
        padding: 30px 20px;
    }
    .online-services-card h3 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .os-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════
   PREMIUM RESPONSIBILITY & ALIGNMENT FOR HEADER CTAS
═══════════════════════════════════════════════ */

/* 1. Medium/Small Desktop Monitors (1200px – 1399px) */
@media only screen and (max-width: 1399px) and (min-width: 1200px) {
  /* Prevent navigation options wrapping */
  .main-menu .navigation > li {
    margin: 0px 8px !important;
  }
  .main-menu .navigation > li > a {
    font-size: 14px !important;
    padding: 25px 0 !important;
  }
  
  /* Keep buttons visible, aligned, and compact */
  .header-style-three .menu-right-content {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .header-style-three .menu-right-content .btn-box {
    display: inline-flex !important;
  }
  .header-style-three .menu-right-content .theme-btn {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
}

/* 2. Tablets (768px – 1199px) */
@media only screen and (max-width: 1199px) and (min-width: 768px) {
  /* Ensure header right container displays beautifully next to the toggler */
  .header-style-three .menu-right-content {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    margin-right: 15px !important;
  }
  
  /* Keep both buttons visible in a compact size */
  .header-style-three .menu-right-content .btn-box {
    display: inline-flex !important;
  }
  .header-style-three .menu-right-content .theme-btn {
    font-size: 12px !important;
    padding: 7px 12px !important;
  }
  
  /* Make sure outer box is flexed and fits in a single row */
  .header-style-three .header-lower .outer-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding: 10px 15px !important;
  }
  .header-style-three .menu-area {
    display: flex !important;
    align-items: center !important;
  }
}

/* 3. Small Mobile Phones (< 768px) */
@media only screen and (max-width: 767px) {
  /* Hide the header CTA buttons to prevent crowding next to the logo. 
     Mobile users can access everything via the beautifully formatted mobile menu drawer. */
  .header-style-three .menu-right-content {
    display: none !important;
  }
}

