/* PRC Industries theme
   Visual language ported from the "Techida" HTML template (Outfit type,
   warm off-white body, soft grey "boxes" with a green hover sweep, pill
   buttons, dark stats band, dark four-column footer, dark-mode toggle).
   Brand green is PRC's own (#6eae3b) so the logo and UI agree. */

:root {
    --bodyColor: #f8f6f4;          /* page background */
    --boxColor: #eff0ef;           /* card / box background */
    --dark-brand-color: #202020;   /* dark bands, breadcrumbs, footer box */
    --brand-color: #6eae3b;        /* PRC green */
    --brand-dark: #5a9430;
    --primaryColor: #404742;       /* headings / primary text */
    --title-2-color: #292836;      /* sub-headings */
    --secendaryColor: #5e5e5e;     /* body copy */
    --border-radius: 5px;
    --nav-h: 82px;
    --container: 1200px;
    --font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

:root.dark-mode {
    --bodyColor: #151515;
    --boxColor: #1e1e1e;
    --primaryColor: #e4e6e4;
    --title-2-color: #ebebeb;
    --secendaryColor: #bcbcbc;
    --brand-color: rgba(110, 174, 59, .92);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--primaryColor);
    background-color: var(--bodyColor);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection { color: var(--bodyColor); background-color: var(--brand-color); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; color: var(--primaryColor); line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--secendaryColor); font-size: 16px; line-height: 32px; font-weight: 400; }
a { color: var(--brand-color); text-decoration: none; }
a:hover, a:focus { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
svg.bi { display: inline-block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.section { padding: 3rem 0; }
.section--tight { padding: 1.5rem 0; }
.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-2 { margin-top: .5rem; margin-bottom: .5rem; }

/* Typography scale (Techida .title / .title-2 / .pretitle) */
.title { color: var(--primaryColor); font-size: 45px; font-weight: 700; position: relative; text-transform: capitalize; line-height: 1.2; }
.title-2 { color: var(--title-2-color); font-size: 26px; font-weight: 700; position: relative; text-transform: capitalize; }
.pretitle { text-transform: uppercase; font-weight: 700; font-size: 16px; color: var(--brand-color); margin-bottom: .5rem; }
.unique-text { color: var(--brand-color); }
.heading { margin-bottom: 1.5rem; }
.heading .title { margin-bottom: .75rem; }
.heading > p { max-width: 58%; }
.heading--center { text-align: center; }
.heading--center > p { margin-left: auto; margin-right: auto; }

/* Grid helpers (in place of the template's Bootstrap grid) */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--tight { gap: .5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--border-radius); width: 100%; }
.split__body > .title { margin-bottom: 1rem; }
.split__body > p { max-width: 90%; }

/* ---------- boxes ---------- */
.box {
    background-color: var(--boxColor);
    padding: 20px;
    border-radius: var(--border-radius);
    position: relative;
    height: 100%;
    z-index: 1;
    transition: color 300ms ease-in-out;
}
.box.box-hover::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background-color: var(--brand-color);
    border-radius: var(--border-radius);
    transform: scaleX(0); transform-origin: left;
    transition: transform 400ms ease-in-out;
}
.box.box-hover:hover::before, .box.box-hover:focus-within::before { transform: scaleX(1); }
.box.box-hover:hover, .box.box-hover:hover * { color: #f9f9f9; }
.box.box-hover:hover p, .box.box-hover:hover li { color: #def3de; }
.box.box-hover:hover .team-card__photo--mono { background: rgba(255,255,255,.18); }

/* ---------- buttons ---------- */
.btn, .btn-sec {
    border: 1px solid var(--brand-color);
    background: var(--brand-color);
    color: var(--bodyColor);
    font-family: var(--font);
    font-weight: 700;
    border-radius: 40px;
    padding: 8px 25px;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .4em;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: .5px;
    outline: none;
    transition: .8s all ease;
    cursor: pointer;
    z-index: 1;
    line-height: 1.5;
}
.btn-sec { background-color: var(--boxColor); color: var(--primaryColor); }
.btn::before, .btn-sec::before {
    content: "";
    position: absolute; top: 50%; left: 50%; z-index: -1;
    width: 100%; height: 0%;
    background: var(--boxColor);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all .6s ease;
}
.btn-sec::before { background: var(--brand-color); }
.btn:hover::before, .btn-sec:hover::before { height: 380%; }
.btn:hover { color: var(--primaryColor); }
.btn-sec:hover { color: var(--bodyColor); }
.btn--sm { font-size: 16px; padding: 6px 18px; }
.btn:focus-visible, .btn-sec:focus-visible { outline: 3px solid var(--brand-color); outline-offset: 3px; }

.learn-more {
    text-transform: capitalize;
    color: var(--brand-color);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35em;
}
.learn-more .bi { font-size: 22px; transition: transform .25s ease; }
.learn-more:hover .bi { transform: translateX(4px); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--dark-brand-color); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 0; }

/* ---------- preloader ---------- */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    background-color: var(--bodyColor);
    transition: opacity .4s ease, visibility .4s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__track { position: relative; width: 220px; height: 90px; }
.preloader__dot {
    position: absolute; top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px;
    border-radius: 50%; background: var(--brand-color);
    animation: preDot 1.2s ease-in-out infinite alternate;
}
.preloader__dot--soft {
    background: radial-gradient(circle at center, var(--brand-color) 66%, rgba(110,174,59,.55) 78%, rgba(110,174,59,.15) 100%);
    animation-direction: alternate-reverse;
}
@keyframes preDot { from { transform: translateX(-60px); } to { transform: translateX(60px); } }

/* ---------- scroll-to-top progress ring ---------- */
#progress {
    position: fixed; bottom: 20px; right: 10px; z-index: 800;
    width: 70px; height: 70px; border-radius: 50%;
    display: none; place-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,.2); cursor: pointer;
    background: conic-gradient(var(--brand-color) 0%, #d7d7d7 0%);
    border: 0; padding: 0;
}
#progress.is-visible { display: grid; }
#progress-value {
    display: grid; place-items: center;
    width: calc(100% - 15px); height: calc(100% - 15px);
    border-radius: 50%; background-color: var(--bodyColor);
    font-size: 32px; color: var(--brand-color);
}

