
.cs-container {
    max-width: calc(100% - 150px);
    margin: 100px auto;
}

.cs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cs-service-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0px 4px 4px 0px #00000040;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.cs-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/*.cs-service-card.cs-active {*/
/*    border-color: #ff6b35;*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);*/
/*}*/

.cs-service-card.cs-active{
    background: #001D67;
    color: white;
}

.cs-service-card.cs-active .cs-service-title::after {
    background: white !important;
}

.cs-service-card.cs-active .cs-contact-info p {
    color: white !important;
}

/*.cs-service-card.cs-business.cs-active {*/
/*    border-color: #60a5fa;*/
/*    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);*/
/*}*/

.cs-service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.cs-service-icon svg {
    width: 40px;
    height: 40px;
}

.cs-service-title {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.125rem; /* 18px ÷ 16 = 1.125rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    position: relative;

}

.cs-service-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1.5px;
    background: black;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.cs-service-description {

    opacity: 0.8;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 0.9375rem; /* 15px ÷ 16 = 0.9375rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0;

}

.cs-contact-info {
    margin-bottom: 20px;
}

.cs-contact-info p {
    margin-bottom: 5px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 0.9375rem; /* 15px ÷ 16 = 0.9375rem */
    line-height: 1; /* 20% = 0.2 */
    letter-spacing: 0;
    color: black;

}

.cs-connect-btn {
    background: #F15B22;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 50%;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 0.9375rem; /* 15px ÷ 16 = 0.9375rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    text-align: center;

}

.cs-connect-btn:hover {
    background: #e55a2b;
}

.cs-business .cs-connect-btn {
    background: transparent;
    border: 1px solid white;
}

.cs-business .cs-connect-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Form Styles */
.cs-form-container {
    margin-top: 80px;
}

.cs-form-section {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0px 4px 6px 0px #00000033;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.cs-form-section.cs-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cs-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cs-form-title {
    text-align: center;
    color: #333;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.5rem; /* 32px ÷ 16 = 2rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    margin-bottom: 10px;

}
.cs-form-title.business {
    text-align: center;
    color: white;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 2rem; /* 32px ÷ 16 = 2rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    margin-bottom: 10px;

}


.cs-form-subtitle {
    text-align: center;
    color: #6D6C7B;
    margin-bottom: 50px;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1rem; /* 16px ÷ 16 = 1rem */
    line-height: 1; /* 100% = 1 */
    letter-spacing: 0;

}
.cs-form-subtitle.business {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1rem; /* 16px ÷ 16 = 1rem */
    line-height: 1; /* 100% = 1 */
    letter-spacing: 0;

}

