
/* =========================================================
   FRANK & SON LANDSCAPING
   COMPLETE GLOBAL STYLESHEET
   Desktop / Tablet / Mobile
   ========================================================= */


/* =========================================================
   01. GLOBAL SETTINGS / DESIGN VARIABLES
   ========================================================= */

:root {
    /* Brand Colors */
    --color-primary: #6aaf08;
    --color-primary-hover: #5f9d07;
    --color-dark: #333333;
    --color-text: #666666;
    --color-light: #f6f6f6;
    --color-white: #ffffff;

    /* Typography */
    --font-body: 'Open Sans', sans-serif;

    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
    --font-size-h1: 4rem;
    --font-size-h2: 2.25rem;
    --font-size-h3: 1.375rem;
    --font-size-h4: 1.25rem;
    --font-size-button: 1rem;
    --font-size-navigation: 0.9375rem;

    /* Layout */
    --section-padding: 7.5rem;
    --section-padding-mobile: 4rem;

    /* Dividers */
    --divider-width: 4.375rem;
    --divider-height: 0.1875rem;

    /* Borders and Effects */
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}


/* =========================================================
   02. GLOBAL RESET / BASE STYLES
   ========================================================= */

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    display: block;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin-top: 0;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    margin-bottom: 1.25rem;
    font-size: var(--font-size-h2);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 400;
    color: var(--color-dark);
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: 400;
    color: var(--color-dark);
}

h5 {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

p {
    font-size: 1.1rem;
}

a {
    color: var(--color-primary);
    font-weight: 400;
}

a:hover,
a:focus {
    color: #222222;
    text-decoration: none;
}

ul,
ol {
    padding: 0;
    margin-top: 1rem;
}


/* =========================================================
   03. DIVIDERS
   ========================================================= */

hr {
    display: block;
    width: var(--divider-width);
    height: var(--divider-height);
    margin: 1rem auto 1.5rem;
    border: 0;
    background-color: var(--color-primary);
    opacity: 1;
}

hr.about-divider {
    display: block;
    width: 60%;
    max-width: 80%;
    height: var(--divider-height);
    margin: 1.25rem auto 2rem !important;
    float: none;
    position: static;
    background-color: var(--color-primary);
    border: 0;
}


/* =========================================================
   04. NAVIGATION
   ========================================================= */

#menu {
    padding: 1.25rem;
    transition: var(--transition);
    z-index: 1000;
}

#menu .navbar-logo {
    display: inline-block;
    padding: 0;
}

#menu .navbar-logo img {
    display: block;
    width: auto;
    max-width: 30.5rem;
    height: auto;
}

#menu.navbar-default {
    background-color: rgba(248, 248, 248, 0);
    border-color: rgba(231, 231, 231, 0);
}

#menu.navbar-default .navbar-nav > li > a {
    margin: 0.5625rem 1.125rem 0;
    padding: 0.625rem 0.25rem;
    border-radius: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.75);
    transition: color 0.3s ease;
}

#menu.navbar-default .navbar-nav > li > a:hover,
#menu.navbar-default .navbar-nav > li > a:focus {
    color: var(--color-primary);
}

#menu.navbar-default .navbar-nav > li.active > a,
#menu.navbar-default .navbar-nav > li.active > a:hover,
#menu.navbar-default .navbar-nav > li.active > a:focus {
    color: var(--color-primary) !important;
    background-color: transparent;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.75);
}

/* Navigation Dropdown */

#menu .dropdown-menu {
    min-width: 13rem;
    margin-top: 0;
    padding: 0.5rem 0;
    border: 0;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#menu .dropdown-menu > li > a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: var(--color-dark);
    font-size: var(--font-size-navigation);
    white-space: nowrap;
}

#menu .dropdown-menu > li > a:hover,
#menu .dropdown-menu > li > a:focus {
    color: var(--color-primary);
    background: var(--color-light);
}

/* Desktop Dropdown Hover */

@media (min-width: 48rem) {
    #menu .navbar-nav > li.dropdown:hover > .dropdown-menu {
        display: block;
    }

    #menu .navbar-nav > li.dropdown > a .caret {
        margin-left: 0.35rem;
    }
}

/* Scrolled Navigation */

.on {
    padding: 0.9375rem 0 !important;
    background-color: var(--color-dark) !important;
}

