.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-register__section-title {
    font-size: 32px;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #EA7C07;
    border-radius: 2px;
}

.page-register__center-button {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #26A9E0 0%, #007bff 100%); /* Slightly darker gradient for contrast */
    color: #ffffff;
    overflow: hidden;
}

.page-register__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-register__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-register__hero-image img:hover {
    transform: scale(1.03);
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-register__main-title {
    font-size: 44px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-register__cta-button:hover {
    background: #ff912a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-register__benefit-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__benefit-card img {
    width: 100%;
    max-width: 280px;
    height: 200px;
    object-fit: contain; /* Changed to contain for feature images */
    margin-bottom: 25px;
    border-radius: 8px;
}

.page-register__card-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__card-text {
    font-size: 16px;
    color: #555555;
}

/* Guide Section */
.page-register__guide-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-register__guide-section .page-register__section-title {
    color: #ffffff;
}

.page-register__guide-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.page-register__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 35px;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-register__step-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-register__step-number {
    font-size: 48px;
    font-weight: bold;
    color: #EA7C07;
    margin-bottom: 20px;
    line-height: 1;
}

.page-register__step-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__step-text {
    font-size: 16px;
    color: #f0f0f0;
}

/* Why Choose Section */
.page-register__why-choose-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    color: #333333;
}

.page-register__why-choose-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-register__why-choose-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: auto;
    object-fit: cover;
}

.page-register__why-choose-text {
    flex: 2;
}

.page-register__why-choose-text p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: #555555;
}

.page-register__why-choose-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-register__why-choose-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #444444;
}

.page-register__why-choose-text ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
}

.page-register__why-choose-text strong {
    color: #26A9E0;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-register__faq-section .page-register__section-title {
    color: #ffffff;
}

.page-register__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ容器样式 */
.page-register__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ默认状态 - 答案隐藏 */
.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: #333333;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-register__faq-item.active .page-register__faq-answer {
    max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
    padding: 20px !important;
    opacity: 1;
    background: #ffffff;
    border-radius: 0 0 10px 10px;
}

/* Vấn đề FAQ */
.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, border-radius 0.3s ease;
    position: relative;
}

.page-register__faq-item.active .page-register__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-register__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-register__faq-question:active {
    background: #eeeeee;
}

/* Tiêu đề câu hỏi */
.page-register__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện click */
    color: #26A9E0;
}

/* Biểu tượng chuyển đổi */
.page-register__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #EA7C07;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Ngăn chặn biểu tượng chặn sự kiện click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-register__faq-item.active .page-register__faq-toggle {
    color: #26A9E0;
    transform: rotate(45deg);
}

/* Conclusion Section */
.page-register__conclusion-section {
    padding: 80px 0;
    background-color: #f0f8ff; /* Light blue background */
    text-align: center;
    color: #333333;
}

.page-register__conclusion-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #555555;
}

/* Buttons */
.page-register__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-register__btn-primary:hover {
    background: #1e87c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-register__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-register__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 38px;
    }
    .page-register__hero-description {
        font-size: 17px;
    }
    .page-register__section-title {
        font-size: 28px;
    }
    .page-register__why-choose-content {
        flex-direction: column;
        align-items: center;
    }
    .page-register__why-choose-image {
        margin-bottom: 30px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__main-title {
        font-size: 32px;
    }
    .page-register__hero-description {
        font-size: 16px;
    }
    .page-register__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-register__section-title {
        font-size: 24px;
    }
    .page-register__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-register__benefit-card {
        padding: 20px;
    }
    .page-register__benefit-card img {
        max-width: 200px;
        
    }
    .page-register__card-title {
        font-size: 20px;
    }
    .page-register__guide-steps {
        flex-direction: column;
        align-items: center;
    }
    .page-register__step-item {
        max-width: 100%;
        padding: 25px;
    }
    .page-register__why-choose-text ul li {
        font-size: 15px;
    }
    .page-register__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-register__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-register__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-register__faq-answer {
        padding: 0 15px;
    }
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 15px !important;
    }
    .page-register__conclusion-text {
        font-size: 16px;
    }
    .page-register__btn-primary, .page-register__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__center-button {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Mobile image responsive */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__hero-image {
      margin-left: 0;
      margin-right: 0;
    }
    .page-register__hero-content {
      padding-left: 0;
      padding-right: 0;
    }
}