.cs-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 20px;
}
.cs-form-grid.advise {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs-form-group {
    display: flex;
    flex-direction: column;
}

.cs-form-group.cs-full-width {
    grid-column: 1 / -1;
}

.cs-form-label {
    margin-bottom: 8px;
    color: black;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 0.75rem; /* 18px ÷ 16 = 1.125rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    text-transform: capitalize;

}
.cs-form-label.business {
    margin-bottom: 8px;
    color: white;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 0.85rem; /* 18px ÷ 16 = 1.125rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    text-transform: capitalize;

}

.form-left, .form-middle, .form-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-left.advise, .form-right.advise {
    flex: 2;
}
 .form-right.advise{
     width: 100%;
     height: 50vh;
 }
.cs-row.advise{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.cs-row.advise .cs-form-group{
   flex: 1;
}
.form-left.advise{
    background: url("../public/BeautyPlus-Image-Enhancer-1751517706974.png");
    margin-left: -70px;
    background-size: contain;
    background-position: center;
    width: 350px;
    height: 350px;
    background-repeat: no-repeat;
}
.form-right.advise input::placeholder,.form-right.advise textarea::placeholder {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 0.75rem;       /* 18px ÷ 16 = 1.125rem */
    line-height: 1.2;          /* 120% = 1.2 */
    letter-spacing: 0;         /* 0% = 0 */
    text-transform: capitalize;
               /* Đảm bảo hiển thị rõ */
}
.cs-submit-btn.advise{
    margin-left: 0px !important;
}


.cs-form-input, .cs-form-select, .cs-form-textarea {
    padding: 15px;
    border: 2px solid black;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    background: transparent;
}
.cs-form-input.business, .cs-form-select.business, .cs-form-textarea.business {
    padding: 15px;
    border: 2px solid white;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    background: transparent;
    color: white;
}

.area-code {
    background: transparent;
    color: black;
    padding: 10px;
    font-weight: 600;
    border-right: 2px solid black;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.area-code.business {
    background: transparent;
    color: white;
    padding: 11px;
    font-weight: 600;
    border-right: 2px solid white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.cs-phone {
    display: flex;
    border: 2px solid #222;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
}
.cs-phone.business {
    display: flex;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
}

.cs-phone input {
    border: none !important;
}

.cs-form-input:focus, .cs-form-select:focus, .cs-form-textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.cs-form-textarea {
    resize: vertical;
    min-height: 120px;
    height: 200px;
}

.cs-submit-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    transition: background 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;        /* 20px */
    line-height: 1.5;          /* 150% */
    letter-spacing: 0;
    text-align: center;

}

.cs-submit-btn:hover {
    background: #F15B22;
}

/* Active indicator */
/*.cs-service-card::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: -2px;*/
/*    left: -2px;*/
/*    right: -2px;*/
/*    bottom: -2px;*/
/*    background: linear-gradient(45deg, #ff6b35, #e55a2b);*/
/*    border-radius: 14px;*/
/*    z-index: -1;*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*}*/

.cs-service-card.cs-active::after {
    opacity: 1;
}

/*.cs-service-card.cs-business::after {*/
/*    background: linear-gradient(45deg, #60a5fa, #3b82f6);*/
/*}*/
.cs-form-section.communication, .cs-form-section.business {
    position: relative;
}

.cs-form-section.communication::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 22.5%, rgba(255, 255, 255, 0.9) 100%),
    url("../public/4f20ae03e634a426530431aa9e36613c3a342b62.jpg");
    background-position: center;
    transform: scaleX(-1); /* Xoay ngược ảnh theo chiều ngang */
    z-index: -1;
    background-size: cover;
}
.cs-form-section.support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 22.5%, rgba(255, 255, 255, 0.9) 100%),
    url("../public/178080ab4ce361b76732b031b829719bd223a660.jpg");
    background-position: center;
    z-index: -1;
    background-size: cover;
}
.cs-form-section.business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(0, 58, 205, 0) 16.5%, rgba(0, 29, 103, 0.8) 80%),
    url("../public/685c7006db9719f0261159538afba2205883059b.jpg");
    background-position: center;
    z-index: -1;
    background-size: cover;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;

}
.radio-group.business {
    display: flex;
    gap: 20px;
    margin-top: 5px;
    color: white;

}

.radio-group label {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.radio-group.business label {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.hidden {
    display: none;
}
/* ... (CSS cũ giữ nguyên) ... */

/* Dropdown Styles */
.dropdown-wrapper {
    position: relative;
    z-index: 1001;
    border-radius: 10px;
    border: 2px solid black;
}
.cs-form-group.menu{
    position: relative;
}
.dropdown-wrapper:hover{
    cursor: pointer;
}
.cs-form-input.business.service-input{
    border: none !important;
}
.cs-form-input.service-input{
    border: none !important;
}
.dropdown-wrapper.business {
    position: relative;
    z-index: 1001;
    border-radius: 10px;
    border: 2px solid white;
}


.dropdown-wrapper.business::before {
    content: "\f13a";
    font-family: FontAwesome;
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    text-align: center;
    font-size:  1.75rem;
    line-height: 50px;
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}
.dropdown-wrapper::before {
    content: "\f13a";
    font-family: FontAwesome;
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    text-align: center;
    font-size:  1.75rem;
    line-height: 50px;
    color: black;
    background-color:transparent;
    pointer-events: none;
}
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* overlay mờ */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.cs-form-title.dialog{
    text-align: left !important;
    margin-bottom: 20px !important;
}
.cs-form-title.advise{
    text-align: right !important;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.25rem;           /* 24px ÷ 16 = 1.5rem */
    line-height: 1.5;            /* 150% = 1.5 (tỉ lệ so với font-size) */
    letter-spacing: 0;           /* 0% = 0 */

}
.cs-form-group.full {
    grid-column: 1 / -1;
}
.dialog-box {
    background: #fff;
    padding: 30px;
    border-radius: 32px;
    max-width: 100%;
    width: 70%;
    position: relative;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dialog-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.hidden {
    display: none;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
    margin: 4px 0 0 0;
    list-style: none;
}

.dropdown-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
}

.dropdown-list li:hover {
    background-color: #f3f3f3;
}

.hidden {
    display: none;
}
@media (max-width: 768px) {
    .cs-form-grid {
        grid-template-columns: 1fr;
    }

    .cs-services-grid {
        grid-template-columns: 1fr;
    }

    .cs-form-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
