:root {
    --green: #b8d532;
    --green-dark: #9bb91e;
    --navy: #101d2d;
    --ink: #182434;
    --muted: #697586;
    --soft: #f4f6f2
}

* {
    box-sizing: border-box
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    line-height: 1.7
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: Manrope, sans-serif;
    font-weight: 800
}

.topbar {
    background: var(--navy);
    color: #dbe1e7;
    font-size: 12px;
    padding: 9px 0
}

.topbar .container {
    gap: 16px
}

.main-nav {
    box-shadow: 0 5px 24px #1020330c;
    padding: 12px 0
}

.navbar-brand img {
    width: 260px;
    max-height: 65px;
    object-fit: contain
}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: #243144 !important;
    padding: 12px !important
}

.nav-link:hover {
    color: var(--green-dark) !important
}

.btn-brand {
    background: var(--green);
    color: #17202a;
    border: 0;
    border-radius: 2px;
    padding: 13px 22px;
    font-weight: 800
}

.btn-brand:hover {
    background: var(--green-dark);
    color: #fff
}

.hero {
    min-height: 660px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    background: #182635 url('https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=2000&q=90') center/cover
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #101b2aef 0%, #101b2ad9 44%, #101b2a55 100%)
}

.hero-content {
    position: relative;
    padding-top: 75px;
    padding-bottom: 90px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
    color: var(--green);
    display: block;
    margin-bottom: 18px
}

.eyebrow.green {
    color: #849f14
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08;
    max-width: 850px;
    letter-spacing: -2px
}

.hero h1 em, .section-title em, .quote-cta em {
    font-style: normal;
    color: var(--green)
}

.hero p {
    max-width: 590px;
    color: #d0d6dd;
    font-size: 18px;
    margin: 25px 0 32px
}

.hero-note {
    margin-top: 55px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d4dbe2
}

.hero-note span {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--green);
    vertical-align: middle;
    margin-right: 10px
}

.hero-index {
    position: absolute;
    bottom: 35px;
    right: 5%;
    font-weight: 800;
    font-size: 22px
}

.hero-index span {
    color: var(--green);
    padding: 0 10px
}

.trust-strip {
    background: var(--green);
    padding: 23px 0
}

.trust-strip .row > div {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 700
}

.trust-strip b {
    font: 800 22px Manrope;
    color: #5e7411
}

.section-pad {
    padding: 105px 0
}

.bg-soft {
    background: var(--soft)
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.16;
    letter-spacing: -1.6px;
    margin: 0 0 22px
}

.lead-copy {
    font-size: 19px;
    font-weight: 600;
    color: #354253
}

.photo-stack {
    position: relative;
    padding: 0 35px 35px 0
}

.photo-stack:before {
    content: '';
    position: absolute;
    left: 35px;
    top: 35px;
    right: 0;
    bottom: 0;
    background: var(--green)
}

.photo-stack img {
    position: relative;
    width: 100%;
    height: 460px;
    object-fit: cover
}

.photo-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--navy);
    color: white;
    padding: 20px 28px;
    display: flex;
    flex-direction: column
}

.photo-caption strong {
    color: var(--green);
    font: 800 24px Manrope
}

.photo-caption span {
    font-size: 12px
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 25px 0
}

.feature-list i {
    color: #8eaa17;
    margin-right: 10px
}

.text-link {
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid var(--green);
    padding-bottom: 5px
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 45px
}

.section-head > p {
    max-width: 380px;
    color: var(--muted)
}

.service-card {
    height: 100%;
    background: white;
    padding: 34px;
    border: 1px solid #e6e9e3;
    position: relative;
    transition: .25s
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px #17243512;
    border-color: var(--green)
}

.service-number {
    position: absolute;
    right: 28px;
    top: 25px;
    font: 800 13px Manrope;
    color: #aab4bd
}

.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: #f0f5d9;
    color: #718b10;
    font-size: 22px;
    margin-bottom: 25px
}

.service-card h3 {
    font-size: 20px
}

.service-card p {
    font-size: 14px;
    color: var(--muted);
    min-height: 72px
}

.service-card a {
    font-size: 13px;
    font-weight: 800;
    color: #243144;
    text-decoration: none
}

.service-card a i {
    color: #91ac18;
    margin-left: 6px
}

.dark-band {
    background: var(--navy);
    color: white;
    padding: 100px 0
}

.section-head.light p {
    color: #b8c2cd
}

.section-head.light .section-title {
    color: white
}

.machine-card {
    height: 100%;
    padding: 28px;
    border: 1px solid #ffffff24;
    background: #ffffff08
}

.machine-card i {
    font-size: 24px;
    color: var(--green);
    margin-bottom: 24px
}

.machine-card h4 {
    font-size: 17px
}

.machine-card p {
    color: #aeb9c4;
    font-size: 13px;
    margin: 0
}

