:root {
    --primary-color: #003f87;
    /* Màu xanh dương chính */
    --primary-dark: #145A8E;
    /* Màu xanh dương đậm */
    --secondary-color: #0F4C81;
    /* Màu xanh đậm gần navy */
    --text-dark: #333333;
    --text-light: #767676;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #f5f7fa;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

.contact-wrapper {
    padding: 80px 0;
}

.contact-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

/* Left side - Contact Info */
.contact-info-section {
    background: var(--gradient);
    color: var(--white);
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAwIEwxMDAgMTAwIE0xMDAgMCBMMCAxMDAiIHN0cm9rZT0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjEpIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==');
    opacity: 0.2;
}

.contact-info-content {
    padding: 40px 30px;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
    /*flex-grow: 1;*/
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.icon-box i {
    font-size: 16px;
}

.contact-text h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Right side - Contact Form */
.contact-form-section {
    background-color: var(--white);
}

.contact-form-content {
    padding: 40px 30px;
}

.contact-form-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-floating {
    position: relative;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 20px;
    height: 58px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    border-color: var(--primary-color);
}

.form-floating label {
    padding-left: 16px;
}

.form-floating label i {
    margin-right: 6px;
    color: var(--primary-color);
}

textarea.form-control {
    min-height: 120px;
    resize: none;
}

.btn-submit {
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

.alert {
    border-radius: 10px;
    padding: 15px;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.alert ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .contact-info-section {
        border-radius: 16px 16px 0 0;
    }

    .contact-info-content {
        padding: 30px 20px;
    }

    .contact-form-content {
        padding: 30px 20px;
    }

    .contact-title,
    .contact-form-content h2 {
        font-size: 24px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeIn 0.6s ease-out;
}