/* Navigation Toggle */

.navbar-toggle {
    border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: var(--color-white);
    border-color: var(--color-white);
}

.navbar-default .navbar-toggle:hover > .icon-bar {
    background-color: var(--color-primary);
}


/* =========================================================
   05. BUTTONS
   ========================================================= */

.btn-custom {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--font-size-button);
    font-weight: 400;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
}

.btn-custom:active,
.btn-custom.active {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    background-image: none;
    color: var(--color-primary);
    outline: 0;
    box-shadow: none;
}

/* Outline Button */

.btn-outline-primary {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--color-white);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    font-size: var(--font-size-button);
    font-weight: 400;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.focus {
    border-color: #666666;
    background-color: #666666;
    color: var(--color-white);
    text-decoration: none;
}

.btn-outline-primary:active,
.btn-outline-primary.active {
    border-color: #666666;
    background-color: #666666;
    background-image: none;
    color: var(--color-white);
    outline: 0;
    box-shadow: none;
}

/* Button Focus */

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
}


/* =========================================================
   06. HERO / HEADER
   ========================================================= */

.site-header {
    position: relative;
    width: 100%;
}

.intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(36rem, 75vh, 48rem);
    background-color: #333333;
    overflow: hidden;
}

.intro > .hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.intro .overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: inherit;
    padding: 8rem 1.5rem 4rem;
}

header .intro-text {
    width: 100%;
    padding: 0;
    text-align: center;
}

.hero-content {
    display: block;
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    padding: 2.25rem 3rem;
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.5);
}

.intro h1 {
    margin: 0 0 1rem;
    color: var(--color-white);
    font-size: clamp(2.25rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.0625rem;
    text-transform: none;
}

.intro p {
    margin: 1.25rem 0 1.5rem;
    color: var(--color-white);
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    line-height: 1.6;
}

.intro .btn-custom {
    margin-top: 1rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.4);
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.4);
}


/* =========================================================
   07. GENERAL CONTENT SECTIONS
   ========================================================= */

.content-section {
    position: relative;
    display: block;
    width: 100%;
    clear: both;
}

.section-title {
    margin-bottom: 4.375rem;
}

.section-title p {
    color: var(--color-text);
    font-size: 1.125rem;
}

.content-section hr,
.section-title hr {
    width: 20%;
    height: 2px;
    margin: 1.5rem auto;
    border: none;
    background-color: var(--color-primary);
    opacity: 1;
}


/* =========================================================
   08. ABOUT SECTION
   ========================================================= */

.section-about {
    padding: var(--section-padding) 0 5rem;
    background: var(--color-light);
}

.section-about h2 {
    font-size: var(--font-size-h2);
}

.section-about h3 {
    margin: 1.25rem 0 0;
    font-size: var(--font-size-h3);
    font-weight: 600;
}

.section-about .about-text span {
    color: #70ad47;
    font-weight: 700;
    letter-spacing: -0.0625rem;
}

.section-about hr {
    width: 50%;
    height: 2px;
    margin: 1.5rem auto;
    border: 0;
    background: var(--color-primary);
}

.section-about hr.about-divider {
    margin-left: auto !important;
    margin-right: auto !important;
}

.section-about .btn {
    margin-top: 2.5rem;
}

.section-about .about-media img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

.section-about .about-text,
.section-about .about-desc {
    margin-bottom: 2.5rem;
}

.section-about p {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Optional content lists */

.section-about .content-list {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.section-about .content-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
    font-size: 1rem;
    line-height: 1.65;
}


/* =========================================================
   09. HOMEPAGE SERVICES SECTION
   Applies to .section-services only.
   Does not affect service detail page cards.
   ========================================================= */

.section-services {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.section-services .service-media {
    margin: 0.625rem;
}

.section-services .service-media img {
    position: relative;
    width: 14.0625rem;
    height: 14.0625rem;
    border: 0.625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    object-fit: cover;
}

.section-services .service-desc {
    margin: 0.625rem 0.625rem 2.5rem;
    text-align: center;
}

.section-services h2,
.section-services h3 {
    color: var(--color-white);
}

.section-services h2 {
    font-size: var(--font-size-h2);
}

.section-services h3 {
    padding: 0.3125rem 0;
    font-size: 1.5rem;
    font-weight: 400;
}

.section-services p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-body);
}

