:root {
    --hero-height: 70vh;
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --background-color: #ecf0f1;
    --text-color: #34495e;
    --hero-overlay-color: rgba(44, 62, 80, 0.7);
    --border-width: 2%;
    --border-color: white;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, .brand {
    font-family: 'Montserrat', sans-serif;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 2px;
    background-color: #333;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 30px;
    height: 2px;
    background-color: #333;
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--border-width);
    background-color: var(--border-color);
    color: var(--primary-color);
}

.hero-wrapper {
    width: 100%;
    height: var(--hero-height);
    background-image: url('header.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay-color); 
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin: 0;
}

.hero p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

.cta-button {
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

.about, .services, .contact {
    padding: 40px 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px auto;
    max-width: 800px;
}

.about h2, .services h2, .contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about ul, .services ul {
    list-style: none;
    padding: 0;
}

.about li, .services li {
    margin-bottom: 10px;
}

footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
}

.footer-nav li {
    margin: 0 10px;
}

.footer-nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    .nav-list {
        display: none;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .nav-list li {
        margin: 0;
        text-align: center;
    }
    .nav-list a {
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    .nav-toggle {
        display: block;
    }
    .nav-list.active {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .cta-button {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

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

.about, .services, .contact {
    animation: fadeIn 0.8s ease-out;
}

.nav-list a, .cta-button {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.contact form {
    display: grid;
    gap: 1rem;
}

.contact label {
    font-weight: bold;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
}

.contact textarea {
    min-height: 150px;
}

.contact button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: var(--secondary-color);
}