/* Jacways brand layer over the supplied Logistica template. The template's layout and motion effects remain intact. */
:root {
    --primary: #B2D636;
    --secondary: #4F6813;
    --light: #F7F9F3;
    --dark: #212529;
    --bs-primary: #B2D636;
    --bs-primary-rgb: 178, 214, 54;
    --bs-secondary: #4F6813;
    --bs-secondary-rgb: 79, 104, 19;
    --bs-success: #E6EFC7;
    --bs-success-rgb: 230, 239, 199;
    --jacways-line: #E1E9CB;
    --jacways-muted: #62695C;
    --jacways-head: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --jacways-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { font-family: var(--jacways-body); color: var(--dark); line-height: 1.7; }
h1, h2, h3, h4, h5, .navbar, .btn { font-family: var(--jacways-head); }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.025em; }
p { color: var(--jacways-muted); }
.text-primary, .text-secondary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-success { background-color: #E6EFC7 !important; }
.btn.btn-primary { color: var(--dark) !important; background-color: var(--primary) !important; border-color: var(--primary) !important; }
.btn.btn-primary:hover, .btn.btn-primary:focus { background-color: #A5C62A !important; border-color: #A5C62A !important; color: var(--dark) !important; }
.btn.btn-secondary { color: #fff !important; background-color: var(--secondary) !important; border-color: var(--secondary) !important; }
.btn.btn-secondary:hover, .btn.btn-secondary:focus { color: #fff !important; background-color: #3E520F !important; border-color: #3E520F !important; }
.btn, .service-item, .office-card, .approach-card, .contact-person { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.btn { border-radius: 5px; }
.text-dark { color: var(--dark) !important; }
.text-white { color: #fff !important; }

/* Keep the template's wide, image-first look on large screens. */
@media (min-width: 1200px) { .container, .container-lg, .container-md, .container-sm, .container-xl { max-width: 1400px; } }
@media (min-width: 1600px) { .container, .container-lg, .container-md, .container-sm, .container-xl { max-width: 1540px; } }

/* Navigation: template logo block and sticky navbar, in Jacways' light palette. */
.navbar { border-top-color: var(--primary) !important; }
.navbar-brand.jacways-brand { background: #fff !important; border-right: 1px solid var(--jacways-line); min-width: 118px; justify-content: center; }
.navbar-brand.jacways-brand img { display: block; width: 76px; height: 69px; object-fit: contain; }
.navbar-light .navbar-nav .nav-link { color: var(--dark); font-weight: 600; letter-spacing: .01em; }
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link.active { color: var(--secondary); }
@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before { background: var(--primary); }
  .navbar-brand.jacways-brand { min-width: 132px; }
  .navbar-brand.jacways-brand img { width: 88px; height: 70px; }
  .navbar .btn { min-width: 172px; }
}
@media (max-width: 991.98px) {
  .navbar-brand.jacways-brand { height: 70px; min-width: 96px; }
  .navbar-brand.jacways-brand img { width: 65px; height: 62px; }
  .navbar .navbar-collapse { max-height: calc(100vh - 75px); overflow-y: auto; }
}

/* Full-bleed hero photo carousel with the original template's slide and control behaviour. */
.header-carousel .owl-carousel-item { position: relative; min-height: clamp(520px, 49vw, 700px); overflow: hidden; }
.header-carousel .owl-carousel-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(18, 25, 16, .82) 0%, rgba(18, 25, 16, .58) 56%, rgba(18, 25, 16, .28) 100%); }
.header-carousel h1, .header-carousel h2 { max-width: 950px; font-family: var(--jacways-head); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.header-carousel h5 { letter-spacing: .12em; font-weight: 700; }
.hero-copy { max-width: 740px; line-height: 1.7; }
.brand-highlight { color: var(--primary); }
.header-carousel .owl-nav .owl-prev:hover, .header-carousel .owl-nav .owl-next:hover { background: var(--primary); border-color: var(--primary); color: var(--dark); }
.header-carousel .owl-dots { position: absolute; left: max(calc((100vw - 1400px) / 2), 24px); bottom: 28px; display: flex; gap: 7px; }
.header-carousel .owl-dot { width: 28px; height: 5px; border: 0; border-radius: 6px; background: rgba(255,255,255,.55); }
.header-carousel .owl-dot.active { background: var(--primary); width: 44px; }

/* Visual framing borrowed directly from template image/card sections. */
.about-visual, .feature-visual { overflow: hidden; border-radius: 4px; }
.about-visual::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--primary); z-index: -1; }
.year-stamp { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 13px; padding: 14px 18px; background: var(--primary); color: var(--dark); box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.year-stamp strong { font: 800 2.4rem/1 var(--jacways-head); letter-spacing: -.04em; }
.year-stamp span { max-width: 100px; font-size: .82rem; line-height: 1.25; font-weight: 700; }
.fact-section { background: #fff; }
.fact-card { min-height: 160px; }
.fact-card h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.fact-card-tall { min-height: 344px; display: flex; flex-direction: column; justify-content: center; }
.fact-card-tall p { max-width: 220px; }
.fact-section .bg-secondary p, .fact-section .bg-secondary h3 { color: #fff !important; }
.fact-section .bg-success p, .fact-section .bg-success h3 { color: var(--dark) !important; }

.service-item { background: #fff; border-radius: 5px; height: 100%; }
.service-item .service-image { aspect-ratio: 16 / 10; border-radius: 3px; background: var(--light); }
.service-item .service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-item:hover { transform: translateY(-5px); box-shadow: 0 15px 42px rgba(33,37,41,.12); }
.service-item h4 { font-size: 1.3rem; }
.service-item p { min-height: 4.8em; }
.service-item a.btn-slide i, .service-item a.btn-slide span, .approach-card a.btn-slide i { background: var(--primary); color: var(--dark); }
.service-item a.btn-slide:hover i, .service-item a.btn-slide:hover span { background: var(--secondary); color: #fff; }
.section-intro { max-width: 780px; margin-left: auto; margin-right: auto; }
.feature-visual img { border-radius: 4px; }

/* Three-step section uses the template's card depth without fake prices. */
.approach-card { position: relative; overflow: hidden; background: #fff; border-top: 4px solid var(--primary); box-shadow: 0 0 45px rgba(0,0,0,.06); }
.approach-card:hover { transform: translateY(-5px); box-shadow: 0 16px 42px rgba(33,37,41,.12); }
.approach-card h4 { margin-top: 8px; }
.step-number { position: absolute; top: 18px; right: 22px; color: #e6ebda; font: 800 2.6rem/1 var(--jacways-head); }
.approach-card p { color: var(--jacways-muted); }

/* Contact section retains the template's two-column quote layout but has no form. */
.contact-band { background: linear-gradient(135deg, #F7F9F3 0%, #EDF4D8 100%); }
.contact-people { background: #fff; box-shadow: 0 0 45px rgba(33,37,41,.07); border-top: 5px solid var(--primary); }
.contact-person { background: #fff; border: 1px solid var(--jacways-line); }
.contact-person:hover { border-color: var(--primary); box-shadow: 0 10px 28px rgba(33,37,41,.07); }
.contact-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; color: var(--secondary); background: var(--light); border-radius: 50%; font-size: 1.2rem; }
.contact-line { margin-bottom: 14px; overflow-wrap: anywhere; }
.contact-line small { display: block; margin-bottom: 3px; color: var(--jacways-muted); font-weight: 600; }
.contact-line a { color: var(--dark); text-decoration: none; font-weight: 600; }
.contact-line a:hover { color: var(--secondary); text-decoration: underline; }

/* Office cards use location title, company name, then address (contacts are elsewhere). */
.office-card { display: flex; flex-direction: column; background: var(--light); border: 1px solid var(--jacways-line); border-radius: 5px; box-shadow: 0 0 30px rgba(0,0,0,.035); }
.office-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 14px 34px rgba(33,37,41,.09); }
.office-card h3 { font-size: 1.55rem; }
.office-company { margin: 0 0 18px; color: var(--secondary); font-weight: 700; }
.office-address, .office-hours, .branch-email { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 18px; color: var(--dark); overflow-wrap: anywhere; }
.office-address i, .office-hours i, .branch-email i { flex: 0 0 20px; margin-top: 5px; color: var(--secondary); }
.office-address span, .office-hours span { flex: 1; }
.office-hours { padding-top: 16px; border-top: 1px solid var(--jacways-line); }
.office-hours small { display: block; margin-bottom: 4px; color: var(--jacways-muted); font-weight: 700; }
.branch-email a { color: var(--secondary); font-weight: 600; }
.office-card .btn-slide { margin-top: auto; align-self: flex-start; text-decoration: none; }
.office-card .btn-slide i, .office-card .btn-slide span { background: var(--primary); color: var(--dark); }
.office-card .btn-slide:hover i, .office-card .btn-slide:hover span { background: var(--secondary); color: #fff; }

.approach-carousel-section .testimonial-item { min-height: 235px; background: #fff; border: 1px solid var(--jacways-line); }
.approach-carousel-section .testimonial-item h4 { font-size: 1.35rem; }
.approach-carousel-section .owl-dots { margin-top: 10px; }
.approach-carousel-section .owl-dot { background: #dfe8c5; border-color: #fff; }
.approach-carousel-section .owl-dot.active { background: var(--secondary); border-color: var(--primary); }

.footer { background-color: var(--dark); }
.footer-logo-wrap { display: inline-flex; align-items: center; justify-content: center; padding: 6px; background: #fff; margin-bottom: 16px; }
.footer-logo-wrap img { display: block; width: 86px; height: 86px; object-fit: contain; }
.footer a:not(.btn) { color: #E3E8D8; text-decoration: none; overflow-wrap: anywhere; }
.footer a:not(.btn):hover { color: var(--primary); }
.footer .btn.btn-link { color: #E3E8D8; }
.footer .btn.btn-link:hover { color: var(--primary); }
.footer .copyright { border-top: 1px solid rgba(256,256,256,.18); }
.footer .copyright a { color: var(--primary); }
.back-to-top { display: none; border-radius: 50% !important; right: 24px; bottom: 24px; }

:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
img { max-width: 100%; }

@media (max-width: 991.98px) {
  .header-carousel .owl-carousel-item { min-height: 540px; }
  .about-text { padding-right: 12px; }
  .feature-text { padding-left: 12px; }
  .year-stamp { right: 12px; bottom: 12px; }
  .contact-person { height: auto; }
}
@media (max-width: 575.98px) {
  .header-carousel .owl-carousel-item { min-height: 500px; }
  .header-carousel .owl-carousel-item h1, .header-carousel .owl-carousel-item h2 { font-size: 2.35rem; }
  .hero-copy { font-size: 1rem !important; }
  .header-carousel .owl-nav { top: auto; bottom: 8px; right: 14px; transform: none; flex-direction: row; gap: 8px; }
  .header-carousel .owl-nav .owl-prev, .header-carousel .owl-nav .owl-next { width: 38px; height: 38px; margin: 0; font-size: 26px; }
  .header-carousel .owl-dots { left: 24px; bottom: 16px; }
  .year-stamp strong { font-size: 1.9rem; }
  .year-stamp span { font-size: .74rem; }
  .fact-card-tall { min-height: 210px; }
  .service-item p { min-height: 0; }
  .contact-people { padding: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wow { visibility: visible !important; animation: none !important; }
}

.header-carousel .owl-nav .owl-prev, .header-carousel .owl-nav .owl-next { font-family: Arial, sans-serif; font-weight: 500; line-height: 1; }


/* Shared multi-page navigation, page banner, unobtrusive licence credit and uniform directions buttons. */
.navbar .navbar-nav .nav-link[aria-current="page"] { color: var(--secondary) !important; }
.navbar .navbar-nav .nav-link[aria-current="page"]::before { width: calc(100% - 1.5rem); }
.jacways-page-header { margin-bottom: clamp(2rem, 4vw, 4rem) !important; position: relative; overflow: hidden; }
.jacways-page-header::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:6px; background:var(--primary); }
.jacways-page-header .page-kicker { color:var(--primary); letter-spacing:.16em; font-size:.875rem; font-weight:700; }
.jacways-page-header .page-intro { max-width:760px; font-size:clamp(1rem,1.3vw,1.2rem); line-height:1.7; }
.jacways-page-header .breadcrumb-item, .jacways-page-header .breadcrumb-item a { color:rgba(255,255,255,.9) !important; }
.jacways-page-header .breadcrumb-item.active { color:var(--primary) !important; }
.next-step-band { background:linear-gradient(115deg,#F7F9F3 0%,#EEF4DC 100%); border-top:1px solid var(--jacways-line); border-bottom:1px solid var(--jacways-line); }
.next-step-band h2 { max-width:850px; }
.next-step-band p { max-width:760px; }
.office-card .office-directions { display:inline-flex; align-items:center; justify-content:center; gap:.65rem; min-height:48px; padding:.72rem 1.15rem; margin-top:auto !important; align-self:flex-start; white-space:nowrap; border:1px solid var(--primary) !important; border-radius:5px; background:var(--primary) !important; color:var(--dark) !important; font:700 .96rem/1.2 var(--jacways-head); text-decoration:none; box-shadow:none; transition:background-color .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease; }
.office-card .office-directions i { margin:0; line-height:1; font-size:.95rem; }
.office-card .office-directions:hover, .office-card .office-directions:focus-visible { background:var(--secondary) !important; border-color:var(--secondary) !important; color:#fff !important; transform:translateY(-2px); box-shadow:0 8px 22px rgba(79,104,19,.2); }
.office-card .office-directions:focus-visible { outline:3px solid var(--dark); outline-offset:3px; }
.template-credit { font-size:.76rem; line-height:1.7; opacity:.78; }
.template-credit a { text-decoration:underline; text-underline-offset:3px; }
.template-credit:hover { opacity:1; }
@media(max-width:767.98px){.template-credit{text-align:center !important;margin-top:10px}.jacways-page-header .display-3{font-size:clamp(2.4rem,8vw,3.4rem)}.next-step-band .btn{width:100%}}
