/* 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;
  }
}

/* USCIS alert news list layout (grid + ordering) */
.news-section [data-uscis-news-grid] {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.news-section .news-block {
  flex: 1 1 calc(33.333% - 1.25rem);
  min-width: 280px;
  max-width: calc(33.333% - 1.25rem);
}

@media (max-width: 991.98px) {
  .news-section .news-block {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.news-section .news-block {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.news-section .news-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.news-section .news-block .inner-box {
  padding: 24px;
  min-height: 220px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-section .news-block .content p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.alert-disclaimer-section {
  background-color: #f5f8fb;
  padding: 14px 0 18px;
}

.alert-disclaimer-section .disclaimer {
  margin: 0;
  color: #202a3e;
  font-size: .95rem;
  text-align: center;
}

.page-title--overlay1 .title-outer {
  background: rgba(255,255,255,0.91);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

.page-title--overlay1 .title-outer .title {
  color: #0f1c33;
}

.page-title--overlay1 .title-outer .subtitle {
  margin-top: 0.35rem;
  color: #44576c;
  font-size: 1.06rem;
}

/* Contact page modernization */
.contact-modern {
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-modern__card {
  background: #ffffff;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(12, 25, 43, 0.08);
  padding: 28px;
}

.contact-modern .contact-form .form-group label {
  margin-bottom: 8px;
  color: #1d2e45;
  font-weight: 600;
}

.contact-modern .contact-form .form-control {
  border-radius: 8px;
}

.contact-modern .form-check {
  margin-bottom: 16px;
}

.contact-modern .form-check .form-check-label {
  color: #374d66;
  line-height: 1.5;
}

.contact-modern__hours {
  border-top: 1px solid #edf2f8;
  margin-top: 14px;
  padding-top: 16px;
}

.contact-modern__hours h6 {
  margin-bottom: 8px;
}

.contact-modern__hours p {
  margin-bottom: 4px;
}

.contact-modern__map {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
}

.contact-modern__map iframe {
  width: 100%;
  display: block;
}

.faq-hub-section .services-details__content {
  max-width: 960px;
  margin: 0 auto;
}
