@charset "utf-8";

html {
    background-color: #ffffff;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    color: #000;
    background-color: #fff;
    width: 90%;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 20px;
}

header h1 {
    margin-top: 100px;
    color: rgb(13,112,178);
    text-shadow: 1px 1px 1px #000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    margin-bottom: 20px;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding-right: 20px;
    gap: 10px;
}

nav li {
    width: auto;
}

nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    text-align: center;
    color: rgb(13,112,178);
    background: #fff;
}

nav a:hover {
    background-color: rgb(255, 0, 102);
    color: #fff;
}

.logo {
    width: 75px;
    height: auto;
    margin-left: 20px;
}

main {
    padding: 20px;
    margin-top: 70px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: rgb(13,112,178);
}

h1, h2 {
    color: rgb(13,112,178);
    text-shadow: 1px 1px 1px #000;
}

body > footer {
    background: #fff;
    color: rgba(102,102,102,0.6);
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #bebebe;
}

.about-image,
.about-text {
    width: 45%;
}

.about-text {
    color: #000;
}

.reviews-gallery {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
}

.review-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background: #fff;
    color: #000;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.review-card p {
    line-height: 1.6;
    font-style: italic;
}

.review-card h3 {
    margin-top: 20px;
    color: rgb(13,112,178);
    text-align: right;
}

.hero {
    margin-top: 100px;
    min-height: 350px;
    height: 50vh;
    background: url("about-banner.jpg") center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    background: rgba(13,112,178,0.75);
    color: #fff;
    padding: 20px 50px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    font-size: clamp(2rem, 5vw, 4rem);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    color: rgb(13,112,178);
}

.section-title span {
    flex: 1;
    height: 4px;
    background: hotpink;
    margin: 0 20px;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
}

.services-table th {
    font-size: 1.4em;
    color: rgb(13,112,178);
    padding: 15px;
}

.services-table td {
    padding: 20px;
    color: #000;
    line-height: 1.7;
    text-align: center;
    vertical-align: top;
}

.services-table td,
.services-table th {
    border-right: 1px solid lightgray;
}

.services-table td:last-child,
.services-table th:last-child {
    border-right: none;
}

.addons {
    border: 3px solid rgb(13,112,178);
    border-radius: 10px;
    padding: 25px;
    width: 90%;
    margin: auto;
    color: rgb(13,112,178);
    position: relative;
}

.addons h2 {
    text-align: center;
    margin-bottom: 25px;
}

.addons ul {
    columns: 2;
    column-gap: 60px;
    line-height: 2;
    color: #000;
}

.addon-left,
.addon-right {
    position: absolute;
    top: 15px;
    width: 55px;
    height: auto;
}

.addon-left { left: 20px; }
.addon-right { right: 20px; }

.full-width-logo {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {

    body {
        width: 90%;
        margin: 0;
    }

    nav li {
        width: 100%;
        font-size: x-large;
    }

    nav a {
        border-bottom: 1px solid #000;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .review-card {
        flex: 0 0 85%;
    }

    .hero {
        margin-top: 80px;
        min-height: 250px;
        height: 40vh;
    }

    .hero-title {
        padding: 15px 30px;
        text-align: center;
    }

    .services-table,
    .services-table tbody,
    .services-table tr,
    .services-table th,
    .services-table td {
        display: block;
        width: 100%;
    }

    .services-table th {
        margin-top: 25px;
    }

    .addons ul {
        columns: 1;
    }
}