/*
Theme Name: Dynamic77
Theme URI: https://www.dynamic77.com/
Author: Dynamic 77 Group Inc.
Description: Custom WordPress theme based on the original Dynamic77 website.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dynamic77
*/

/* =========================================
   1. GLOBAL STYLES
========================================= */

:root {
    --d77-dark: #183d32;
    --d77-green: #347b57;
    --d77-light-green: #eaf1e9;
    --d77-cream: #f7f7f2;
    --d77-text: #647269;
    --d77-heading: #34483D;
    --d77-white: #ffffff;
    --d77-border: #e1e6e0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--d77-text);
    background: var(--d77-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--d77-heading);
    text-decoration: none;
}

a:hover {
    color: var(--d77-green);
}

h1, h2, h3, h4 {
    color: var(--d77-heading);
    font-weight: 500;
    line-height: 1.3;
    margin-top: 0;
}

h1 {
    font-size: 38px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 19px;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
}

.container {
    width: 94%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   2. HEADER AND NAVIGATION
========================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background: transparent;
    border-bottom: none;
}

.header-inner {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 150px;
    padding-bottom: 15px;
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    color: var(--d77-dark);
    line-height: 1;
}

.site-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 800px;
    max-height: 240px;
    object-fit: contain;
}

.logo-text {
    font-size: 49px;
    font-weight: 1000;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--d77-green);
}

.logo-subtitle {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 4px;
}

.primary-navigation {
    margin-left: auto;
}

.primary-navigation .menu-list,
.primary-navigation ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation li {
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    display: block;
    padding: 10px 0;
    color: var(--d77-dark);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
    color: var(--d77-green);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--d77-border);
    border-radius: 5px;
    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--d77-dark);
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

/* =========================================
   3. BUTTONS AND LINKS
========================================= */

.button {
    display: inline-block;
    padding: 14px 26px;
    color: var(--d77-white);
    background: var(--d77-green);
    border: 1px solid var(--d77-green);
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.button:hover {
    color: var(--d77-white);
    background: var(--d77-dark);
    border-color: var(--d77-dark);
}

.button-light {
    color: var(--d77-dark);
    background: var(--d77-white);
    border-color: var(--d77-white);
}

.button-light:hover {
    color: var(--d77-white);
    background: transparent;
    border-color: var(--d77-white);
}

.text-link {
    display: inline-block;
    margin-top: 5px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--d77-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   4. HOMEPAGE HERO
========================================= */

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 1050px;
    padding: 100px 0 60px;
    overflow: hidden;
    background-image: url("images/image%20001.jpg");
    background-position: center center;
    background-size: auto 50%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--d77-white);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1160px;
}

.hero-section .eyebrow {
    color: #d0e5c9;
}

.hero-section h1 {
    max-width: 1200px;
    margin-bottom: 24px;
    color: var(--d77-white);
}

.hero-intro {
    max-width: 1200px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    line-height: 1.8;
}

/* =========================================
   5. GENERAL CONTENT SECTIONS
========================================= */

.content-section {
    display: block;
    width: 100%;
    padding: 0;
}

.section-light {
    background: #ffffff;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
}

.two-column p {
    max-width: 570px;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

/* =========================================
   6. OUR STORY
========================================= */

.our-story-section {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 0;
    padding: 120px 0 60px;
    background: #ffffff;
}

.our-story-section .two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1160px;
    margin: 0 auto;
}

.our-story-text {
    width: 100%;
}

.our-story-text h2 {
    color: var(--d77-heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 22px;
}

.our-story-text h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--d77-heading);
    margin-top: 0;
}

.our-story-text p {
    color: var(--d77-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    text-align: justify;
    max-width: 420px;
    margin: 0 0 16px;
}

.our-story-image {
    width: 100%;
    height: 700px;
    min-height: 0;
    overflow: hidden;
}

.our-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    object-fit: cover;
}

/* =========================================
   7. THE SOLUTION INTRODUCTION
========================================= */

.solution-intro {
    display: block;
    width: 100%;
    padding: 40px 24px 70px;
    background-color: #ffffff;
    text-align: center;
}