.section-services a {
    color: var(--color-white);
    font-weight: 400;
}

.section-services a:hover,
.section-services a:focus {
    color: #222222;
}

.section-services hr {
    width: 20%;
    height: 2px;
    margin: 1.5rem auto;
    border: 0;
    background: var(--color-white);
}


/* =========================================================
   10. GALLERY SECTION
   ========================================================= */

.section-gallery {
    padding: 6.25rem 0;
    background: var(--color-light);
}

.section-gallery .categories {
    margin-bottom: 2rem;
    text-align: center;
}

.section-gallery ul.cat,
.section-gallery ol.type {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-gallery ul.cat li,
.section-gallery ol.type li {
    display: inline-block;
    margin: 0 0.4rem 0.75rem;
}

.section-gallery ol.type li a,
.section-gallery .gallery-filter {
    display: inline-block;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    font-size: var(--font-size-button);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.section-gallery ol.type li a:hover,
.section-gallery ol.type li a:focus,
.section-gallery ol.type li a:focus-visible,
.section-gallery .gallery-filter:hover,
.section-gallery .gallery-filter:focus,
.section-gallery .gallery-filter:focus-visible {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    text-decoration: none;
    outline: none;
}

.section-gallery ol.type li a.active,
.section-gallery ol.type li a.active:hover,
.section-gallery ol.type li a.active:focus,
.section-gallery .gallery-filter.active {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    color: var(--color-primary) !important;
}

.portfolio-item {
    margin: 0.9375rem 0;
}

.portfolio-item .hover-bg {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.portfolio-item .hover-bg img {
    display: block;
    width: 100%;
}

.hover-bg .hover-text {
    position: absolute;
    inset: 0;
    padding-top: 30%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    text-align: center;
    opacity: 0;
    transition: all 0.5s;
}

.hover-bg .hover-text > h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s;
}

.hover-bg:hover .hover-text {
    opacity: 1;
}

.hover-bg:hover .hover-text > h4 {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   11. TESTIMONIALS SECTION
   ========================================================= */

.section-testimonials {
    position: relative;
    display: block;
    width: 100%;
    min-height: 25rem;
    height: auto;
    padding: 0;
    overflow: hidden;
    background: var(--color-dark);
    color: var(--color-white);
    isolation: isolate;
}

.section-testimonials .testimonial-bg-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
    pointer-events: none;
}

.section-testimonials .testimonial-overlay {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 25rem;
    height: auto;
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.35);
}

.section-testimonials .container {
    position: relative;
    z-index: 2;
}

.section-testimonials .section-title {
    display: block;
    margin-bottom: 2rem;
}

.section-testimonials h2 {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 600;
}

.section-testimonials .section-title p {
    color: var(--color-white);
    font-size: 1rem;
    line-height: 1.7;
}

.section-testimonials hr {
    width: 20%;
    height: 2px;
    margin: 1.5rem auto;
    border: 0;
    background: var(--color-white);
}

.section-testimonials #testimonial {
    display: block !important;
    width: 100%;
    min-height: 1px;
    visibility: visible;
}

.section-testimonials #testimonial .item {
    display: block;
    width: 100%;
    max-width: 53.125rem;
    margin: 0 auto;
    padding: 1.25rem;
    text-align: center;
    visibility: visible;
}

.section-testimonials #testimonial .item p {
    display: block;
    color: var(--color-white);
    opacity: 1;
    visibility: visible;
}

.section-testimonials #testimonial .item p:first-child {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
}

.section-testimonials #testimonial .item .testimonial-author {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.section-testimonials #testimonial .owl-wrapper-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section-testimonials #testimonial .owl-item {
    float: left;
    min-height: 1px;
}

.section-testimonials .owl-controls {
    display: block;
    margin-top: 1.25rem;
    visibility: visible;
}

.section-testimonials .owl-theme .owl-controls .owl-page span {
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    margin: 0.3125rem 0.4375rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.5s;
}

.section-testimonials .owl-theme .owl-controls .owl-page.active span,
.section-testimonials .owl-theme .owl-controls.clickable .owl-page:hover span {
    border-color: var(--color-white);
    background: var(--color-white);
}


