.contact-bg {
    background: linear-gradient(90deg, rgba(217, 187, 255, 0.4) 0%, rgba(217, 187, 255, 0.4) 100%);
    display: flex;
    padding: 20px 10px;
    border-radius: 8px;
}


.form-input {
    --width-of-input: 200px;
    --border-height: 1px;
    --border-before-color: rgba(221, 221, 221, 0.39);
    --border-after-color: #5891ff;
    --input-hovered-color: #4985e01f;
    position: relative;
    width: var(--width-of-input);
}

.form-control.custom-input {
    border: none;
    border-radius: 7px;
    background-color: #F9F9F9;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* .form-control.custom-input:focus {
    outline: none;
    box-shadow: none;
} */
/* 
.custom-input::placeholder {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    opacity: 1;
} */

.btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.btn-contact .btn-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-contact:hover {
    padding-right: 30px;
}

.btn-contact:hover .btn-text {
    transform: translateX(-8px);
}

.btn-contact:hover .btn-icon {
    width: 20px;
    height: 20px;
    border-radius: 100px;
    opacity: 1;
    background-color: #fff;
}


.contact-map {
    margin-top: 100px;
    padding: 0;
}

.contact-map .container {
    position: relative;
    height: 550px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.contact-info-card {
    position: absolute;
    top: -50px;
    left: 70px;
    z-index: 100;
    border-radius: 0 8px 8px 8px;
    background-color: #7923D8;
    color: #fff;
    padding: 60px 15px 0px 15px;
}

.contact-info-card::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -35px;
    width: 0;
    height: 0;
    border-bottom: 52px solid #43028C;
    border-left: 35px solid transparent;
}

.contact-info-card .card-body {
    width: 355px;
}

.contact-info-card .card-body {
    color: white;
}

h2.card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 5%;
}


.icon-wrapper {
    width: 52px;
    height: 52px;
    background-color: #fff;
    flex-shrink: 0;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.icon-wrapper i {
    font-size: 24px;
    text-align: center;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}

.info-text {
    font-family: 'Nunito', sans-serif;
    line-height: 25px;
    letter-spacing: 0%;
}

.contact-map {
    margin-top: auto;
}

.contact-info {
    position: relative;
    background: none; /* tắt background chính */
    min-height: 400px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.contact-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(115, 167, 255, 0.63), rgba(115, 167, 255, 0.63)), url('../images/bglogin.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* chỉ áp dụng cho nền */
    z-index: -1;
    border-radius: 20px;
}

.contact-info > * {
    position: relative;
    z-index: 3;
}


.contact-title {
    font-size: 45px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}


.contact-subtitle {
    color: #333;
    font-size: 20px;
}

.info-card.card {
    background: var(--gradient-bg-secondary);
    border: none;
    border-radius: 10px;
    box-shadow: 0px 4px 20.4px 0px #0000000A;
    max-width: 1100px;
    margin: 20px 10px;
    z-index: 3;
    position: absolute;
    bottom: -50px;
    padding: 10px;
}

.card-text {    
    
    text-align: left;
}

.icon-wrapper {
    background-color: #fff;
    color: #2f80ed;
    border-radius: 50%;
    padding: 12px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 4px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-text {
    font-size: 14px;
}


@media (max-width: 992px) {
    .info-card {
        position: static !important;
        justify-content: start !important;
    }
}