/* Shared incremental overrides for site-wide consistency */

.page-title--overlay1 {
  background-image: url("../images/background/overlay1.png");
}

.page-title--overlay2 {
  background-image: url("../images/background/overlay2.png");
}

.page-title--overlay3 {
  background-image: url("../images/background/overlay3.png");
}

.page-title--overlay4 {
  background-image: url("../images/background/overlay4.png");
}

.page-title--overlay5 {
  background-image: url("../images/background/overlay5.png");
}

.page-title--overlay6 {
  background-image: url("../images/background/overlay6.png");
}

.widget-content--contact-bg {
  background-image: url("../images/resource/contact.jpg");
}

.shape--overlay-bg {
  background-image: url("../images/resource/overlay-shape.png");
}

.section-cta {
  margin: 16px 0;
}

.cta-inline {
  display: inline-block;
  background-color: #004080;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: var(--text-font);
  font-size: 16px;
  text-align: center;
}

.cta-inline:hover {
  background-color: #002f61;
  color: #fff;
}

/* Mobile optimization pass */
@media (max-width: 991.98px) {
  .main-header .main-box {
    padding: 10px 14px;
  }

  .main-header .info-btn-two,
  .header-style-one .main-box .outer-box .btn-box,
  .header-style-one .main-box .outer-box .toggle-hidden-bar {
    display: none;
  }

  .mobile-nav-toggler {
    margin-left: 8px;
    font-size: 30px;
    line-height: 1;
  }

  .page-title {
    padding: 110px 0 70px;
  }

  .page-title .title {
    font-size: 40px;
    line-height: 1.15;
  }

  .btn-style-one {
    padding: 16px 24px;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 86px;
  }

  .page-title .title {
    font-size: 34px;
  }

  .page-title .text {
    font-size: 15px;
    line-height: 1.5;
  }

  .media2 {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .media2 img {
    width: 72px;
    padding-right: 20px;
  }
}

/* Keep WhatsApp CTA always visible and unobtrusive on mobile */
.whatsapp-float {
  display: block !important;
  left: 16px;
  right: auto;
  bottom: 16px;
  top: auto;
  transform: none;
  z-index: 9999;
}

.whatsapp-float img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .whatsapp-float {
    left: 12px;
    right: auto;
    bottom: 12px;

  }

  .whatsapp-float img {
    width: 56px;
    height: 56px;
  }
}

/* Header logo-box stabilization and polish */
.header-style-one .main-box .logo-box {
  padding: 0;
  min-width: 220px;
  height: 108px;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 24px;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

.header-style-one .main-box .logo-box:before {
  background: linear-gradient(135deg, #1d2e8a 0%, #2f4ac6 100%);
}

.header-style-one .main-box .logo-box .logo img {
  max-height: 66px;
  width: auto;
}

@media (max-width: 991.98px) {
  .header-style-one .main-box .logo-box {
    min-width: 150px;
    height: 84px;
    margin-right: 10px;
    border-radius: 0 0 10px 10px;
  }

  .header-style-one .main-box .logo-box .logo img {
    max-height: 50px;
  }
}

@media (max-width: 575.98px) {
  .header-style-one .main-box .logo-box {
    min-width: 132px;
    height: 74px;
  }

  .header-style-one .main-box .logo-box .logo img {
    max-height: 44px;
  }
}

/* Desktop/tablet header compaction for cleaner main-box rhythm */
@media (min-width: 992px) {
  .header-style-one .main-box {
    min-height: 92px;
  }

  .header-style-one .main-box .logo-box {
    min-width: 190px;
    height: 92px;
    margin-right: 18px;
    border-radius: 0 0 12px 12px;
  }

  .header-style-one .main-box .logo-box .logo img {
    max-height: 56px;
  }

  .main-menu .navigation > li {
    padding: 22px 0;
    margin-right: 34px;
  }

  .main-menu .navigation > li > a {
    font-size: 16px;
    line-height: 24px;
  }

  .header-style-one .main-box .outer-box .btn-box {
    margin-right: 18px;
    margin-left: 12px;
  }

  .header-style-one .main-box .outer-box .btn-box .btn-style-one {
    padding: 14px 22px;
    font-size: 14px;
    line-height: 1.1;
  }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .main-menu .navigation > li {
    margin-right: 24px;
  }

  .main-menu .navigation > li > a {
    font-size: 15px;
  }

  .header-style-one .main-box .logo-box {
    min-width: 172px;
    margin-right: 12px;
  }
}