.process-step {
    border-top: 1px solid #cfd5cc;
    padding-top: 20px
}

.process-step span {
    font: 800 28px Manrope;
    color: #9bb91e
}

.process-step h5 {
    font-size: 15px;
    margin-top: 20px
}

.portfolio-card {
    background: white;
    border: 1px solid #e7eae4;
    height: 100%
}

.portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover
}

.portfolio-card > div:last-child {
    padding: 20px
}

.portfolio-card small {
    color: #91a91e;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800
}

.portfolio-card h5 {
    font-size: 17px;
    margin: 7px 0
}

.portfolio-placeholder {
    height: 220px;
    background: #e9eddf;
    display: grid;
    place-items: center;
    color: #9bb91e;
    font-size: 45px
}

.quote-cta {
    background: var(--navy);
    color: white;
    padding: 70px 0
}

.quote-cta h2 {
    font-size: clamp(30px, 4vw, 46px)
}

.quote-cta p {
    color: #b7c0ca;
    margin: 0
}

.contact-detail {
    display: flex;
    gap: 17px;
    margin: 25px 0
}

.contact-detail i {
    color: #8ca714;
    font-size: 21px
}

.contact-form, .quote-form-wrap {
    background: white;
    padding: 35px;
    border: 1px solid #e6eae2
}

.form-control, .form-select {
    border-radius: 2px;
    padding: 13px;
    border-color: #dce1d9
}

.form-control:focus, .form-select:focus {
    border-color: #9bb91e;
    box-shadow: 0 0 0 .2rem #b8d53230
}

.footer {
    background: #0b1521;
    color: #aeb8c4;
    padding: 75px 0 20px;
    font-size: 14px
}

.footer-logo {
    width: 245px;
    background: white;
    padding: 5px
}

.footer h5 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px
}

.footer a:not(.btn) {
    display: block;
    color: #aeb8c4;
    text-decoration: none;
    margin: 9px 0
}

.footer a:hover {
    color: var(--green)
}

.copyright {
    border-top: 1px solid #ffffff20;
    margin-top: 50px;
    padding-top: 20px;
    font-size: 12px
}

.copyright a {
    display: inline !important;
    float: right
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #20c56b;
    color: white;
    display: grid;
    place-items: center;
    font-size: 29px;
    z-index: 10;
    box-shadow: 0 8px 25px #0003
}

.detail-hero {
    padding: 100px 0;
    background: #f2f5ed
}

.detail-hero h1 {
    font-size: clamp(38px, 5vw, 60px);
    max-width: 800px
}

.detail-hero p {
    color: var(--muted);
    font-size: 18px
}

.quote-form-wrap {
    max-width: 950px;
    margin: auto;
    padding: 45px
}

.quote-form-wrap h3 {
    font-size: 20px;
    margin: 10px 0 25px
}

.quote-form-wrap label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px
}

@media (max-width: 767px) {
    .navbar-brand img {
        width: 205px
    }

    .hero {
        min-height: 600px
    }

    .hero h1 {
        letter-spacing: -1px
    }

    .hero p {
        font-size: 16px
    }

    .section-pad {
        padding: 70px 0
    }

    .section-head {
        display: block
    }

    .section-head > p {
        margin-top: 20px
    }

    .photo-stack img {
        height: 340px
    }

    .trust-strip .row > div {
        font-size: 11px
    }

    .contact-form, .quote-form-wrap {
        padding: 22px
    }

    .topbar .container span:last-child {
        display: none
    }
}

.visible {
    opacity: 1 !important;
    transform: none !important
}

.hero {
    display: block;
    padding: 0
}

.hero .carousel, .hero .carousel-inner, .hero .carousel-item {
    height: 660px
}

.hero-slide {
    height: 100%;
    position: relative;
    background: #182635 url('https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=2000&q=90') center/cover
}

.hero-content {
    padding-top: 125px;
    padding-bottom: 90px
}

.carousel-control-prev, .carousel-control-next {
    width: 7%;
    z-index: 4
}

.hero-index {
    z-index: 5
}

/* Valuable clients */
.clients-section {
    background: #fff;
}

.clients-heading {
    text-align: center;
    margin-bottom: 3.25rem;
}

.clients-heading .eyebrow {
    display: inline-block;
    margin-bottom: .65rem;
}

.clients-heading h2 {
    color: #17243a;
    font-weight: 800;
    margin: 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    align-items: stretch;
}

.client-card {
    min-height: 132px;
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.client-card:hover {
    transform: translateY(-4px);
    border-color: rgba(165, 203, 44, .55);
    box-shadow: 0 14px 34px rgba(19, 36, 58, .09);
}

.client-card img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 82px;
    object-fit: contain;
}

.client-card-name {
    color: #17243a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 575.98px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .client-card {
        min-height: 112px;
    }
}


/* Service and machinery photography */
.service-card {
    padding: 0;
    overflow: hidden;
    border-radius: 4px;
}

