:root {
    --bg-header-top: #820018;
    --bg-footer: #ffffff;
    --bg-copyright: #ebebeb;
    --bg-body: #EBEBEB;
    --bg-menu: #ffffff;
    --color-red: #D30000;
    --color-body: #343a40;
}


.border {
    border-left: 1px solid var(--color-body);
    border-right: 1px solid var(--color-body);
}

.padding-form {
    padding: 60px 120px;
}

.form-section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0px auto;
    max-width: 1200px;
}

.form-section .title {
    flex: 1;
    max-width: 300px;
    transform: translateY(-50%);
}

.form-section .title>h3 {
    color: var(--bg-menu);
    border-bottom: 1px solid var(--bg-menu);
    font-weight: bold;
}

.form-section form {
    flex: 1;
    max-width: 460px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    height: 50px;
    padding: 10px 10px;
    font-size: 14px;
    background-color: #f2f2f2;
    border-radius: 4px;
    border: none;
}

.form-group input[type="text"]:hover,
.form-group input[type="email"]:hover,
.form-group textarea:hover {
    border-color: rgba(255, 204, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.5);
    background-color: #ffffff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 204, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.5);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.btn-submit {
    color: white;
    padding: 10px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin-left: auto;
    background: var(--color-red);
}

.address-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: wrap;
    width: 100%;
    margin: 15px auto;
    max-width: 1200px;
    gap: 40px;
}

.title-main {}

.title p {
    font-size: 24px;
    color: var(--color-red);
    font-weight: lighter;
}

.title h3 {
    font-size: 36px;
    text-transform: uppercase;
}

.item-address {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-flow: wrap;
    width: 100%;

}

.item-address-contact {
    width: calc(100% / 3);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-address-contact {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.img-address-contact>i {
    color: var(--color-red);
}

.img-address-contact .fa-location-dot {
    font-size: 28px;
}

.img-address-contact .fa-phone-flip {
    font-size: 28px;
}

.img-address-contact .fa-envelope {
    font-size: 28px;
}

.text-address-contact {
    margin-top: 10px;
    margin-left: 10px;
    line-height: 22px;
    text-align: center;
}

.text-address-contact span {
    color: #9b9b9b;
    font-size: 10px;
}

.text-address-contact p {
    color: #000000;
    font-size: 16px;
    font-weight: lighter;
}

.map-section {
    text-align: center;
    margin: 15px auto;
    max-width: 1200px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* 4K and Ultra-wide Screens */
@media (min-width: 1600px) {}

/* Ultra Large Devices (Extra Large Desktop) */
@media (max-width: 1599px) {}

/* XXL Devices (Large Desktop) */
@media (max-width: 1399px) {}

/* Extra Large Devices (Small Desktop) */
@media (max-width: 1199px) {
    .address-contact {
        flex-direction: column;
    }

    .item-address-contact {
        width: 100%;
    }
}

/* Large Devices (Tablets) */
@media (max-width: 991px) {}

/* Medium Devices (Tablets) */
@media (max-width: 767px) {}

/* Small Devices (Phones) */
@media (max-width: 575px) {
    .padding-form {
        padding: 60px 10px 60px 10px;
    }

    .form-section {
        padding: 60px 20px 40px 20px;
        flex-direction: column;
        width: 100%;
        align-items: normal;
    }

    .title>h3 {
        font-size: 24px;
    }

    .title>p {
        font-size: 16px;
    }
}

/* Extra Small Devices */
@media (max-width: 374px) {}


.background-image {
    background-image: url('../images/background_contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-gray {
    background-color: var(--bg-body);
    padding: 60px 0px;
}

.container_custom {
    padding: 60px 0px 0px 0px;
}