﻿.expert-services-section {
    padding: 60px 0;
}

.expert-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.expert-services-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: fit-content;
    max-width: 100%;
    padding: 0px 45px;
    background-image: url('../images/frontend-pages/adtify-normal.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    font-size: 56px;
    font-weight: 600;
}

.expert-badge .badge-label {
    display: inline-flex;
    align-items: center;
    transform: rotate(-0.48deg);
}

.expert-title {
    font-size: 56px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

.expert-description {
    font-size: 20px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    max-width: 620px;
    font-weight: 500;
}

.expert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.btn-gradient,
.btn-outline-rounded{
    font-size: 28px;
    font-weight: 0;
}

.consultation-section {
    padding: 80px 0;
}

.consultation-container {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    width: calc(100% - 32px);
    padding: 48px 48px 56px;
    background: linear-gradient(to right, rgba(238, 227, 248, 0.1) 0%, rgba(178, 95, 253, 0.3) 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #EEE3F8;
}

.consultation-container::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 24px;
    background: linear-gradient(to right, #FFFFFF 0%, #EEE3F8 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.consultation-container > * {
    position: relative;
    z-index: 1;
}

.consultation-header {
    margin-bottom: 32px;
}

.consultation-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.consultation-title-text {
    font-size: 48px;
    font-weight: 700;
    color: #8105BD;
    line-height: 1.2;
}

.consultation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: fit-content;
    max-width: 100%;
    padding: 0 30px;
    background-image: url('../images/frontend-pages/badge-consultation.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    font-size: 48px;
    font-weight: 600;
}

.lang-vi .consultation-badge {
    background-image: url('../images/frontend-pages/vi-badge-consultation.png');
}

.consultation-badge .badge-label {
    display: inline-flex;
    align-items: center;
    transform: rotate(-0.77deg);
}

.consultation-subtitle {
    font-size: 20px;
    color: #000000;
    margin: 0;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 16px 20px;
}

.form-field {
    position: relative;
}

.form-field label {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #383838;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 47%);
    padding: 0 4px;
    z-index: 1;
}

.form-field input {
    width: 100%;
    height: 48px;
    padding: 12px 14px;
    border: 0.5px solid #979797;
    border-radius: 8px;
    font-size: 16px;
    color: #2d2d2d;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
    border-color: #8105BD;
    box-shadow: 0 0 0 3px rgba(129, 5, 189, 0.1);
}

.consultation-actions {
    display: flex;
    justify-content: center;
}

.consultation-submit {
    min-width: 200px;
    height: 52px;
    font-size: 18px;
    line-height: 52px;
    padding: 0 24px;
    background: #8105BD !important;
    border: none;
}

@media (max-width: 1024px) {
    .consultation-container {
        padding: 40px 32px 48px;
    }

    .consultation-title-text {
        font-size: 42px;
    }

    .consultation-subtitle {
        font-size: 17px;
    }

    .consultation-badge {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .consultation-section {
        padding: 60px 0;
    }

    .consultation-container {
        padding: 32px 24px 40px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .consultation-title-text {
        font-size: 30px;
    }

    .consultation-subtitle {
        font-size: 16px;
    }

    .consultation-badge {
        padding: 0 30px;
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .consultation-section {
        padding: 40px 0 0;
    }

    .consultation-container {
        width: calc(100% - 16px);
        padding: 28px 18px 36px;
    }

    .consultation-title-row {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .lang-vi .consultation-title-row {
        flex-direction: row;
    }

    .consultation-title-text {
        font-size: 28px;
    }

    .expert-title{
        font-size: 28px !important;
    }

    .expert-badge{
        font-size: 28px !important;
    }

    .consultation-subtitle {
        font-size: 15px;
    }

    .consultation-submit {
        width: 100%;
    }

    .consultation-badge {
        padding: 0 24px;
        font-size: 28px;
        width: fit-content;
    }
}

.expert-services-media {
    text-align: right;
}

.expert-services-image {
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
    object-fit: cover;
}

@media (max-width: 1200px) {
    .expert-badge {
        font-size: 42px;
    }
}

@media (max-width: 1024px) {
    .expert-services-section {
        padding: 70px 0;
    }

    .expert-services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .expert-services-media {
        text-align: center;
    }

    .expert-services-image {
        max-width: 520px;
    }

    .expert-title {
        font-size: 42px;
    }

    .expert-description{
        max-width: 100%;
    }

    .expert-actions {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .expert-actions .btn-gradient,
    .expert-actions .btn-outline-rounded {
        flex: 1;
        text-align: center;
        justify-content: center;
        height: 48px;
        padding: 0 20px;
        font-size: 18px;
        line-height: 48px;
    }
}

@media (max-width: 768px) {
    .expert-services-section {
        padding: 40px 0;
    }

    .expert-badge {
        padding: 0px 30px;
        font-size: 40px;
    }

    .expert-title {
        font-size: 38px;
    }

    .expert-description {
        font-size: 17px;
    }

    .expert-actions {
        gap: 10px;
    }

    .expert-actions .btn-gradient,
    .expert-actions .btn-outline-rounded {
        height: 48px;
        padding: 0 24px;
        font-size: 18px;
        line-height: 48px;
    }
}

@media (max-width: 576px) {
    .expert-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .expert-actions .btn-gradient,
    .expert-actions .btn-outline-rounded {
        width: 100%;
        text-align: center;
        justify-content: center;
        height: 44px;
        padding: 0 16px;
        font-size: 16px;
        line-height: 44px;
    }
}

