/* Keep the established PaperPlane layout, typography and section geometry. */
#about-section-1:before, #clients-section:before, #clients-section:after,
#process-section:before, #team-section:before, #skills-section:before,
#blog-section:before, #about-section-3:after, #services-section:after,
#process-section:after, #team-section:after, #skills-section:after,
#pricing-section:after, #blog-section:after, #contactinfo-section:before,
#contactinfo-section:after { background-color: #fff; }
#footer-section:before { background-color: #323133; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
.wow { visibility: visible !important; }
.slide-title { margin: 0; color: #fff; }
.owl-home:not(.owl-carousel) { display: block; }
.owl-portfolio:not(.owl-carousel) { display: flex; flex-wrap: wrap; }
.owl-portfolio:not(.owl-carousel) > .slide-item { width: 33.333%; }
.navbar-toggle:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #328cc1; outline-offset: 4px; }
#map-section iframe { max-width: 100%; }
.section-content a { overflow-wrap: anywhere; }
#process-section .feature-number { left: 120px; font-size: 100px; }
#process-section .feature-content { font-weight: 700; }
#portfolio-section .portfolio-info .manufacturer-divider { display: block; float: none; width: 65px; height: 1px; margin: 14px auto; background: currentColor; }
#portfolio-section .portfolio-content { background: #fff; }
#portfolio-section .portfolio-content > img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
#portfolio-section .portfolio-content:focus-within .portfolio-details { transform: translate3d(0, 0, 0); }
h2.section-title, h2.short-section-title, h3.feature-title { margin-top: 0; }
img[width][height] { height: auto; }
.back-to-top {
    position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 1040; display: flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; border: 0; border-radius: 5px; background: #111; color: #fff;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.back-to-top:hover, .back-to-top:focus { background: #0074cc; color: #fff; }
.back-to-top svg { width: 28px; height: 28px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1100; padding: 12px 18px; background: #fff; color: #111; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(22px); }
[data-reveal].reveal-ready { transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* Bootstrap owns the open state; the retired PaperPlane off-canvas script does not. */
@media (max-width: 992px) {
    #nav-wrapper { background: #323133; }
    #nav-wrapper .navbar > .container { width: 100%; padding-right: 16px; padding-left: 16px; }
    #nav-wrapper .navbar > .container > .row { margin: 0; }
    #nav-wrapper .navbar .col-md-12 { position: static; padding: 0; }
    #nav-wrapper .navbar-header { display: flex; align-items: center; justify-content: space-between; height: 80px; }
    #nav-wrapper .navbar-header::before, #nav-wrapper .navbar-header::after { display: none; }
    #nav-wrapper .navbar-brand { order: -1; float: none; margin: 0; height: auto; }
    #nav-wrapper .navbar-toggle { display: flex; align-items: center; justify-content: center; order: 1; flex: 0 0 48px; float: none; margin: 0 0 0 auto; padding: 0; width: 48px; height: 48px; line-height: 1; z-index: 1; }
    #main-navigation {
        position: absolute; top: 100%; right: 0; bottom: auto; width: 100%;
        min-height: 0; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px);
        margin: 0; padding: 0; background: #323133; transform: none;
        transition: height .25s ease;
    }
    #main-navigation.collapse:not(.in) { display: none !important; }
    #main-navigation.in { overflow-y: auto; }
    #main-navigation .navbar-nav { float: none !important; width: 100%; height: auto; margin: 0; overflow: visible; }
    #main-navigation .navbar-nav > li { width: 100%; }
    #main-navigation .navbar-nav > li > a { min-height: 50px; }
}
@media (max-width: 767px) {
    .owl-portfolio:not(.owl-carousel) > .slide-item { width: 100%; }
    #home-section .slide-title { font-size: 32px; line-height: 1.25; }
    #home-section .slide-desc { font-size: 20px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { animation: none !important; transition: none !important; }
}