.solution-intro .section-heading {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.solution-intro .eyebrow {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.solution-intro h2 {
    color: var(--d77-heading);
    margin: 0 0 30px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.75;
    text-align: center;
}

.solution-intro h2::after {
    display: none;
}

.solution-intro p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 36px;
    color: var(--d77-text);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.solution-intro .solution-read-more {
    display: block;
    width: min(330px, 100%);
    margin: 0 auto;
    padding: 10px 20px;
    border: 1px solid #111111;
    border-radius: 0;
    background: transparent;
    color: #222222;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.solution-intro .solution-read-more:hover {
    background-color: var(--d77-heading);
    color: #ffffff;
}

/* =========================================
   8. SOLUTION IMAGE BANNER
========================================= */

.solution-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 1000px;
    padding: 10px 24px;
    background-image: url("images/image%20002.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.solution-section .section-heading {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 10px;
    background: rgba(255, 255, 255, 0.88);
}

/* =========================================
   9. WHY CHOOSE US — FEATURE CARDS
========================================= */

.section-light {
    display: block;
    width: 100%;
    padding: 100px 0 60px;
    background: #ffffff;
}

.section-light .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.section-light .section-heading {
    max-width: 1200px;
    margin: 0 auto 35px;
    text-align: center;
}

.section-light .section-heading h2 {
    color: #222222;
    font-family: "Poppins", sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    margin: 0 0 35px;
}

.section-light .section-heading h2::after {
    display: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 45px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 50px;
}

.feature-card {
    padding: 10px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

.feature-card h3 {
    margin: 0 0 30px;
    color: #70906e;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.feature-card p {
    margin: 0;
    color: #777777;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
    text-align: center;
}

/* =========================================
   10. LEADING TECHNOLOGY
========================================= */

.leading-technology-section {
    display: block;
    width: 100%;
    padding: 80px 0;
    background: #ffffff;
}

.leading-technology-section .container.two-column {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 94%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    gap: 65px;
    align-items: center;
}

/* Larger greenhouse image */

.leading-technology-image {
    display: block;
    width: 100%;
    height: 750px;
    min-height: 0;
    overflow: hidden;
}

.leading-technology-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    object-fit: cover;
}

/* Text matching Our Story */

.leading-technology-text {
    width: 100%;
}

.leading-technology-text h2 {
    color: var(--d77-heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 22px;
}

.leading-technology-text h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--d77-heading);
    margin-top: 0;
}

.leading-technology-text p {
    color: var(--d77-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    text-align: justify;
    max-width: 570px;
    margin: 0 0 16px;
}

/* =========================================
   11. OUR PHILOSOPHY
========================================= */

.philosophy-section {
    display: block;
    width: 100%;
    padding: 55px 24px;
    background: #ffffff;
    color: var(--d77-text);
    text-align: center;
}

.philosophy-content {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-section .eyebrow {
    color: var(--d77-heading);
}

.philosophy-section h2 {
    color: var(--d77-heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 22px;
}

.philosophy-section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--d77-heading);
    margin: 22px auto 0;
}

.philosophy-section p {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    color: var(--d77-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    text-align: center;
}

.philosophy-section p:last-child {
    margin-bottom: 0;
}

/* =========================================
   12. HOMEPAGE CONTACT SECTION
========================================= */

.contact-section {
    display: block;
    width: 100%;
    padding: 50px 24px;
    background: #ffffff;
    text-align: center;
}

.contact-section .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    width: 94%;
    max-width: 1160px;
    margin: 0 auto;
}

.contact-section .contact-text {
    width: 100%;
    max-width: 500px;
}

.contact-section .contact-text h2 {
    color: #286344;
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 8px;
}

.contact-section .contact-subtitle {
    color: #8a9a8e;
    font-size: 21px;
    margin: 0 0 18px;
}

.contact-section .contact-text p:not(.contact-subtitle) {
    color: var(--d77-heading);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-section .contact-text .button {
    display: inline-block;
    padding: 10px 28px;
    background: #286344;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 0;
}

.contact-image-placeholder {
    display: block;
    width: 100%;
    height: 600px;
    min-height: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}

.contact-image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    object-fit: cover;
}

/* =========================================
   13. GENERAL WORDPRESS PAGE CONTENT
========================================= */

.page-content {
    min-height: 350px;
}

.page-content > h1 {
    margin-bottom: 35px;
}

.entry-content {
    max-width: 850px;
}

.entry-content img {
    height: auto;
}

.entry-content a {
    text-decoration: underline;
}

/* =========================================
   14. CONTACT PAGE
========================================= */

body.page-contact-us-2 .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background: #ffffff;
    z-index: 100;
}

body.page-contact-us-2 .header-inner {
    min-height: auto;
    padding-top: 25px;
    padding-bottom: 25px;
    gap: 10px;
}

body.page-contact-us-2 .site-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 420px;
    max-height: 130px;
    object-fit: contain;
}

