/* Keep the theme appearance while correcting keyboard and mobile controls. */
/* Match Safari's exposed canvas to the footer; keep content on its white surface.
   Page viewport tags opt into cover, so reserve the device's safe areas here. */
html, body { background-color: var(--brand-navy, #123047); }
.main-wrapper {
    background-color: #fff;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}
.footer-style1 .footer-bar { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
button.navbar-toggler { background: transparent; }
.footer-contact-info .flex-shrink-0 { display: none; }
.footer-contact-info .flex-grow-1 { margin-left: 0 !important; }
.footer-menu-group>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;}
.footer-menu-group>summary::-webkit-details-marker{display:none;}
.footer-menu-group>summary::after{content:'+';margin-left:auto;}
.footer-menu-group[open]>summary::after{content:'−';}
.footer-menu-group>summary:focus-visible{outline:2px solid var(--brand-turquoise);outline-offset:4px;}
.footer-menu-group ul a{font-size:.9em;}
.home-section-about .about-image-composition {padding-bottom:18%;isolation:isolate;}
.home-section-about .about-image-back {width:82%;position:relative;}
.home-section-about .about-image-front {position:absolute;width:58%;right:0;bottom:0;}
.home-section-about .about-image-back img,
.home-section-about .about-image-front img {display:block;width:100%;aspect-ratio:4/3;object-fit:cover;}
.home-section-about .about-image-front img {border:6px solid #fff;}
@media (max-width:575.98px) {
    .home-section-about.p-5 {padding-inline:0 !important;}
    .home-section-about .about-image-front img {border-width:4px;}
}
.footer-style1 .col-lg-3 > p { width: 100%; }
header.header-style1 { height: var(--site-header-height, 96px); }
header.header-style1 .navbar-default,
header.header-style1.scrollHeader .navbar-default {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    z-index: 99;
    transition: background-color .22s ease, box-shadow .22s ease;
}
.header-style1 .navbar-header-custom,
.header-style1.scrollHeader .navbar-header-custom {
    padding: 22px 0 20px;
    transition: none;
}
.header-style1 .attr-nav .butn.medium {
    padding: 12px 10px !important;
    font-size: 13px;
}
@media (max-width: 991.98px) {
    .header-style1 .navbar-header-custom,
    .header-style1.scrollHeader .navbar-header-custom { padding: 16px 0; }
    .header-style1 .navbar-brand2 img {
        width: min(var(--header-logo-width, 220px), 180px, calc(100vw - 96px));
        height: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    header.header-style1 .navbar-default { transition: none; }
}
@media (min-width: 992px) and (max-width: 1599.98px) {
    .header-style1 .navbar-nav > li > a { font-size: 13px; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
    .header-style1 .attr-nav li:last-child { display: none !important; }
}
.home-page .top-position1 { margin-top: calc(-1 * var(--site-header-height, 96px)); }
.slider-fade3 { touch-action: pan-y; }
.home-blog-carousel { touch-action: pan-y; }
.home-blog-carousel .owl-stage { display: flex; }
.home-blog-carousel .owl-item { display: flex; flex: 0 0 auto; }
.home-blog-carousel .home-blog-slide { display: flex; width: 100%; padding: 8px 0 24px; }
.home-blog-carousel .card-style8 { width: 100%; }
.home-blog-carousel .owl-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.home-blog-carousel .owl-nav button.owl-prev,
.home-blog-carousel .owl-nav button.owl-next {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--brand-navy, #123047); color: #fff;
}
.home-blog-carousel .owl-nav button:hover { background: var(--brand-blue, #167aa6); }
.home-blog-carousel .owl-nav button.disabled { opacity: .4; cursor: default; }
.home-blog-carousel .owl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.home-blog-carousel .owl-dot { min-width: 24px; min-height: 24px; display: grid; place-items: center; }
.home-blog-carousel .owl-dot span { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-border, #d9e7ef); }
.home-blog-carousel .owl-dot.active span { background: var(--brand-blue, #167aa6); }
.home-blog-carousel .owl-nav.disabled,
.home-blog-carousel .owl-dots.disabled { display: none; }
.detail-faq-section .accordion-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--brand-border, #d9e7ef);
    border-radius: 8px;
    background: #fff;
}
.detail-faq-section .accordion-item:last-child { margin-bottom: 0; }
.detail-faq-section .accordion-button {
    padding: 20px 24px;
    font: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--brand-navy, #123047);
    background: #fff;
}
.detail-faq-section .accordion-button:not(.collapsed) {
    background: var(--brand-surface, #eef6fb);
    color: var(--brand-navy, #123047);
    box-shadow: none;
}
.detail-faq-section .accordion-button:focus-visible { outline: 3px solid var(--brand-blue, #167aa6); outline-offset: -3px; }
.detail-faq-section .accordion-body { padding: 20px 24px; color: var(--brand-ink, #243746); }
.detail-faq-section .accordion-body > :last-child { margin-bottom: 0; }
.slider-fade3 .owl-item.animated {
    animation-duration: 280ms;
    animation-delay: 0s;
    animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity;
}
@media (prefers-reduced-motion: reduce) {
    .slider-fade3 .owl-item.animated { animation-duration: 80ms; }
}
.card-style8 .card-img {
    display: block;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.card-style8 .card-img img {
    display: block;
    width: 100%;
    height: clamp(180px, 18vw, 250px);
    object-fit: cover;
    object-position: center;
}
.card-style8.h-100 { height: 100% !important; }
.card-style8 p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.card-style8 .card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-content: start;
    align-items: center;
    gap: 10px 16px;
    padding: 20px 24px;
    flex: 1 1 auto;
}
.card-style8 .card-body > span { grid-column: 1 / -1; }
.card-style8 .card-body > h2,
.card-style8 .card-body > h3,
.card-style8 .card-body > div { grid-column: 1; min-width: 0; }
.card-style8 .card-body > .butn-read-more {
    grid-column: 2;
    align-self: center;
    justify-self: end;
}
.card-style8 .butn-read-more {
    position: static;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    margin: 0;
    opacity: 1;
    visibility: visible;
    animation: none;
    transition: background-color .2s ease;
}
.card-style8:hover .butn-read-more,
.card-style8 .butn-read-more:focus-visible {
    animation: none;
    background: var(--brand-petrol, #086b78);
}
.card-style8 a:focus-visible { outline: 3px solid var(--brand-petrol, #086b78); outline-offset: 3px; }
.navbar-toggler:focus-visible,
.scroll-to-top:focus-visible,
.waves222 a:focus-visible { outline: 3px solid var(--brand-petrol, #086b78); outline-offset: 4px; }
@media (max-width: 767.98px) {
    .footer-bar .copyright { margin-bottom: 0; line-height: 1.7; overflow-wrap: anywhere; }
    .footer-bar .copyright-notice,
    .footer-bar .copyright-credit { display: block; }
    .footer-bar .copyright-credit { margin-top: 8px; }
    .footer-bar .copyright-separator { display: none; }
    .footer-contact-info .flex-shrink-0 { display: none; }
    .footer-contact-info .flex-grow-1 { margin-left: 0 !important; }
}
    .waves222 {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        z-index: 1111;
        display: grid;
        grid-template-columns: 48px 1fr 48px;
        gap: 10px;
        background: transparent;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease, visibility 0s;
    }
    .waves222 .waves, .waves222 .waves2, .waves222 .waves3 {
        width: 48px; height: 48px; padding: 0; line-height: 1;
        display: flex; align-items: center; justify-content: center;
        pointer-events: auto;
    }
    .waves222 .waves { background: var(--brand-navy, #123047); grid-column: 1; grid-row: 1; }
    .waves222 .waves3 { background: #d9363e; grid-column: 1; grid-row: 2; }
    .waves222 .waves3:hover { background: #b9232b; }
    .waves222 .waves2 { grid-column: 3; grid-row: 2; }
    .waves222 i { font-size: 24px !important; }
    .waves222 .shadow-smmm { box-shadow: 0 5px 16px rgba(18,48,71,.24) !important; }
    .scroll-to-top {
        left: auto; right: 16px;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        width: 48px; height: 48px; line-height: 48px;
        transition: opacity .22s ease, background-color .22s ease, visibility 0s;
    }
    .waves222.is-footer-visible {
        opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none;
        transition: opacity .22s ease, transform .22s ease, visibility 0s .22s;
    }
    body.footer-in-view .scroll-to-top {
        opacity: 0 !important; visibility: hidden; pointer-events: none;
        transition: opacity .22s ease, visibility 0s .22s;
    }
@media (prefers-reduced-motion: reduce) {
    .waves222, .waves222.is-footer-visible, .scroll-to-top, body.footer-in-view .scroll-to-top { transition: none; }
}
/* Decorative texture is drawn in CSS; no legacy theme image is loaded. */
.site-dot-decoration{width:120px;height:120px;background-image:radial-gradient(var(--brand-cyan,#53BCCF) 1.5px,transparent 1.5px);background-size:12px 12px;pointer-events:none}
/* Real application photographs replace the former third-party logo strip. */
.mySwiper .swiper-slide img{width:100%;height:110px;object-fit:cover;border-radius:6px}
