/* Contact Page Styles */

/* Map & Headquarters */
.contact-map-container {
    border-radius: 0;
    overflow: hidden;
    min-height: 400px;
    background: #eee;
    height: 100%;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.headquarters-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branch-item {
    padding: 2rem;
    background: #f8f9fa;
    /* Light background for inactive */
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.branch-item.active {
    background: var(--primary, #003300);
    color: #fff;
    border-color: var(--primary, #003300);
}

.branch-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.branch-item.active .branch-name {
    color: #fff;
}

.branch-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.branch-info i {
    margin-top: 4px;
    width: 25px;
    flex-shrink: 0;
}

.branch-item:not(.active) .branch-info i {
    color: #999;
}

/* Connect Section */
.section-title-contact {
    font-size: 2rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 0;
}

.social-icons-contact {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.zalo {
    background: #0068FF;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .social-icons-contact {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .contact-map-container {
        min-height: 300px;
    }
}

/* Form Section */
.contact-form-custom {
    padding-top: 1rem;
}

.form-control-custom {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
    border-radius: 0;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
    color: #333;
}

.form-control-custom:focus {
    border-color: var(--primary, #003300);
    box-shadow: none;
}

.form-control-custom::placeholder {
    color: #aaa;
    font-weight: 300;
}

.btn-contact-submit {
    background: var(--primary, #0066FF);
    color: #fff;
    border: none;
    padding: 0.6rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 1rem;
    transition: all 0.3s;
}

.btn-contact-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-contact-reset {
    background: #757575;
    color: #fff;
    border: none;
    padding: 0.6rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-contact-reset:hover {
    background: #616161;
    transform: translateY(-2px);
}