body.page-contact-us-2 .contact-page-section {
    position: relative;
    margin-top: 0;
    padding: 30px 42px 65px;
    background: #ffffff;
}

.contact-page-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0 45px;
    background: #ffffff;
}

.contact-page-logo img {
    display: block;
    width: auto;
    max-width: 300px;
    max-height: 120px;
    object-fit: contain;
}

.contact-page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
    max-width: 1300px;
    margin: 400px auto 0;
}

.contact-page-image img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.contact-page-form {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.contact-page-form h1 {
    color: var(--d77-heading);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 12px;
}

.contact-page-form h2 {
    color: #718b50;
    font-size: 21px;
    font-weight: 400;
    margin: 0 0 22px;
}

.contact-page-form .contact-intro {
    color: var(--d77-text);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.d77-contact-form {
    width: 100%;
}

.contact-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-field {
    margin-bottom: 16px;
}

.contact-field label {
    display: block;
    color: var(--d77-heading);
    font-size: 14px;
    margin-bottom: 7px;
}

.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    padding: 9px;
    border: 1px solid #b9c2ba;
    border-radius: 0;
    background: #ffffff;
    color: #222222;
    font-size: 14px;
}

.contact-field input {
    height: 40px;
}

.contact-field textarea {
    height: 110px;
    resize: vertical;
}

.d77-contact-form button {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 0;
    background: #718b50;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.d77-contact-form button:hover {
    background: #526c3d;
}

.contact-success,
.contact-error {
    padding: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-success {
    background: #edf5e9;
    color: #286344;
}

.contact-error {
    background: #fbeeee;
    color: #a12626;
}

.contact-page-map {
    width: 100%;
    height: 350px;
    margin-bottom: 0;
}

.contact-page-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-privacy-link {
    width: 100%;
    text-align: center;
    padding: 65px 20px 90px;
    background: #ffffff;
}

.contact-privacy-link a {
    color: #477b42;
    font-size: 16px;
    text-decoration: underline;
    font-weight: 500;
}

.contact-privacy-link a:hover {
    color: #2d5729;
}

/* =========================================
   15. PRIVACY POLICY PAGE
========================================= */

body.page-privacy-policy .site-header .site-logo {
    display: none !important;
}

body.page-privacy-policy #main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 60px 30px;
    background: #ffffff;
    color: #000000;
    text-align: center;
}

body.page-privacy-policy #main-content > * {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
    text-align: center;
}

body.page-privacy-policy #main-content * {
    color: #000000 !important;
    text-align: center !important;
}

body.page-privacy-policy #main-content ul,
body.page-privacy-policy #main-content ol {
    display: table;
    list-style-position: inside;
    padding: 0;
    margin: 20px auto;
}

body.page-privacy-policy #main-content li {
    margin-bottom: 10px;
}

body.page-privacy-policy #main-content a,
body.page-privacy-policy #main-content a:visited,
body.page-privacy-policy #main-content a:hover {
    color: #000000 !important;
}

body.page-privacy-policy #main-content article,
body.page-privacy-policy #main-content .entry-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   16. TABLET
========================================= */

@media (max-width: 1000px) {

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 35px;
        row-gap: 35px;
    }

    .contact-page-container {
        gap: 40px;
    }
}

