/* ===== FONT ===== */
body {
    font-family: 'Be Vietnam Pro', Arial, sans-serif;
}

/* ===== HERO ===== */
.contact-hero {
    background: linear-gradient(135deg, #8e0000 0%, #c62828 50%, #e53935 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/bn1.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.contact-hero-content h1 i {
    margin-right: 12px;
    font-size: 34px;
}

.contact-hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* ===== SECTION ===== */
.contact-section {
    background: #f4f6f9;
    padding: 70px 40px;
}

/* ===== WRAPPER ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

/* ===== INFO ===== */
.contact-info {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.contact-info h2,
.contact-form-box h2 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.contact-info-sub {
    font-size: 14px;
    color: #999;
    margin: 0 0 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #c62828, #e53935);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(198,40,40,0.25);
}

.info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.info-item p a {
    color: #c62828;
    text-decoration: none;
    font-weight: 600;
}

.info-item p a:hover {
    text-decoration: underline;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c62828;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid #e0e0e0;
}

.contact-socials a:hover {
    background: linear-gradient(135deg, #c62828, #e53935);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(198,40,40,0.3);
}

/* ===== FORM BOX ===== */
.contact-form-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #43a047;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

/* ===== FORM ===== */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.form-group label span {
    color: #c62828;
    margin-left: 2px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
}

.input-icon-wrap input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}

.input-icon-wrap input:focus {
    outline: none;
    border-color: #c62828;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(198,40,40,0.08);
}

.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    resize: vertical;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}

.form-group textarea:focus {
    outline: none;
    border-color: #c62828;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(198,40,40,0.08);
}

/* ===== NÚT GỬI ===== */
.btn-send {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #c62828, #e53935);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(198,40,40,0.3);
    font-family: inherit;
}

.btn-send:hover {
    background: linear-gradient(135deg, #8e0000, #c62828);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(198,40,40,0.4);
}

.btn-send:active {
    transform: translateY(0);
}

/* ===== MAP ===== */
.contact-map {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-map iframe {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-hero-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 50px 16px;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-box,
    .contact-info {
        padding: 28px 20px;
    }
}