.service-image-wrap {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: #e9eee2;
}

.service-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.service-card:hover .service-image {
    transform: scale(1.06);
}

.service-image-placeholder, .machine-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #829b1b;
    background: linear-gradient(135deg, #f2f6e3, #dfe8c3);
    font-size: 58px;
}

.service-card .service-number {
    top: 15px;
    right: 15px;
    padding: 7px 11px;
    color: #17202a;
    background: var(--green);
    border-radius: 2px;
}

.service-card-body {
    padding: 27px 30px 30px;
}

.service-card-body p {
    min-height: 72px;
}

.machine-card {
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ffffff24;
    background: #ffffff08;
    transition: transform .25s ease, border-color .25s ease;
}

.machine-card:hover {
    transform: translateY(-5px);
    border-color: var(--green);
}

.machine-image-wrap {
    height: 205px;
    overflow: hidden;
    background: #253346;
}

.machine-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.machine-card:hover .machine-image-wrap img {
    transform: scale(1.05);
}

.machine-image-placeholder {
    color: var(--green);
    background: linear-gradient(135deg, #25384b, #17283a);
}

.machine-card-body {
    padding: 24px 26px 27px;
}

.machine-card-body h4 {
    margin-bottom: 10px;
}

.machine-card-body p {
    color: #aeb9c4;
    font-size: 13px;
    margin: 0;
}

/* Dynamic About Us and Portfolio pages */
.about-hero, .portfolio-hero, .portfolio-detail-hero {
    background: linear-gradient(115deg, #f2f5ed 0%, #fff 68%, #e8efcf 100%)
}

.about-hero h1, .portfolio-hero h1, .portfolio-detail-hero h1 {
    max-width: 850px;
    font-size: clamp(40px, 5.5vw, 66px);
    line-height: 1.08;
    letter-spacing: -1.8px
}

.about-hero h1 em, .portfolio-hero h1 em, .portfolio-detail-hero h1 em {
    color: #8ca719;
    font-style: normal
}

.about-content-card {
    display: grid;
    grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid #e7eadf
}

.about-content-card:first-child {
    padding-top: 8px
}

.about-content-card:last-child {
    border-bottom: 0
}

.about-content-reverse .about-content-image {
    order: 2
}

.about-content-image img {
    display: block;
    width: 100%;
    max-height: 390px;
    object-fit: cover;
    border-radius: 3px
}

.about-content-copy h2 {
    font: 800 clamp(25px, 3vw, 36px)/1.2 Manrope, sans-serif;
    color: var(--navy);
    margin-bottom: 20px
}

.about-content-copy p {
    color: #5c6672;
    line-height: 1.85;
    margin-bottom: 13px
}

.empty-content-panel {
    padding: 55px 30px;
    text-align: center;
    background: #f5f7f0;
    border: 1px dashed #cbd5ad;
    border-radius: 4px
}

.empty-content-panel h3 {
    color: var(--navy);
    font-weight: 800
}

.empty-content-panel p {
    color: var(--muted)
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -8px 0 38px
}

.portfolio-filters a {
    display: inline-flex;
    padding: 10px 18px;
    border: 1px solid #dfe5d6;
    color: #3d4b5b;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease
}

.portfolio-filters a:hover, .portfolio-filters a.active {
    color: #182437;
    border-color: var(--green);
    background: var(--green)
}

.portfolio-list-card {
    overflow: hidden
}

.portfolio-list-card .portfolio-image-link {
    display: block;
    overflow: hidden
}

.portfolio-list-card img {
    transition: transform .45s ease
}

.portfolio-list-card:hover img {
    transform: scale(1.045)
}

.portfolio-list-card p {
    color: var(--muted);
    font-size: 14px;
    min-height: 48px
}

.portfolio-list-card .text-link {
    font-size: 13px
}

.portfolio-detail-image {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    display: block;
    background: #eef1e9
}

.portfolio-detail-copy {
    padding-top: 42px
}

.project-info-panel {
    position: sticky;
    top: 110px;
    padding: 30px;
    border: 1px solid #e4e9dc;
    background: #f8faf5
}

.project-info-panel h3 {
    font: 800 22px Manrope, sans-serif;
    margin-bottom: 24px
}

.project-info-panel dl {
    margin-bottom: 28px
}

.project-info-panel dt {
    color: #879b29;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px
}

.project-info-panel dd {
    color: #273548;
    font-weight: 700;
    margin-bottom: 19px
}

@media (max-width: 767px) {
    .about-content-card {
        grid-template-columns:1fr;
        padding: 32px 0
    }

    .about-content-reverse .about-content-image {
        order: 0
    }

    .about-content-image img {
        max-height: 270px
    }

    .portfolio-filters {
        gap: 7px
    }

    .portfolio-filters a {
        padding: 8px 12px;
        font-size: 12px
    }

    .project-info-panel {
        position: static
    }
}
