body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}

header {
    background-color: #2c3e50; /* Primary color */
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header img {
    max-width: 300px; /* Increased logo size */
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

.hero {
    background: url('hero.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left; /* Ensure text is left-aligned */
    padding: 100px 20px;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7); /* Dark overlay matching primary color */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: left; /* Ensure text is left-aligned */
    padding: 20px; /* Added padding for spacing */
}

.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3em;
    margin: 0.2em 0;
    animation: fadeIn 1s ease-in-out;
}

.hero h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2em;
    margin: 0.2em 0;
    animation: fadeIn 1.5s ease-in-out;
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0;
    animation: fadeIn 2s ease-in-out;
}

.section {
    padding: 40px 20px; /* Adjusted padding */
    max-width: 800px;
    margin: 20px auto; /* Added margin for consistent spacing between sections */
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-10px);
}

.section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2em;
    margin-bottom: 20px;
    color: #2c3e50; /* Primary color for headings */
    text-align: center;
}

.section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.section ul {
    list-style-type: none;
    padding: 0;
}

.section ul li {
    background-color: #e8e8e8;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.section ul li:hover {
    background-color: #d1d1d1;
}

.contact-form {
    background-color: #fff;
    padding: 40px 20px; /* Adjusted padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 40px; /* Added margin below the contact form */
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 22px); /* Adjusted width to account for padding and borders */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
}

.contact-form button {
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: ‘Raleway’, sans-serif;
    transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .contact-form button:hover {
    background-color: #3c5569;
    transform: scale(1.05);
    }

    footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    }

    @keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
    }

    @media (max-width: 768px) {
    .hero {
    text-align: center;
    padding: 50px 20px;
    }

    .hero-content {
        margin: auto;
        text-align: left; /* Maintain left-alignment on smaller screens */
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero h2 {
        font-size: 1.5em;
    }
    
    .hero p {
        font-size: 1em;
    }

    

}

#formResponse {
    margin-top: 10px;
    color: green;
    font-weight: bold;
}