body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    color: #222;
}
header {
    background: #2d3e50;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}
nav a {
    color: #fff;
    margin: 0 1em;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover {
    text-decoration: underline;
}
main {
    max-width: 700px;
    margin: 2em auto;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
footer {
    text-align: center;
    padding: 1em 0;
    background: #eee;
    color: #555;
    position: fixed;
    width: 100%;
    bottom: 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}
th, td {
    border: 1px solid #ddd;
    padding: 0.75em;
    text-align: left;
}
th {
    background: #f0f0f0;
}
.flashes {
    list-style: none;
    padding: 0;
    margin: 1em 0;
    color: green;
}
.hero {
    position: relative;
    text-align: center;
    margin-bottom: 2em;
}
.hero-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(44, 62, 80, 0.7);
    color: #fff;
    padding: 1.5em 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.services-img, .about-img, .contact-img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto 2em auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: cover;
    max-height: 260px;
}
@media (max-width: 600px) {
    main {
        padding: 1em;
    }
    table, th, td {
        font-size: 0.95em;
    }
    nav a {
        display: block;
        margin: 0.5em 0;
    }
    .hero-caption {
        padding: 0.5em 1em;
        font-size: 1em;
    }
    .services-img, .about-img, .contact-img {
        max-height: 160px;
    }
} 