/* Replace these with the actual hex codes */
:root {
    --light-green: #D3E8D2;
    --dark-green: #2A4D29;
    --white: #FFFFFF;
    --divider-color: #B0B0B0;
    --bold-background: #2A4D29;
    --text-contrast: #FFFFFF;
}

/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-green);
    color: var(--dark-green);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header Styling */
header {
    position: relative;
    height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

header .header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('new-header.jpg'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

header .logo-container {
    position: relative;
    z-index: 2;
    max-width: 400px;
    height: auto;
    margin-left: 20px;
    margin-top: 20px;
}

header .logo-container img {
    width: 100%;
    height: auto;
}

/* Header Text Styling */
.header-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 3;
    background-color: rgba(42, 77, 41, 0.7);
    padding: 20px;
    box-sizing: border-box;
}

.header-text h1 {
    margin: 0;
    font-size: 1.5625rem;
}

.header-text p {
    margin: 10px 0 0;
    font-size: 1.125rem;
}

/* Navigation Styles */
nav {
    background-color: var(--bold-background);
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-contrast);
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
    color: var(--bold-background);
    background-color: var(--text-contrast);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Section Styling */
section {
    background-color: var(--white);
    padding: 60px 30px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    background-image: url('beekind-logo.png'); /* Path to your logo */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Section Titles */
section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark-green);
    position: relative;
    z-index: 1;
}

section p, section ul {
    font-size: 1.2rem;
    color: var(--dark-green);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

section ul {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

/* Tagline Styling */
.tagline {
    text-align: center;
    font-size: 1.875rem;  /* Increased size by 25% */
    font-weight: bold;   /* Bold text */
    margin-top: 20px;
}

/* Services Section Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.service-category {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.service-category img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.service-category h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.service-category ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    color: var(--dark-green);
}

/* Contact Us Section */
.contact-info {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-green);
    margin-bottom: 20px;
}

/* Form Styles */
form input[type="text"], 
form input[type="tel"], 
form input[type="email"], 
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    pointer-events: auto; /* Ensure inputs are clickable */
    visibility: visible;
}

form input[type="submit"] {
    background-color: var(--dark-green);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

form input[type="submit"]:hover {
    background-color: #d1784a;
}

/* Ensure form fields are not obstructed */
form {
    position: relative;
    z-index: 2;  /* Make sure the form is above other elements */
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    z-index: 2; /* Ensure these fields are above any background elements */
    pointer-events: auto; /* Ensure inputs are clickable */
    visibility: visible;
}

form input[type="submit"] {
    z-index: 2; /* Ensure the submit button is clickable */
}

/* Gallery Grid Styles */
section#gallery div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

section#gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Adjustments for Mobile Screens */
@media (max-width: 768px) {
    /* Centering the Logo */
    header .logo-container {
        margin: 0 auto;
        text-align: center;
        max-width: 300px;
    }

    /* Navigation Bar Adjustments */
    nav ul {
        flex-direction: column;
        align-items: center;
        display: none; /* Hide by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bold-background);
        justify-content: center;
        z-index: 10;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 2rem;
        color: var(--text-contrast);
    }

    /* Hamburger Menu */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 11;
        position: fixed;
        top: 15px;
        right: 20px;
    }

    .hamburger-menu .bar {
        width: 25px;
        height: 3px;
        background-color: var(--text-contrast);
        margin: 4px 0;
        transition: 0.4s;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Instagram Section Adjustments */
    #instagram div {
        display: flex;
        flex-direction: column; /* Stack Instagram handles vertically */
        align-items: center;
        text-align: center;
        width: 100%;
    }

    #instagram div a {
        width: 100%;
        margin: 10px 0;
    }
/* Flowchart Section Styling */
#cta-flowchart {
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
}

#cta-flowchart .flowchart {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
}

#cta-flowchart .flowchart .step {
    flex: 1;
    margin: 10px;
    padding: 20px;
}

#cta-flowchart h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--dark-green);
}

#cta-flowchart .flowchart .step h3 {
    font-size: 2.25rem; /* Increased by 50% */
    margin-bottom: 10px;
    color: var(--dark-green);
}

#cta-flowchart .flowchart .step p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark-green);
}

/* Responsive Adjustments for Mobile Screens */
@media screen and (max-width: 768px) {
    #cta-flowchart .flowchart {
        flex-direction: column;
        align-items: center;
    }

    #cta-flowchart .flowchart .step {
        margin-bottom: 20px;
    }
}
