﻿.contact-container {
    max-width: 1200px; /* Độ rộng tối đa Tuấn muốn */
    margin: 0 auto; /* Căn giữa toàn bộ vào giữa màn hình */
    padding: 0 20px; /* Khoảng cách an toàn để không bị dính mép khi thu nhỏ trình duyệt */
}
.contact-section {
    padding: 80px 10%; /* Đẩy toàn bộ nội dung vào giữa, tạo khoảng trống 2 bên lề */
    background-color: #0d1b3e; /* Màu nền tối của bạn */
    color: white;
}
.contact-heading {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: left;
    font-weight: bold;
}
.contact-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    color: #a8b2d1;
    line-height: 1.6;
    margin: 0;
}

/* Container chính để dàn hàng ngang */
.contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Để cột trái và card căn đỉnh bằng nhau */
    gap: 50px;
    width: 100%;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Card bên phải */
.info-card {
    flex: 1.5; /* Cho card rộng hơn cột chữ một chút */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
}

.info-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-right {
    flex: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.company-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.company-name {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    margin: 10px 0;
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
    margin-bottom: 8px;
}

.company-branding:hover .company-logo {
    transform: scale(1.1);
}

.company-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    width: 100%;
}

    .company-socials a {
        text-decoration: none;
        font-size: 1.4rem;
        color: #a8b2d1;
        transition: all 0.3s ease;
        display: inline-flex;
        border: none;
    }

        .company-socials a:hover {
            color: var(--accent-color);
            transform: translateY(-3px);
            text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
        }

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 15px;
}

    .info-item div {
        flex: 1;
    }

    .info-item i {
        font-size: 1.6rem;
        text-align: center;
        color: var(--accent-color);
        width: 35px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .info-item span {
        display: block;
        font-size: 0.7rem;
        color: var(--text-dim);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .info-item p {
        color: var(--text-main);
        font-weight: 500;
        line-height: 1.3;
        margin: 0;
        max-width: 320px;
        font-size: rem;
        white-space: nowrap; /* Ưu tiên nằm trên 1 dòng */
        word-break: normal; /* Đảm bảo email dài không bị tràn */
    }
/* TỐI ƯU HÓA CHO SMARTPHONE*/
@media screen and (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Chuyển thành 1 cột */
        text-align: center;
    }

    .info-card {
        flex-direction: column; /* Xếp chồng nội dung trong card */
        text-align: left;
    }

    .vach-ngan {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }
}