/* =========================================================
   12. CONTACT SECTION
   ========================================================= */

.section-contact {
    padding: 6.25rem 0;
    background: var(--color-light);
}

.section-contact form {
    margin-top: 2.5rem;
    padding: 0;
}

.section-contact h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-contact .text-danger {
    color: #cc0033;
    text-align: left;
}

label {
    float: left;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
}

.section-contact .form-control {
    display: block;
    width: 100%;
    padding: 1.25rem;
    border: 0.0625rem solid #dddddd;
    border-radius: 0;
    background: var(--color-white);
    color: #444444;
    font-size: 1rem;
    line-height: 1.42857143;
    box-shadow: none;
}

.section-contact .form-control:focus {
    outline: 0;
    box-shadow: 0 0 0.9375rem #dddddd;
}

.section-contact .contact-info {
    margin-bottom: 1.875rem;
}

.section-contact .contact-info hr {
    background: #dddddd;
}

.section-contact .contact-item {
    margin: 1.25rem 0 2.5rem;
}

.section-contact hr {
    width: 20%;

    height: 2px;
    margin: 1.5rem auto;
    border: 0;
    background: var(--color-primary);
}


/* =========================================================
   13. FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    padding: 1.875rem 0 1.25rem;
    clear: both;
    background: var(--color-dark);
}

.site-footer h3 {
    margin-bottom: 1.25rem;
    color: #1e7a46;
    font-size: 1.125rem;
    font-weight: 400;
    text-transform: uppercase;
}

.site-footer .social {
    margin: 0.625rem 0 3.125rem;
}

.site-footer .social ul {
    padding: 0;
    list-style: none;
}

.site-footer .social ul li {
    display: inline-block;
    margin: 0 1.25rem;
}

.site-footer .social i.fa {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.625rem;
    border-radius: 50%;
    background: #444444;
    color: var(--color-primary);
    font-size: 1.375rem;
    transition: var(--transition);
}

.site-footer .social i.fa:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.site-footer p {
    color: #888888;
    font-size: 0.9375rem;
}

.site-footer a {
    color: #888888;
}

.site-footer a:hover {
    color: #cccccc;
}


/* =========================================================
   14. SERVICE DETAIL PAGES
   Applies ONLY to body.service-detail-page
   ========================================================= */

/* Service page section */

.service-detail-page .service-page-services {
    padding: 4.5rem 0;
    background: #f7f8f5;
}

/* Section heading */

