:root {
    --primary-green: #00a651;
    --primary-blue: #0070c0;
    --dark-gray: #32373c;
    --contact-bg: #a6a6a6;
    --font-family: 'Barlow Semi Condensed', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Background utilities */
.bg-white {
    background-color: #ffffff;
}

.bg-gray {
    background-color: #f1f2f4;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.2;
}

p {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.green-heading {
    color: var(--primary-green);
}

.blue-heading {
    color: var(--primary-blue);
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.pb-80 {
    padding-bottom: 80px;
}

/* Navigation */
#masthead {
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 100;
    padding: 30px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero-bg {
    background-image: url('images/pexels-christina-morillo-1181562-smaller.jpg');
    background-size: cover;
    background-position: center 30%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.dark-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    color: #fff;
}

.hero-content h1,
.hero-content h3 {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-green {
    background-color: var(--primary-green);
    color: #fff;
    font-size: 1.1rem;
}

/* Main Layout Blocks */
.section {
    padding: 80px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.align-center {
    align-items: center;
}

/* Story Section Specifically */
.story-text-col {
    text-align: right;
}

.story-img-col {
    text-align: left;
}

.story-title-img {
    max-width: 480px;
    width: 100%;
    margin-bottom: 20px;
    display: inline-block;
}

/* Services */
.services-inner-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-top: 30px;
}

/* Images */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Contact Form Section */
.contact-bg {
    background-color: var(--contact-bg);
    padding: 80px 0;
}

.form-container {
    max-width: 750px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 5px;
}

.req {
    color: red;
}

.sub-label {
    font-size: 0.75rem;
    color: #555;
    display: block;
    margin-top: 5px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d3d3d3;
    background-color: #eee;
    font-family: var(--font-family);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #999;
}

.btn-submit {
    background-color: #e6e6e6;
    color: #555;
    border: 1px solid #ccc;
    padding: 10px 28px;
    font-size: 1rem;
}

/* Footer */
#footer {
    background: #32373c;
    color: #fff;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.footer-grid p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .split-layout,
    .form-row,
    .footer-grid,
    .services-inner-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .story-text-col,
    .story-img-col,
    .text-left,
    .text-right {
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.8rem;
    }
}
