/* UWAVIT responsive refinements. Loaded last; scoped to be additive and safe. */

html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #077CEA; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Slider: image on an inner layer (slick rewrites the slide's inline style) ---- */
.banner_3 .banner_slide { position: relative; overflow: hidden; }
.banner_3 .banner_bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.banner_slider:not(.slick-initialized) > .banner_slide:not(:first-child) { display: none !important; }
.banner_slider .slick-slide > div { width: 100%; }
@media (max-width: 991.98px) {
    .banner_3 .banner_slide { min-height: 0; height: 62vw; }
    section.banner.banner_3 { height: auto; padding-top: 84px; background: #0b1d3a; }
}

/* ---- Header on small screens ---- */
@media (max-width: 991.98px) {
    .main_menu_3 { top: 0; margin-top: 0; }
    .main_menu_3 .navbar-toggler { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; box-shadow: none; color: #fff; }
    .main_menu_3 .navbar-toggler svg { color: #fff; }
    .main_menu_3 .navbar-toggler .close_icon_close { display: none; }
    .main_menu_3 .navbar-toggler[aria-expanded="true"] .menu_icon_bar { display: none; }
    .main_menu_3 .navbar-toggler[aria-expanded="true"] .close_icon_close { display: block; }
    .main_menu_3 .navbar-collapse { max-height: calc(100vh - 90px); overflow-y: auto; }
    .main_menu_3 .nav-link { min-height: 44px; display: flex; align-items: center; }
}

/* ---- Readability and spacing on phones ---- */
@media (max-width: 767.98px) {
    .pt_115, .pt_120 { padding-top: 64px !important; }
    .pb_115, .pb_120, .pb_150 { padding-bottom: 64px !important; }
    p { text-align: left !important; }
}

/* ---- Cards ---- */
.single_services, .accordion-item { border-radius: 14px; }
.single_services { transition: transform .3s ease, box-shadow .3s ease; }
@media (hover: hover) { .single_services:hover { transform: translateY(-4px); } }

/* ---- Forms: comfortable touch size; 16px stops iOS zoom on focus ---- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="date"], select, textarea, .form-control, .form-select { font-size: 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="date"], select, .form-control, .form-select { min-height: 46px; }

/* ---- Footer on phones ---- */
@media (max-width: 767.98px) {
    .footer_3_newsletter { text-align: center; }
    .footer_copyright_3_text { justify-content: center !important; text-align: center; gap: 12px; }
}

/* ---- No sideways scroll ---- */
html, body { max-width: 100%; overflow-x: clip; }

/* ---- Contrast on dark areas ---- */
.page_breadcrumb .breadcrumb_text p,
.page_breadcrumb .breadcrumb_text li,
.page_breadcrumb .breadcrumb_text a,
.page_breadcrumb .breadcrumb_text span { color: rgba(255, 255, 255, .9); }
.footer_3_newsletter_right .common_btn_2 { color: #16171A; }