/* ---------- navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: .5rem 0;
    transition: background-color .6s ease, box-shadow .6s ease;
}
.navbar.sticky { background-color: var(--boxColor); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: calc(var(--nav-h) - 1rem); }
.navbar__brand img { height: 50px; width: auto; }
.navbar__toggler {
    display: none; background: none; border: 0; padding: .25rem; cursor: pointer;
    color: var(--title-2-color); font-size: 30px; line-height: 1;
}
.navbar__collapse { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; flex: 1; }
.navbar__nav { display: flex; align-items: center; gap: .25rem; }
.nav-item { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: .3em;
    padding: .5rem .75rem;
    font-weight: 600; text-transform: capitalize; font-size: 16px;
    color: var(--secendaryColor);
    transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--brand-color); }
.nav-link .bi { font-size: .8em; transition: transform .2s ease; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 230px;
    background-color: var(--boxColor);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    padding: .5rem 0; margin-top: .35rem;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-item.dropdown:hover > .dropdown-menu, .nav-item.dropdown:focus-within > .dropdown-menu, .nav-item.dropdown.show > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.dropdown:hover > .nav-link .bi, .nav-item.dropdown.show > .nav-link .bi { transform: rotate(180deg); }
.dropdown-item { display: block; padding: .5rem 1rem; color: var(--title-2-color); text-transform: capitalize; font-weight: 500; white-space: nowrap; transition: color .2s ease, padding-left .2s ease; }
.dropdown-item:hover, .dropdown-item.active { color: var(--brand-color); padding-left: 1.25rem; }
.navbar__actions { display: flex; align-items: center; }
.navbar__actions .btn { font-size: 18px; padding: 6px 22px; }
.switch-button {
    width: 45px; height: 45px; margin-left: 10px;
    border-radius: 50%; border: .5px solid var(--brand-color);
    background-color: var(--boxColor); color: var(--primaryColor);
    display: grid; place-items: center; cursor: pointer; font-size: 18px;
}
.switch-button .bi--sun { display: none; }
:root.dark-mode .switch-button .bi--sun { display: inline-block; }
:root.dark-mode .switch-button .bi--moon { display: none; }
:root.dark-mode .navbar__brand img,
:root.dark-mode .footer .logo img { filter: brightness(1.08); }
/* In dark mode the dark bands sit on a near-black page, so give them a faint edge. */
:root.dark-mode .counter-up { border-top: 1px solid #2c2d2c; border-bottom: 1px solid #2c2d2c; }
:root.dark-mode .footer { border-top: 1px solid #2c2d2c; }
:root.dark-mode .footer .box { background-color: #232423; }

/* ---------- hero (home) ---------- */
.hero {
    min-height: clamp(560px, 100vh, 960px); position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 3rem;
}
#particles-js { position: absolute; inset: 0; z-index: 0; }
#particles-js canvas { display: block; width: 100%; height: 100%; }
.hero > .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2rem; align-items: center; }
.hero .hero-text .title { line-height: 65px; font-size: 52px; }
.hero .hero-text .title .unique-text { display: block; }
.hero .hero-text p { max-width: 92%; }
.hero-icons { display: flex; gap: .75rem; margin: .75rem 0; }
.hero-icons a {
    width: 36px; height: 36px; display: flex; justify-content: center; align-items: center;
    border-radius: var(--border-radius); background-color: var(--boxColor); color: var(--secendaryColor); font-size: 20px;
    transition: background-color .2s ease, color .2s ease;
}
.hero-icons a:hover { background-color: var(--brand-color); color: var(--boxColor); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.hero-image { text-align: center; }
.hero-img {
    display: inline-block; max-width: 620px; width: 100%;
    transform-style: preserve-3d; will-change: transform;
}
/* Idle float lives on an inner wrapper so it composes with the JS tilt on the outer one. */
.hero-img__float { animation: heroFloat 6s ease-in-out infinite; will-change: transform; }
.hero-img.is-tilting .hero-img__float { animation-play-state: paused; }
.hero-img img {
    width: 100%;
    filter: drop-shadow(0 22px 28px rgba(0,0,0,.18));
    transition: filter .5s ease;
}
.hero-img.is-tilting img { filter: drop-shadow(0 44px 48px rgba(0,0,0,.26)); }
@keyframes heroFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
    50% { transform: translate3d(0, -16px, 0) rotate(-1.2deg); }
}

/* ---------- section: services (box-service) ---------- */
.box-service .box-icon { margin: .5rem 0; }
.box-service .box-icon .bi { color: var(--brand-color); font-size: 4rem; stroke-width: 1.6; }
.box-service .box-icon img { width: 4rem; height: 4rem; object-fit: contain; }
.box-service .title-2 { margin: .5rem 0; }
.box-service .learn-more { margin-top: .5rem; }
.box-service ul.sub-list { margin: 0 0 .75rem; }
.box-service ul.sub-list li { color: var(--secendaryColor); font-weight: 500; padding: .2rem 0; display: flex; align-items: center; gap: .5rem; }
.box-service ul.sub-list .bi { color: var(--brand-color); font-size: 1.1em; }

/* ---------- section: about (icon boxes, bars) ---------- */
.about .box { display: flex; flex-direction: row; align-items: center; padding: 15px; gap: 1rem; }
.about .box .bi { font-size: 35px; color: var(--brand-color); flex: none; }
.about .box .title-2 { font-size: 18px; margin: 0; }

/* ---------- section: numbers ---------- */
.counter-up { padding: 60px 0; background-color: var(--dark-brand-color); color: #f9f9f9; text-align: center; }
.counter-up .stat { padding: .5rem 0; }
.counter-up .bi { font-size: 50px; color: var(--brand-color); stroke-width: 1.5; }
.counter-up .counter { font-size: 50px; font-weight: 700; color: var(--brand-color); margin: 0; line-height: 1.2; }
.counter-up .title-2 { color: #f9f9f9; font-size: 22px; }
.counter-up__heading { margin-bottom: 2rem; font-size: 28px; }
.counter-up__grid--1 { grid-template-columns: 1fr; }
.counter-up__grid--2 { grid-template-columns: repeat(2, 1fr); }
.counter-up__grid--3 { grid-template-columns: repeat(3, 1fr); }
.counter-up__grid--5 { grid-template-columns: repeat(5, 1fr); }
.counter-up__grid--6 { grid-template-columns: repeat(3, 1fr); }

/* ---------- section: why us ---------- */
.why-choose-us .box h1 { font-size: 50px; color: var(--brand-color); font-weight: 700; margin: 1.5rem 0; }
.why-choose-us .box .title-2 { margin: .5rem 0; }
.why-choose-us .box img { border-radius: var(--border-radius); aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1rem; }

/* ---------- CTA band (green box) ---------- */
.cta .box { background-color: var(--brand-color); color: #f3f3f3; text-align: center; padding: 3rem 2rem; }
.cta .box .title { color: #f9f9f9; margin-bottom: .75rem; }
.cta .box p { color: #e6f4e0; max-width: 760px; margin: 0 auto 1.5rem; font-size: 18px; }
.cta .box .btn { background-color: var(--bodyColor); color: var(--brand-color); border-color: var(--bodyColor); }
.cta .box .btn::before { background: var(--dark-brand-color); }
.cta .box .btn:hover { color: #f9f9f9; }

/* ---------- breadcrumbs band (inner-page hero) ---------- */
.breadcrumbs {
    position: relative; overflow: hidden;
    background: var(--dark-brand-color);
    min-height: 40px; margin-top: var(--nav-h);
    color: var(--bodyColor);
    padding: 3rem 0;
}
.breadcrumbs--image { background-size: cover; background-position: center; }
.breadcrumbs--image::before { content: ""; position: absolute; inset: 0; background: rgba(32,32,32,.82); }
.breadcrumbs > .container { position: relative; z-index: 1; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0 0 10px; margin: 0; font-size: 14px; text-transform: uppercase; }
.breadcrumbs ol a { color: #f8f6f4; transition: .3s; }
.breadcrumbs ol a:hover { color: var(--brand-color); }
.breadcrumbs ol li + li { padding-left: 10px; color: #f9f9f9; }
.breadcrumbs ol li + li::before { display: inline-block; padding-right: 10px; color: #f8f6f4; content: "/"; }
.breadcrumbs .title { color: #eaf0ec; margin-bottom: .5rem; }
.breadcrumbs p { color: #b6b6b6; max-width: 80%; margin: 0; }
.breadcrumbs .tagline { color: #cfe7c0; font-style: italic; margin-top: .5rem; }

/* ---------- rich content ---------- */
.content h2, .content h3, .content h4 { color: var(--title-2-color); text-transform: capitalize; }
.content h2 { font-size: 30px; margin: 2rem 0 .75rem; }
.content h3 { font-size: 22px; margin: 1.5rem 0 .5rem; }
.content h4 { font-size: 18px; margin: 1.25rem 0 .5rem; color: var(--brand-color); }
.content ul, .content ol { padding-left: 1.25rem; margin: 0 0 1rem; color: var(--secendaryColor); line-height: 30px; }
.content ul { list-style: disc; }
.content ol { list-style: decimal; }
.content img { border-radius: var(--border-radius); margin: 1rem 0; }
.content a { text-decoration: underline; }
.content a.btn, .content a.btn-sec, .content a.learn-more { text-decoration: none; }
.content blockquote {
    margin: 1.5rem 0; padding: 1.25rem 1.5rem;
    background: var(--boxColor); border-left: 4px solid var(--brand-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 18px; font-style: italic;
}
.content blockquote p { color: var(--primaryColor); }
.content blockquote p:last-child { margin-bottom: 0; font-style: normal; font-weight: 700; color: var(--brand-color); }
/* Legacy WordPress wrappers imported into some blocks */
.content .row, .content .col, .content .col-inner, .content .section-content, .content .text { display: block; width: auto; margin: 0; padding: 0; }

/* ---------- service section (elemental) ---------- */
.service-section .split { align-items: start; }
.service-section .split__body .title { font-size: 34px; }
.check-list li { position: relative; display: flex; gap: .6rem; padding: .4rem 0; color: var(--secendaryColor); font-size: 16px; line-height: 28px; }
.check-list .bi { color: var(--brand-color); font-size: 20px; margin-top: 4px; }

/* ---------- three column (elemental) ---------- */
.three-column .box img { border-radius: var(--border-radius); aspect-ratio: 14 / 9; object-fit: cover; margin-bottom: 1rem; }
.three-column .box .title-2 { font-size: 22px; }
.three-column .box p:last-child { margin-bottom: 0; }

/* ---------- team (elemental) ---------- */
.team .box { padding: 0 0 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.team .team-img { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--border-radius) var(--border-radius) 0 0; }
.team .team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team .box:hover .team-img img { transform: scale(1.04); }
.team .team-card__photo--mono {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-dark)); color: #fff;
    font-weight: 800; font-size: 3.5rem; letter-spacing: .04em;
}
.team .box .title-2 { font-size: 22px; margin: 1rem 1rem .25rem; }
.team .box h6 { font-size: 15px; font-weight: 500; color: var(--secendaryColor); margin: 0 1rem .5rem; }
.team .box .learn-more { font-size: 16px; }
.team-card--clickable { cursor: pointer; }
.team-card--clickable:focus-visible { outline: 3px solid var(--brand-color); outline-offset: 3px; }

/* Team member bio modal */
.team-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.team-modal[hidden] { display: none; }
.team-modal__overlay { position: absolute; inset: 0; background: rgba(20,20,20,.7); cursor: pointer; }
.team-modal__dialog {
    position: relative; width: min(820px, 100%); max-height: min(86vh, 700px); overflow-y: auto;
    background: var(--bodyColor); border-radius: var(--border-radius); padding: 2.25rem; box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.team-modal__close {
    position: absolute; top: .75rem; right: .75rem; width: 2.4rem; height: 2.4rem;
    border: 0; border-radius: 50%; background: var(--boxColor); color: var(--primaryColor);
    font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.team-modal__close:hover { background: var(--brand-color); color: #fff; }
.team-modal__grid { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.team-modal__aside { text-align: center; }
.team-modal__photo img, .team-modal__photo .team-card__photo--mono {
    width: 180px; height: 180px; border-radius: var(--border-radius); object-fit: cover; margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-dark)); color: #fff; font-weight: 800; font-size: 2.6rem;
}
.team-modal__name { margin: 0 0 .15rem; font-size: 22px; color: var(--title-2-color); text-transform: capitalize; }
.team-modal__role { margin: 0; color: var(--brand-color); font-weight: 600; font-size: 15px; }
.team-modal__bio p:last-child { margin-bottom: 0; }
body.team-modal-open { overflow: hidden; }

/* ---------- contact ---------- */
.contact .info { display: flex; align-items: center; gap: 1.25rem; margin: 1.5rem 0; }
.contact .info .bi { font-size: 30px; color: var(--brand-color); stroke-width: 1.8; }
.contact .info h5 { color: var(--secendaryColor); font-size: 20px; font-weight: 600; margin: 0; }
.contact .info h5 a { color: inherit; }
.contact .info h5 a:hover { color: var(--brand-color); }
.contact .info h5 small { display: block; font-size: 14px; font-weight: 500; color: var(--brand-color); text-transform: uppercase; letter-spacing: .04em; }
.contact .locations { margin-top: 2rem; }
.contact .locations li { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; color: var(--secendaryColor); font-size: 17px; font-weight: 500; }
.contact .locations .bi { color: var(--brand-color); }
.contact .content { margin-bottom: 1.5rem; }

/* SilverStripe form markup styled like the template's contact form */
form fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
form .field { margin-bottom: .75rem; }
form label.left { display: block; font-size: 14px; font-weight: 600; color: var(--secendaryColor); margin: 0 0 .3rem .25rem; text-transform: capitalize; }
form input[type=text], form input[type=email], form input[type=tel], form textarea, form select {
    width: 100%; padding: 15px;
    outline: none; border: 1px solid transparent; box-shadow: none;
    background-color: var(--boxColor); border-radius: var(--border-radius);
    color: var(--title-2-color); font: inherit; font-size: 16px;
    transition: border-color .2s ease;
}
form input:focus, form textarea:focus, form select:focus { border-color: var(--brand-color); background-color: var(--boxColor); }
form textarea { min-height: 180px; resize: vertical; }
form .btn-toolbar { margin-top: .75rem; }
form input[type=submit], form button[type=submit] {
    border: 1px solid var(--brand-color); background: var(--brand-color); color: var(--bodyColor);
    font-family: var(--font); font-weight: 700; border-radius: 40px; padding: 8px 25px; font-size: 20px;
    text-transform: capitalize; letter-spacing: .5px; cursor: pointer; transition: .3s all ease;
}
form input[type=submit]:hover, form button[type=submit]:hover { background: var(--boxColor); color: var(--primaryColor); }
.message { padding: 1rem 1.25rem; border-radius: var(--border-radius); margin-bottom: 1.25rem; font-weight: 500; }
.message.good { background-color: #0d9700; color: #f9f9f9; }
.message.bad, .message.error, .message.required, .message.validation { background-color: #8b0500; color: #f9f9f9; }
form .field .message.required, form .field .message.validation { display: inline-block; padding: .3rem .7rem; font-size: 13px; margin: .35rem 0 0; }
/* Honeypot: off-screen for people, present for bots */
form .field.text:has(> .middleColumn > .hp-field), form .field.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile CAPTCHA */
form .field.turnstile { margin: 1rem 0 .5rem; }
form .field.turnstile label.left { display: none; }
form .field.turnstile .cf-turnstile { min-height: 65px; }
form .field.turnstile .message.required, form .field.turnstile .message.validation { display: block; margin-top: .5rem; }

/* ---------- footer ---------- */
.footer { background-color: #1c1d1c; color: #ddd; margin-top: 3rem; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3rem 0 1.5rem; align-items: start; }
.footer .box { background-color: var(--dark-brand-color); }
.footer .box .logo img { width: 60%; margin: .5rem 0 1rem; }
.footer .box p { color: #a2a1a1; font-size: 15px; line-height: 28px; }
.footer .box h4 { color: #b6b6b6; margin: .5rem 0; }
.footer .social { display: flex; gap: .5rem; }
.footer .social .icon { color: #fff; background-color: var(--brand-color); width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; font-size: 18px; transition: transform .2s ease; }
.footer .social .icon:hover { transform: translateY(-3px); }
.footer__col { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 0; }
.footer h4 { color: #b6b6b6; font-size: 18px; font-weight: 600; text-transform: capitalize; margin: 0; }
.footer__col ul { display: flex; flex-direction: column; gap: .9rem; }
.footer__col li { display: flex; align-items: center; gap: .5rem; color: #ddd; font-size: 14px; }
.footer__col li .bi { font-size: 12px; color: var(--brand-color); }
.footer__col li a { font-size: 14px; font-weight: 400; text-transform: capitalize; color: #ddd; transition: color .2s ease, padding-left .2s ease; }
.footer__col li a:hover { color: var(--brand-color); padding-left: 4px; }
.footer hr { border: 0; border-top: 1px solid #3a3b3a; margin: 0; }
.copyrights { padding: 1.25rem 0; }
.copyrights__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.copyrights p { margin: 0; color: #d8d8d8; font-size: 14px; }
.copyrights a { color: #d8d8d8; font-size: 14px; }
.copyrights a:hover { color: var(--brand-color); }

/* ---------- 404 ---------- */
.fzf { width: 100%; min-height: 70vh; display: grid; place-items: center; padding: calc(var(--nav-h) + 2rem) 1rem 3rem; }
.fzf .content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.fzf .content img { width: min(70%, 620px); }
.fzf .content h1 { font-size: 60px; text-transform: uppercase; font-weight: 700; margin: 1rem 0; }

/* ---------- scroll animations (AOS-style attributes) ---------- */
[data-aos] { opacity: 0; transition: opacity .5s ease, transform .5s ease; will-change: opacity, transform; }
[data-aos="fade-up"] { transform: translateY(32px); }
[data-aos="fade-down"] { transform: translateY(-32px); }
[data-aos="fade-left"] { transform: translateX(48px); }
[data-aos="fade-right"] { transform: translateX(-48px); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .hero .hero-text .title { font-size: 44px; line-height: 56px; }
}
@media (max-width: 992px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .counter-up__grid--3, .counter-up__grid--5, .counter-up__grid--6 { grid-template-columns: repeat(2, 1fr); }
    .split, .split--reverse { grid-template-columns: 1fr; gap: 2rem; }
    .split--reverse .split__media { order: 0; }
    .split__body > p, .heading > p, .hero .hero-text p { max-width: none; }
    .hero__grid { grid-template-columns: 1fr; text-align: left; }
    .hero { min-height: 0; padding-top: calc(var(--nav-h) + 2rem); }
    .hero-img { max-width: 420px; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .breadcrumbs { margin-top: var(--nav-h); }
    .breadcrumbs p { max-width: none; }

    /* collapsed navbar */
    .navbar { background-color: var(--boxColor); }
    .navbar__toggler { display: block; }
    .navbar__collapse {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background-color: var(--boxColor); padding: .5rem 1rem 1.25rem;
        box-shadow: 0 14px 24px rgba(0,0,0,.14);
        max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
        display: none;
    }
    .navbar__collapse.show { display: flex; }
    .navbar__nav { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-link { padding: .75rem .25rem; justify-content: space-between; }
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        margin: 0 0 .5rem .75rem; padding: 0; border-left: 2px solid var(--brand-color);
        display: none;
    }
    .nav-item.dropdown.show > .dropdown-menu { display: block; }
    .nav-item.dropdown:hover > .dropdown-menu:not(.show) { display: none; }
    .nav-item.dropdown.show > .dropdown-menu { display: block; }
    .navbar__actions { justify-content: flex-start; padding-top: .75rem; }
}
@media (max-width: 768px) {
    .btn, .btn-sec { padding: 6px 18px; font-size: 16px; }
    .title { font-size: 35px; }
    .title-2 { font-size: 20px; }
    .pretitle { font-size: 14px; }
    p { font-size: 15px; line-height: 28px; }
    .hero .hero-text .title { font-size: 36px; line-height: 46px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .team .grid--4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .team .team-card__photo--mono { font-size: 2.5rem; }
    .team .box .title-2 { font-size: 17px; margin: .75rem .5rem .2rem; }
    .team .box h6 { font-size: 13px; }
    .footer__grid { grid-template-columns: 1fr; }
    .counter-up .counter { font-size: 40px; }
    .team-modal__dialog { padding: 1.5rem; }
    .team-modal__grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .copyrights__inner { justify-content: center; text-align: center; }
    .fzf .content h1 { font-size: 40px; }
    #progress { width: 56px; height: 56px; }
    #progress-value { font-size: 26px; }
}

@media (max-width: 420px) {
    .team .grid--4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .preloader__dot { animation: none; }
    .btn, .btn-sec, .btn::before, .btn-sec::before, .box.box-hover::before { transition: none; }
    .hero-img__float { animation: none; }
    .hero-img img { transition: none; }
}

/* ---------- careers page ---------- */
.careers-soon__box { height: auto; max-width: 720px; margin: 1rem auto 0; padding: 3rem 2rem; text-align: center; border-top: 5px solid var(--brand-color); }
.careers-soon__box .box-icon .bi { font-size: 3.5rem; color: var(--brand-color); stroke-width: 1.5; }
.careers-soon__box .title { margin-bottom: 1rem; }
.careers-soon__box .content p:last-child { margin-bottom: 0; }
.careers-soon__box .content a { color: var(--brand-color); }
.location-card .title-2 { margin-top: .25rem; }
.location-card__address { font-style: normal; color: var(--secendaryColor); line-height: 28px; margin: 0 0 .5rem; }
.location-card__phone { margin: 0 0 .5rem; }
.location-card__phone a { color: var(--secendaryColor); font-weight: 500; }
.location-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; }
.location-card__map { font-weight: 600; text-decoration: underline; }
.location-card__closed { color: var(--secendaryColor); font-weight: 600; }
.careers-apply .heading { margin-bottom: 1rem; }
.careers-apply__intro { max-width: 900px; margin-bottom: 1.5rem; }
.careers-form-wrap { padding: 2rem; height: auto; }
.careers-thanks { display: flex; gap: 1.25rem; align-items: flex-start; height: auto; padding: 2rem; border-left: 5px solid var(--brand-color); }
.careers-thanks .bi { font-size: 2.5rem; color: var(--brand-color); flex: none; }
.careers-thanks .content p:last-child { margin-bottom: 0; }

/* Step 1 gate: pick a location before the form appears */
.careers-gate { height: auto; padding: 2rem; text-align: center; max-width: 640px; margin: 0 auto; }
.careers-gate .box-icon .bi { color: var(--brand-color); font-size: 3rem; stroke-width: 1.6; }
.careers-gate .title-2 { margin: .5rem 0; }
.careers-gate__controls { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; margin-top: 1rem; text-align: left; }
.careers-gate__controls label.left { font-size: 14px; font-weight: 600; color: var(--secendaryColor); margin: 0 0 -.4rem .1rem; }
.careers-gate__controls select { width: 100%; padding: 14px; border: 1px solid transparent; border-radius: var(--border-radius); background-color: var(--bodyColor); color: var(--title-2-color); font: inherit; font-size: 16px; }
.careers-gate__controls .btn { align-self: center; margin-top: .5rem; }
.careers-gate__controls .btn:disabled { opacity: .5; cursor: not-allowed; }
.careers-gate__controls .btn:disabled::before { display: none; }
.careers-gate__controls .btn:disabled:hover { color: var(--bodyColor); }
.careers-form-wrap[hidden] { display: none; }

/* Long form: sections, sub-sections and multi-column rows */
.careers-form .form-section { margin: 0 0 2.5rem; }
.careers-form .form-section:last-of-type { margin-bottom: 1rem; }
.careers-form .form-section__title {
    font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: #f9f9f9; background: var(--dark-brand-color); padding: .5rem .9rem; border-radius: var(--border-radius);
    margin: 0 0 1.25rem;
}
:root.dark-mode .careers-form .form-section__title { background: var(--brand-color); }
.careers-form .form-subsection { margin: 1.25rem 0 0; padding: 1rem 1rem .25rem; border: 1px dashed rgba(128,128,128,.35); border-radius: var(--border-radius); }
.careers-form .form-subsection__title { font-size: 15px; font-weight: 700; color: var(--brand-color); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .75rem; }
.careers-form .form-section__intro { margin: -.5rem 0 1rem; }
.careers-form .form-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
.careers-form .form-row--3 { grid-template-columns: repeat(3, 1fr); }
.careers-form .form-row--4 { grid-template-columns: repeat(4, 1fr); }
.careers-form .form-row > .field { min-width: 0; }
.careers-form .field { margin-bottom: 1rem; }
.careers-form label.left { font-size: 14px; font-weight: 600; color: var(--secendaryColor); margin: 0 0 .3rem .1rem; text-transform: none; }
.careers-form .description { display: block; font-size: 13px; color: var(--secendaryColor); margin-top: .3rem; line-height: 20px; }
.careers-form input[type=date], .careers-form input[type=number] {
    width: 100%; padding: 15px; outline: none; border: 1px solid transparent; background-color: var(--bodyColor);
    border-radius: var(--border-radius); color: var(--title-2-color); font: inherit; font-size: 16px;
}
.careers-form input[type=text], .careers-form input[type=email], .careers-form input[type=tel], .careers-form textarea, .careers-form select { background-color: var(--bodyColor); padding: 12px 14px; }
.careers-form textarea { min-height: 96px; }
.careers-form .optionset ul, .careers-form .checkboxset ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: .35rem 0 0; }
.careers-form .optionset li, .careers-form .checkboxset li { display: inline-flex; align-items: center; gap: .45rem; color: var(--primaryColor); font-size: 15px; }
.careers-form .optionset input, .careers-form .checkboxset input, .careers-form .field.checkbox input { width: 18px; height: 18px; accent-color: var(--brand-color); margin: 0; }
.careers-form .optionset li label, .careers-form .checkboxset li label { margin: 0; font-weight: 500; }
.careers-form .field.checkbox { display: flex; align-items: flex-start; gap: .7rem; }
.careers-form .field.checkbox label.right { font-size: 15px; font-weight: 500; color: var(--primaryColor); line-height: 24px; }
.careers-form .form-agreement { max-height: 260px; overflow-y: auto; padding: 1rem 1.25rem; margin-bottom: 1rem; background: var(--bodyColor); border-radius: var(--border-radius); border: 1px solid rgba(128,128,128,.25); }
.careers-form .form-agreement p { font-size: 14px; line-height: 24px; }
.careers-form .form-agreement p:last-child { margin-bottom: 0; }
.careers-form .form-static { padding: 12px 0; margin: 0; color: var(--primaryColor); font-weight: 500; }
.careers-form .btn-toolbar { margin-top: 1.5rem; }
.careers-form .message.validation, .careers-form .message.required { display: inline-block; padding: .3rem .7rem; font-size: 13px; margin: .35rem 0 0; }
.careers-form > .message { margin-bottom: 1.5rem; }
@media (max-width: 992px) {
    .careers-form .form-row--3, .careers-form .form-row--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .careers-form .form-row, .careers-form .form-row--3, .careers-form .form-row--4 { grid-template-columns: 1fr; }
    .careers-form-wrap { padding: 1.25rem; }
    .careers-thanks { flex-direction: column; }
}
