.hero {
        background:
            linear-gradient(
                rgba(0,0,0,0.70),
                rgba(0,0,0,0.70)
            ),
            url("/image/ACE.jpg");

        background-size: cover;
        background-position: center;

        color: white;
        text-align: center;

        padding: 60px 20px;
        width: 100%;
    }

.hero h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }

.hero p {
        color: #ffd700;
    }

.container {
        width: 90%;
        max-width: 1100px;
        margin: 50px auto;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;

        min-width: 0;
    }

.box {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.1);

        min-width: 0;
        width: 100%;
    }

.box h2 {
        margin-bottom: 20px;
    }

.box p {
        color: black;
        padding: 8px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

.contact-item {
        margin: 20px 0;
        min-width: 0;
    }

.contact-item h3 {
        margin-bottom: 5px;
    }

.contact-item a {
        color: #222;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

.contact-item a:hover {
        color: #0066cc;
    }

.contact-item-location {
        width: 100%;
        min-width: 0;
    }

form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 7px;
    line-height: 1.4;
}

form input,
form textarea,
form select,
form button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

form input,
form textarea,
form select {
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    background: white;
    color: #222;
}

form input,
form select {
    min-height: 48px;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 2px rgba(184,134,11,0.12);
}

form textarea {
    min-height: 150px;
    height: 150px;
    resize: vertical;
}

.required {
    color: #c00;
}

.dynamic-field {
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.checkbox-dropdown {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.checkbox-dropdown-button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;

    padding: 13px;

    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;

    font-size: 15px;
    text-align: left;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;

    color: #222;

    overflow: hidden;
}

.checkbox-dropdown-button:hover {
    background: white;
    color: #222;
    transform: none;
}

.checkbox-dropdown-button.active {
    border-color: #b8860b;
    box-shadow: 0 0 0 2px rgba(184,134,11,0.12);
}

.checkbox-dropdown-button > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 12px;
    flex: 0 0 auto;
}

.checkbox-options {
    display: none;

    position: absolute;
    top: calc(100% + 5px);
    left: 0;

    width: 100%;
    max-width: 100%;

    max-height: 45vh;

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    z-index: 100;

    padding: 8px;
}

.checkbox-options.show {
    display: block;
}

.checkbox-option {
    display: flex;
    align-items: center;

    gap: 10px;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 10px;

    margin: 0;

    cursor: pointer;
    font-weight: normal;

    border-radius: 5px;

    line-height: 1.4;

    overflow-wrap: anywhere;
}

.checkbox-option:hover {
    background: #f5f5f5;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    max-width: 18px;

    height: 18px;
    min-height: 18px;

    margin: 0;

    padding: 0;

    flex: 0 0 18px;

    cursor: pointer;
}

.selection-limit {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
}

form button[type="submit"] {
    width: 100%;
    max-width: 100%;

    min-height: 48px;

    padding: 13px;

    border: none;

    background: #111;
    color: white;

    border-radius: 5px;

    cursor: pointer;

    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;

    transition: 0.3s;
}

form button[type="submit"]:hover {
    background: #ffd700;
    color: #111;
    transform: scale(1.02);
}

form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    display: none;

    width: 100%;
    max-width: 100%;

    margin: 0 0 20px 0;

    padding: 15px 18px;

    border-radius: 8px;

    font-weight: bold;
    text-align: center;

    line-height: 1.5;

    overflow-wrap: anywhere;
}

.form-message.success {
    display: block;
    background: #e8f7ee;
    color: #176b3a;
    border: 1px solid #9ed7b5;
}

.form-message.error {
    display: block;
    background: #fdecec;
    color: #a12626;
    border: 1px solid #e2a2a2;
}

@media (max-width: 900px) {

    .container {
        width: 94%;
        max-width: 700px;
        grid-template-columns: 1fr;
    }

    .box {
        width: 100%;
    }

    .footer-container {
        gap: 40px;
    }

}

@media (max-width: 800px) {

    header {
        position: relative;

        display: flex;
        flex-direction: row;

        justify-content: space-between;
        align-items: center;

        flex-wrap: wrap;

        padding: 15px 5%;
    }

    .logo {
        order: 1;

        display: flex;
        align-items: center;

        gap: 10px;

        margin-right: auto;

        max-width: calc(100% - 60px);
    }

    .menu-button {
        display: block;

        order: 2;

        margin-left: auto;

        flex-shrink: 0;
    }

    nav#main-nav {
        order: 3;

        width: 100%;

        display: flex;

        flex-direction: column;
        align-items: center;

        max-height: 0;

        overflow: hidden;

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            max-height 0.45s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    nav#main-nav.show {
        max-height: 500px;

        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }

    nav#main-nav a {
        display: block;

        width: 100%;

        text-align: center;

        margin: 0 !important;

        padding: 12px 10px;

        border-top: 1px solid #333;
    }

    .container {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    header {
        padding: 12px 4%;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo h2 {
        font-size: 18px;
    }

    .hero {
        padding: 50px 18px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
    }

    .container {
        width: 94%;
        max-width: 100%;
        margin: 30px auto;
        gap: 20px;
    }

    .box {
        padding: 22px 18px;
        border-radius: 9px;
    }

    .box h2 {
        font-size: 24px;
    }

    form input,
    form textarea,
    form select,
    .checkbox-dropdown-button,
    form button[type="submit"] {
        font-size: 16px;
    }

    form input,
    form select,
    .checkbox-dropdown-button {
        min-height: 48px;
    }

    form textarea {
        min-height: 150px;
    }

    .checkbox-options {
        max-height: 50vh;
        padding: 6px;
    }

    .checkbox-option {
        padding: 11px 8px;
        gap: 9px;
    }

    .selection-limit {
        font-size: 12px;
    }

    .form-message {
        padding: 13px;
        font-size: 14px;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float a {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float img {
        width: 33px;
        height: 33px;
    }

    footer {
        padding: 35px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column{
    text-align: left;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

}

@media (max-width: 380px) {

    .hero h1 {
        font-size: 28px;
    }

    .container {
        width: 96%;
    }

    .box {
        padding: 18px 14px;
    }

    .box h2 {
        font-size: 21px;
    }

    .checkbox-dropdown-button {
        padding: 12px 10px;
    }

    .checkbox-option {
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

}