.service-detail-page .service-page-heading {
    max-width: 53.125rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.service-detail-page .service-page-heading h2 {
    margin: 0 0 1rem;
    color: var(--color-dark);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-detail-page .service-page-heading hr {
    width: 4.0625rem;
    height: 3px;
    margin: 1.25rem auto;
    background: var(--color-primary);
}

.service-detail-page .service-page-heading p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Service grid */

.service-detail-page .service-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Individual service card */

.service-detail-page .service-page-item {
    padding: 1.75rem;
    border: 1px solid #e5e9e1;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.service-detail-page .service-page-item:hover {
    border-color: #d7e3cb;
    border-left-color: var(--color-primary);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.service-detail-page .service-page-item h3 {
    margin: 0 0 0.75rem;
    color: var(--color-dark);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.service-detail-page .service-page-item p {
    margin: 0 0 1rem;
    color: var(--color-text);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Service card bullet points */

.service-detail-page .service-page-item ul {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.service-detail-page .service-page-item li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.4rem;
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.55;
}

.service-detail-page .service-page-item li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-primary);
    content: "\2713";
    font-weight: 700;
}

/* Service page links */

.service-detail-page .service-page-link {
    display: inline-block;
    margin-top: 0.25rem;
    color: #548c06;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.service-detail-page .service-page-link:hover,
.service-detail-page .service-page-link:focus {
    color: #3f6d04;
    text-decoration: underline;
}

.service-detail-page .service-page-link span {
    margin-left: 0.25rem;
}

/* Service page CTA */

.service-detail-page .service-page-cta {
    max-width: 53.125rem;
    margin: 2.5rem auto 0;
    padding: 2.25rem 1.75rem;
    border: 1px solid #e5e9e1;
    border-radius: var(--border-radius);
    background: var(--color-white);
    text-align: center;
}

.service-detail-page .service-page-cta h3 {
    margin: 0 0 0.75rem;
    color: var(--color-dark);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.service-detail-page .service-page-cta p {
    max-width: 43.75rem;
    margin: 0 auto 1.25rem;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
}

/* Optional service page image */

.service-detail-page .service-page-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 1rem;
    border-radius: var(--border-radius);
    object-fit: cover;
}


/* =========================================================
   15. TABLET RESPONSIVE STYLES
   ========================================================= */

@media (max-width: 61.9375rem) {

    /* Hero */

    .intro {
        min-height: 40rem;
    }

    .intro .overlay {
        padding: 9rem 1.5rem 4rem;
    }

    .hero-content {
        max-width: 90%;
        padding: 2rem;
    }

    .intro h1 {
        font-size: 3rem;
    }

    /* Service detail pages */

    .service-detail-page .service-page-grid {
        gap: 1rem;
    }

    .service-detail-page .service-page-item {
        padding: 1.5rem;
    }
}


/* =========================================================
   16. MOBILE RESPONSIVE STYLES
   ========================================================= */

@media (max-width: 47.9375rem) {

    /* Navigation */

    #menu {
        padding: 1rem;
    }

    #menu .navbar-logo img {
        width: 80%;
        max-width: 24.4rem;
        height: auto;
    }

    #menu .navbar-nav > li.dropdown {
        position: relative;
    }

    #menu .navbar-nav > li.dropdown > .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0.5rem 0 0.5rem 1rem;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    #menu .navbar-nav > li.dropdown.open > .dropdown-menu {
        display: block !important;
    }

    #menu .navbar-nav > li.dropdown.open > a {
        color: var(--color-primary);
    }

    #menu .dropdown-menu > li > a {
        display: block;
        padding: 0.75rem 1rem 0.75rem 2rem;
        background: transparent;
        color: #dddddd;
        white-space: normal;
    }

    #menu .dropdown-menu > li > a:hover,
    #menu .dropdown-menu > li > a:focus {
        background: transparent;
        color: var(--color-primary);
    }

    /* Hero */

    .intro {
        min-height: 36rem;
    }

    .intro .overlay {
        min-height: inherit;
        padding: 9rem 1rem 3rem;
    }

    header .intro-text {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }

    .hero-content {
        display: block;
        width: 100%;
        max-width: 36rem;
        margin: 0 auto;
        padding: 1.75rem 1.25rem;
        background: rgba(0, 0, 0, 0.55);
        border-radius: var(--border-radius);
        text-align: center;
    }

    .intro h1 {
        font-size: clamp(1.875rem, 7vw, 2.5rem);
        line-height: 1.15;
        letter-spacing: -0.03125rem;
    }

    .intro p {
        margin: 1rem 0 1.5rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    .intro .btn-custom {
        margin-top: 0.75rem;
    }

    /* General sections */

    .section-about,
    .section-services,
    .section-gallery,
    .section-contact {
        padding-top: var(--section-padding-mobile);
        padding-bottom: 3rem;
    }

    /* About */

    .section-about h2 {
        font-size: 1.875rem;
    }

    .section-about p {
        font-size: 0.9375rem;
    }

    /* Homepage services */

    .section-services .service-media img {
        width: 12rem;
        height: 12rem;
    }

    .section-services h3 {
        font-size: 1.375rem;
    }

    /* Gallery */

    .section-gallery {
        padding: var(--section-padding-mobile) 0 3rem;
    }

    .section-gallery ol.type li {
        margin: 0 0.25rem 0.75rem;
    }

    .section-gallery ol.type li a,
    .section-gallery .gallery-filter {
        padding: 0.7rem 0.9rem;
        font-size: 0.875rem;
    }

    /* Testimonials */

    .section-testimonials {
        min-height: 0;
        height: auto;
        overflow: hidden;
    }

    .section-testimonials .testimonial-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .section-testimonials .testimonial-overlay {
        display: block;
        min-height: 0;
        height: auto;
        padding: 3.75rem 1rem;
    }

    .section-testimonials .section-title {
        margin-bottom: 1.5rem;
    }

    .section-testimonials h2 {
        font-size: 1.625rem;
    }

    .section-testimonials .section-title p {
        font-size: 0.875rem;
    }

    .section-testimonials #testimonial {
        display: block !important;
        width: 100%;
        height: auto;
        visibility: visible;
    }

    .section-testimonials #testimonial .item {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0.625rem;
    }

    .section-testimonials #testimonial .item p:first-child {
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-testimonials #testimonial .item .testimonial-author {
        margin-top: 1rem;
        font-size: 0.875rem;
    }

    .section-testimonials .owl-controls {
        display: block;
        margin-top: 1rem;
    }

    /* Service detail pages */

    .service-detail-page .service-page-services {
        padding: 2.75rem 0;
    }

    .service-detail-page .service-page-heading {
        margin-bottom: 1.75rem;
    }

    .service-detail-page .service-page-heading h2 {
        font-size: 1.65rem;
    }

    .service-detail-page .service-page-heading p {
        font-size: 0.98rem;
    }

    .service-detail-page .service-page-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-detail-page .service-page-item {
        padding: 1.35rem;
    }

    .service-detail-page .service-page-item h3 {
        font-size: 1.2rem;
    }

    .service-detail-page .service-page-item p,
    .service-detail-page .service-page-item li {
        font-size: 0.94rem;
    }

    .service-detail-page .service-page-cta {
        margin-top: 1.5rem;
        padding: 1.75rem 1.25rem;
    }

    .service-detail-page .service-page-cta h3 {
        font-size: 1.3rem;
    }
}


