* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.top-bar {
    background-color: #003d80;
    color: #fff;
    padding: 5px 20px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    position: fixed;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1360px;
    margin: auto;
}

.top-bar .contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin: 0 5px;
}

.top-bar .contact-info a img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

header {
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 33px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1360px;
    width: 95%;
    margin: auto;
}

.logo img {
    height: 100px;
    display: block;
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

nav ul li a.active {
    background-color: #ffffff;
    color: #0056b3;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #ffffff;
    color: #0056b3;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.menu-toggle.open div:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open div:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    padding: 165px 20px 20px;
}

.container {
    margin: auto;
    max-width: 95%;
    overflow: hidden;
    width: 1360px;
}

section .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

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

.service-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item h3 {
    margin-bottom: 10px;
}

.service-item img {
    width: 80%;
}

.service-item p {
    margin-top: 10px;
}

.item {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.item img {
    float: left;
    margin-right: 10px;
    height: auto;
}

.item .text {
    overflow: inherit;
}

footer {
    background-color: #003d80;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #fff;
}

.social-icons {
    margin: 10px 0;
}

.social-icons a {
    margin: 0 5px;
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
}

form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #003d80;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
    background-color: #fff;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    transform: scale(1.2);
}

button[type="submit"] {
    background-color: #0056b3;
    color: #fff;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 90%;
    margin: 10px auto;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.4;
}

button[type="submit"]:hover {
    background-color: #003d80;
    transform: scale(1.02);
}

button[type="submit"]:active {
    transform: scale(0.98);
}

.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #003d80;
}

.item p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.item ul {
    margin: 15px 0 15px 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.item ul li {
    margin-bottom: 8px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    list-style-type: none;
}

.item ul li::before {
    content: "\2022";
    color: #0056b3;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.item p a {
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item p a:hover {
    color: #003d80;
    text-decoration: underline;
}

.cta {
    text-align: center;
    margin: 20px auto;
    padding: 10px;
}

.cta a {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    max-width: 90%;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta a:hover {
    background-color: #003d80;
    transform: scale(1.05);
}

.cta a:active {
    transform: scale(0.98);
}

.alert-failed {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
        padding: 5px;
    }

    .top-bar .contact-info a img {
        height: 20px;
        width: 20px;
    }

    header {
        top: 28px;
    }

    main {
        padding: 125px 20px 20px;
    }

    nav {
        display: none;
        flex-direction: column;
        background-color: #0056b3;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    nav.active {
        display: flex;
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 60px;
    }

    section .grid {
        grid-template-columns: 1fr;
    }

    section .grid-home {
        grid-template-columns: 1fr;
    }

    form {
        padding: 20px;
    }

    button[type="submit"] {
        font-size: 14px;
        padding: 12px 15px;
    }

    p {
        font-size: 14px;
    }

    ul li {
        font-size: 14px;
    }

    .item {
        padding: 20px;
        flex-direction: column;
    }

    .item img {
        width: 100%;
        margin-bottom: 10px;
    }

    .item .text {
        overflow: inherit;
    }

    .item p {
        font-size: 14px;
    }

    .item ul li {
        font-size: 14px;
    }

    .cta a {
        font-size: 14px;
        padding: 12px 15px;
        max-width: 100%;
    }
}