* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #24313a;
    background-color: #f7fbfc;
    overflow-x: hidden;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #d7e8ec;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.logo {
    color: #0b5d78;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #24313a;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
}

nav a:hover,
nav a.active {
    color: #ffffff;
    background-color: #0b7f92;
}

.hero {
    background-color: #dff4f6;
    padding: 55px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 35px;
}

.hero-content > *,
.two-column > *,
.services-layout > *,
.contact-layout > *,
.card-grid > *,
.gallery > * {
    min-width: 0;
}

.hero h1,
.page-title h1 {
    margin-top: 0;
    font-size: 2.35rem;
    line-height: 1.2;
    color: #0b5d78;
}

.hero p,
.page-title p {
    font-size: 1.1rem;
}

.button,
button {
    display: inline-block;
    background-color: #0b7f92;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 11px 18px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
button:hover {
    background-color: #074f60;
}

.secondary-button {
    background-color: #6c7a80;
    margin-left: 8px;
}

.secondary-button:hover {
    background-color: #4c565a;
}

.section {
    padding: 42px 0;
}

.page-title {
    background-color: #dff4f6;
    padding: 42px 0;
}

h2 {
    color: #0b5d78;
    margin-top: 0;
}

h3 {
    color: #116b7b;
}

.two-column,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.highlight-box,
.card,
.contact-card,
.form-box {
    background-color: #ffffff;
    border: 1px solid #d7e8ec;
    border-radius: 8px;
    padding: 22px;
}

.feature-band {
    background-color: #eef7f8;
    padding: 42px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: center;
}

.service-list li,
.steps li {
    margin-bottom: 10px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

caption {
    font-weight: bold;
    margin-bottom: 10px;
    color: #0b5d78;
}

th,
td {
    border: 1px solid #b9d9df;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #0b7f92;
    color: #ffffff;
}

tr:nth-child(even) {
    background-color: #f1fbfc;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

figure {
    margin: 0;
    background-color: #ffffff;
    border: 1px solid #d7e8ec;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

figcaption {
    margin-top: 10px;
    font-weight: bold;
    color: #0b5d78;
}

form {
    display: grid;
    gap: 12px;
}

label,
legend {
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #adcbd1;
    border-radius: 6px;
    font: inherit;
}

fieldset {
    border: 1px solid #adcbd1;
    border-radius: 6px;
    padding: 12px;
}

.choice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.choice input {
    width: auto;
}

footer {
    background-color: #0b5d78;
    color: #ffffff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-content p {
    margin: 0;
}

@media (max-width: 750px) {
    .header-content,
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav a {
        display: block;
    }

    .hero-content,
    .two-column,
    .services-layout,
    .contact-layout,
    .card-grid,
    .gallery {
        display: block;
    }

    .hero-content img,
    .services-layout img,
    .highlight-box,
    .card,
    figure,
    .form-box {
        margin-top: 20px;
    }

    .hero h1,
    .page-title h1 {
        font-size: 1.85rem;
    }

   .hero-text,
    .page-title p,
    .section p,
    .service-list,
    .steps {
    max-width: 100%;
}

    .highlight-box,
    .card,
    figure,
    .contact-card,
    .form-box {
        max-width: 340px;
    }

    .hero {
        padding: 38px 0;
    }

    .secondary-button {
        margin-left: 0;
        margin-top: 8px;
    }
}