/* =========================================================
   17. SMALL MOBILE RESPONSIVE STYLES
   Screens up to 400px
   ========================================================= */

@media (max-width: 25rem) {

    /* Navigation logo */

    #menu .navbar-logo img {
        width: 80%;
        max-width: 17rem;
    }

    /* Hero */

    .intro {
        min-height: 34rem;
    }

    .intro .overlay {
        padding: 8rem 0.75rem 2.5rem;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem 1rem;
    }

    .intro h1 {
        font-size: 1.875rem;
    }

    .intro p {
        font-size: 0.9375rem;
    }

    /* About */

    .section-about h2 {
        font-size: 1.625rem;
    }

    /* Testimonials */

    .section-testimonials .testimonial-overlay {
        padding: 3rem 0.75rem;
    }

    .section-testimonials h2 {
        font-size: 1.5rem;
    }

    .section-testimonials #testimonial .item p:first-child {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    /* Service detail pages */

    .service-detail-page .service-page-item {
        padding: 1.15rem;
    }

    .service-detail-page .service-page-cta {
        padding: 1.5rem 1rem;
    }
}


/* =========================================================
   END OF STYLESHEET
   ========================================================= */



/* =========================================================
   ACCESSIBILITY OVERRIDES — WCAG 2.2 AA SUPPORT
   Append after existing styles so these rules take precedence.
   ========================================================= */

/* Accessible brand green: white text contrast exceeds 4.5:1. */
:root {
    --color-primary: #3f6900;
    --color-primary-hover: #355900;
    --color-text: #595959;
}

/* Keyboard skip link */
.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10000;
    padding: 0.85rem 1rem;
    transform: translateY(-160%);
    border: 2px solid #ffffff;
    border-radius: 0.25rem;
    background: #222222;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: underline;
}
.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

/* Never suppress keyboard focus. Use a high-visibility indicator. */
:where(a, button, input, select, textarea, [tabindex]):focus {
    outline: 3px solid #174ea6;
    outline-offset: 3px;
}
:where(a, button, input, select, textarea, [tabindex]):focus:not(:focus-visible) {
    outline: none;
}
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #174ea6;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #ffffff;
}

/* Make links distinguishable without relying on color alone. */
main a:not(.btn-custom):not(.btn-outline-primary):not(.navbar-logo) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
main a:not(.btn-custom):not(.btn-outline-primary):not(.navbar-logo):hover {
    text-decoration-thickness: 2px;
}

/* High-contrast navigation and dropdown focus */
#menu.navbar-default .navbar-nav > li > a:focus,
#menu.navbar-default .navbar-nav > li > a:focus-visible,
#menu .dropdown-menu > li > a:focus,
#menu .dropdown-menu > li > a:focus-visible {
    color: #ffffff;
    background-color: #333333;
    outline: 3px solid #ffbf47;
    outline-offset: -3px;
}
#menu .dropdown-menu > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
}
#menu .navbar-toggle {
    min-width: 44px;
    min-height: 44px;
}