@media (max-width: 900px) {

    .header-inner {
        min-height: 82px;
        gap: 20px;
    }

    .primary-navigation .menu-list,
    .primary-navigation ul {
        gap: 16px;
    }

    .primary-navigation a {
        font-size: 13px;
    }

    .two-column {
        gap: 40px;
    }

    .footer-grid {
        gap: 35px;
    }
}

/* =========================================
   17. MOBILE
========================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 36px, 540px);
    }

    .header-inner {
        position: relative;
        flex-wrap: wrap;
        min-height: 76px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-logo .custom-logo {
        max-width: 300px;
        max-height: 100px;
    }

    .logo-text {
        font-size: 25px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-navigation {
        display: none;
        width: 100%;
        margin: 0;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation .menu-list,
    .primary-navigation ul {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding-top: 12px;
        border-top: 1px solid var(--d77-border);
    }

    .primary-navigation a {
        padding: 12px 4px;
        font-size: 15px;
    }

    .hero-section {
        min-height: 480px;
        padding: 75px 0;
        background-size: cover;
    }

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-intro {
        font-size: 17px;
    }

    .our-story-section {
        padding: 40px 20px;
    }

    .our-story-section .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .our-story-image {
        height: 300px;
    }

    .content-section {
        padding: 40px 20px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .image-placeholder {
        min-height: 260px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-light {
        padding: 60px 0 40px;
    }

    .section-light .section-heading {
        margin-bottom: 25px;
    }

    .feature-grid {
        padding: 0 25px;
    }

    .solution-section {
        min-height: 480px;
    }

    .solution-intro {
        padding: 50px 20px;
    }

    .solution-intro h2 {
        font-size: 28px;
    }

    .leading-technology-section {
        padding: 40px 20px;
    }

    .leading-technology-section .container.two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .leading-technology-image {
        height: 350px;
    }

    .philosophy-section {
        padding: 40px 20px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-section .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-section .contact-text {
        max-width: 100%;
    }

    .contact-image-placeholder {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .contact-page-section {
        padding: 25px 22px 40px;
    }

    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 300px;
    }

    .contact-page-image img {
        height: 350px;
    }

    .contact-page-form h1 {
        font-size: 32px;
    }

    .contact-name-row {
        gap: 15px;
    }

    .contact-page-map {
        height: 280px;
    }
}

/* =========================================
   18. FOOTER COPYRIGHT AND PRIVACY LINK
========================================= */

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-bottom-inner a {
    display: inline-block;
    margin: 0;
}

.footer-bottom-inner p,
.footer-bottom-inner a {
    font-size: 12px;
}

/* Keep short content pages tall enough to push the footer down */
body:not(.home) #main-content {
    min-height: calc(100vh - 300px);
}

.page-content {
    min-height: 350px;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 100px;
}

/* SERVICES PAGE */

.services-page-section {
    display: block;
    width: 100%;
    padding: 420px 24px 100px;
    background: #ffffff;
    text-align: center;
}

.services-page-content {
    width: 94%;
    max-width: 1300px;
    margin: 0 auto;
}

.services-page-content h1 {
    color: #34483D;
    font-size: 60px;
    font-weight: 500;
    margin: 0 0 35px;
    text-align: center;
}

.services-page-content h2 {
    color: #34483D;
    font-size: 55px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 35px;
    text-align: center;
}

.services-construction-image {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin: 0 auto 30px;
}

.services-page-content p {
    color: #647269;
    font-size: 17px;
    text-align: center;
    max-width: 850px;
    margin: 25px auto;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .services-page-section {
        padding: 260px 20px 60px;
    }

    .services-page-content h2 {
        font-size: 27px;
    }
}

/* Contact page company details */
.contact-company-details {
    margin-bottom: 30px;
}

.contact-company-details h3 {
    margin-bottom: 4px;
}

.contact-company-details p {
    margin-top: 0;
    margin-bottom: 2px;
    line-height: 1.3;
}

/* Spacing below contact form */
.d77-contact-form {
    margin-bottom: 30px;
}

/* Spacing before location map */
.contact-page-map {
    margin-top: 30px;
}
