﻿html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.hero {
    text-align: center;
    padding: 20vh 5vw;
    background-image: url('allisonwebsitebg2.png');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.hero-content {
    display: inline-block;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    border-radius: 10px;
}

.btn {
    display: inline-block;
    background-color: #92bbf9;
    color: black;
    font-weight: bold;
    text-align: center;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    width: 130px;
    line-height: 1.2;
    font-size: 0.9em;
    text-transform: uppercase;
}

    .btn:hover {
        background-color: #c88600;
    }

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #7781d6;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    max-width: 100%;
}

    .nav-links li {
        margin: 5px;
        flex: none;
    }

    .nav-links a {
        display: block;
        background-color: rgba(0, 0, 0, 0.3);
        color: white;
        padding: 12px 18px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        text-align: center;
        transition: background-color 0.3s ease, opacity 0.3s ease;
        opacity: 0.8;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
        min-width: 120px;
    }

        .nav-links a:hover {
            background-color: rgba(0, 0, 0, 0.6);
            opacity: 1;
        }

.about, .contact {
    padding: 5vw;
    text-align: center;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.about-text {
    max-width: 400px;
    text-align: left;
}

.about-box {
    background: #dcf7fe;
    text-align: left;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex: 1;
    max-width: 550px;
}

.services {
    text-align: center;
    padding: 50px 20px;
    background-color: #7781d6;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

    .service-item:hover {
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 1;
    }

.help-section {
    text-align: center;
    background: white;
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}

    .help-section h2 {
        color: #533d5a;
    }

.contact-email {
    color: #533d5a;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
}

.footer {
    text-align: center;
    background-color: #533d5a;
    color: white;
    padding: 15px;
    font-size: 0.9em;
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 15vh 5vw;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

        .nav-links a {
            width: 100%;
        }

    .services-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