/* Services section uses the darker accessible green with white text. */
.section-services {
    background-color: #3f6900;
}
.section-services p,
.section-services h2,
.section-services h3,
.section-services a {
    color: #ffffff;
}
.section-services a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* Footer text contrast */
.site-footer h3 {
    color: #b6e388;
}
.site-footer p,
.site-footer a {
    color: #d0d0d0;
}
.site-footer a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.site-footer .social i.fa {
    color: #ffffff;
}

/* Gallery filters: keyboard-operable controls with comfortable target size. */
.section-gallery .gallery-filter {
    min-height: 44px;
    min-width: 44px;
}
.section-gallery .gallery-filter:focus-visible {
    outline: 3px solid #174ea6;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #ffffff;


}

/* Show gallery captions on hover AND keyboard focus; do not depend on a mouse. */
.portfolio-item .hover-bg:focus-within .hover-text,
.portfolio-item .hover-bg:hover .hover-text {
    opacity: 1;
}
.portfolio-item .hover-bg:focus-within .hover-text > h3,
.portfolio-item .hover-bg:hover .hover-text > h3 {
    opacity: 1;
    transform: translateY(0);
}
.portfolio-item .hover-text {
    pointer-events: none;
}
.portfolio-item .hover-bg > a:focus-visible {
    display: block;
    outline: 3px solid #174ea6;
    outline-offset: 3px;
}

/* Improve default body copy readability and avoid overly small labels. */
body {
    color: #595959;
}
label,
.section-contact label {
    font-size: 1rem;
    line-height: 1.5;
}
.section-contact .form-control {
    min-height: 44px;
    border: 1px solid #767676;
}
.section-contact .form-control:focus-visible {
    outline: 3px solid #174ea6;
    outline-offset: 2px;
}

/* Keep content usable when users enlarge text or zoom the page. */
img {
    max-width: 100%;
}
p,
li {
    overflow-wrap: anywhere;
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Avoid hover-only desktop dropdown access; keyboard focus also opens it. */
@media (min-width: 48rem) {
    #menu .navbar-nav > li.dropdown:hover > .dropdown-menu,
    #menu .navbar-nav > li.dropdown:focus-within > .dropdown-menu {
        display: block;
    }
}

/* Ensure visible focus and readable content on narrow screens. */
@media (max-width: 767px) {
    #menu .navbar-nav > li > a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .hero-content {
        overflow-wrap: anywhere;
    }
}

/* =========================================================
   END ACCESSIBILITY OVERRIDES
   ========================================================= */


/* Keep interactive service links at AA contrast in every state. */
.section-services a:hover,
.section-services a:focus,
.section-services a:focus-visible {
    color: #ffffff !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Stabilize contrast over photographic backgrounds. */
.hero-content {
    background: rgba(0, 0, 0, 0.82);
}
/* Testimonial image overlay: lighter shading so more of the photo remains visible. */
.section-testimonials .testimonial-overlay {
    background: rgba(0, 0, 0, 0.35);
}
#menu.navbar-default {
    background-color: rgba(25, 25, 25, 0.88);
    border-color: transparent;
}


/* =========================================================
   NAVIGATION / MOBILE SERVICES FIX — NOVEMBER 2026
   Keep the hero visible and make the Services menu touch-friendly.
   ========================================================= */

/* Compact desktop navigation. */
#menu {
    padding: 0.35rem 0 !important;
    min-height: 0;
}

#menu .navbar-logo img {
    width: auto;
    max-width: 15rem;
    max-height: 3.5rem;
    height: auto;
}

#menu .navbar-header {
    min-height: 3.75rem;
    display: flex;
    align-items: center;
}

#menu.navbar-default .navbar-nav > li > a {
    margin: 0.2rem 0.65rem 0;
    padding: 0.65rem 0.2rem;
    font-size: 0.9rem;
}

#menu .navbar-nav {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* The fixed navbar is now shorter, so reduce the hero's top offset. */
@media (min-width: 768px) {
    .intro .overlay {
        padding-top: 7.5rem;
    }
}

