﻿/* Global styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Container */
.body-lienhe {
    max-width: 1200px;
    margin: 60px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease-in-out;
    margin-top: -1.0rem !important;
}

/* Header */
.lienhe-header {
    font-size: 28px;
    font-weight: 700;
    padding: 15px;
    background: linear-gradient(90deg, #dc3545, #ff7675);
    color: #fff;
    text-align: center;
    border-radius: 10px 10px 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Info layout */
.lienhe-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.info-left,
.info-right,
.guithongtin,
.thongtinnhom {
    flex: 1 1 48%;
    background-color: #fefefe;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .info-left:hover,
    .info-right:hover,
    .guithongtin:hover,
    .thongtinnhom:hover {
        transform: translateY(-5px);
    }

/* Google Map */
iframe {
    border: 0;
    width: 100%;
    border-radius: 10px;
    height: 400px;
}

/* Form Styles */
table {
    width: 100%;
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 10px;
}

input, textarea {
    padding: 12px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

    input:focus,
    textarea:focus {
        border-color: #ff7675;
        outline: none;
        box-shadow: 0 0 4px rgba(255, 118, 117, 0.5);
    }

button {
    padding: 12px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

    button:hover {
        background: #a71d2a;
    }

/* Group Table */
.thongtinnhom table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.thongtinnhom th,
.thongtinnhom td {
    padding: 10px;
    border: 1px solid #dc3545;
    text-align: center;
}

.thongtinnhom tr:nth-child(even) {
    background-color: #f9f9f9;
}

.thongtinnhom th {
    background-color: #dc3545;
    color: #fff;
    font-weight: 600;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .lienhe-info {
        flex-direction: column;
    }

    .info-left,
    .info-right,
    .guithongtin,
    .thongtinnhom {
        flex: 1 1 100%;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