/* Tablet and mobile navigation. */
@media (max-width: 767px) {
    #menu {
        padding: 0.25rem 0.75rem !important;
        background-color: rgba(25, 25, 25, 0.96) !important;
    }

    #menu .container {
        width: 100%;
        padding-right: 0.25rem;
        padding-left: 0.25rem;
    }

    #menu .navbar-header {
        display: block;
        width: 100%;
        min-height: 3.5rem;
        margin: 0;
    }

    #menu .navbar-logo {
        display: inline-flex;
        align-items: center;
        min-height: 3.5rem;
        max-width: calc(100% - 4.5rem);
    }

    #menu .navbar-logo img {
        width: auto;
        max-width: 12rem;
        max-height: 2.75rem;
        height: auto;
    }

    #menu .navbar-toggle {
        margin: 0.45rem 0.15rem 0 0;
        padding: 0.55rem 0.65rem;
        border-color: rgba(255,255,255,0.7);
    }

    #menu .navbar-collapse {
        max-height: calc(100vh - 4rem);
        overflow-x: hidden;
        overflow-y: auto;
        border-top: 1px solid rgba(255,255,255,0.2);
        box-shadow: none;
        background: rgba(25,25,25,0.98);
    }

    #menu .navbar-nav {
        float: none !important;
        width: 100%;
        margin: 0.35rem 0 0.6rem;
    }

    #menu .navbar-nav > li {
        float: none;
        width: 100%;
    }

    #menu.navbar-default .navbar-nav > li > a {
        display: flex;
        align-items: center;
        min-height: 2.75rem;
        margin: 0;
        padding: 0.65rem 0.75rem;
        color: #ffffff;
        font-size: 0.95rem;
        text-shadow: none;
    }

    #menu .navbar-nav > li.dropdown > .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0.25rem 0 0.5rem 0.75rem;
        border: 0;
        background: rgba(255,255,255,0.06);
        box-shadow: none;
    }

    #menu .navbar-nav > li.dropdown.open > .dropdown-menu {
        display: block !important;
    }

    #menu .dropdown-menu > li > a {
        display: flex;
        align-items: center;
        min-height: 2.75rem;
        padding: 0.6rem 0.75rem 0.6rem 1.25rem;
        color: #ffffff;
        white-space: normal;
        text-shadow: none;
    }

    #menu .dropdown-menu > li > a:hover,
    #menu .dropdown-menu > li > a:focus,
    #menu .navbar-nav > li > a:hover,
    #menu .navbar-nav > li > a:focus {
        color: #d5edaa !important;
        background: rgba(255,255,255,0.08);
    }

    .intro .overlay {
        padding-top: 6.75rem;
    }
}

@media (max-width: 400px) {
    #menu .navbar-logo img {
        max-width: 10.5rem;
        max-height: 2.5rem;
    }

    .intro .overlay {
        padding-top: 6.25rem;
    }
}

/* Ensure an opened desktop menu remains visible when activated by click/keyboard. */
@media (min-width: 768px) {
    #menu .navbar-nav > li.dropdown.open > .dropdown-menu,
    #menu .navbar-nav > li.dropdown:focus-within > .dropdown-menu {
        display: block;
    }
}


/* =========================================================
   COOKIE CONSENT BANNER
   ========================================================= */

.cookie-consent-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: block;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background-color: #222222;
    color: #ffffff;
    box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.25);
}

/* Ensure hidden banners remain hidden */
.cookie-consent-banner[hidden] {
    display: none !important;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 75rem;
    margin: 0 auto;
}

.cookie-consent-text {
    flex: 1 1 auto;
}

.cookie-consent-text p {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.cookie-consent-text a:hover {
    color: #d7e9bf;
}

.cookie-consent-text a:focus-visible,
.cookie-consent-buttons button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.cookie-consent-buttons {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-btn {
    min-height: 2.75rem;
    padding: 0.65rem 1.1rem;
    border: 2px solid #ffffff;
    border-radius: 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

.cookie-btn-accept {
    background-color: #6aaf08;
    border-color: #6aaf08;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background-color: #568d06;
    border-color: #568d06;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #ffffff;
}

.cookie-btn-decline:hover {
    background-color: #ffffff;
    color: #222222;
}

/* Tablet and mobile */
@media (max-width: 767px) {

    .cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-consent-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        min-height: 2.875rem;
    }

}
