/* style/registration-guide.css */

/* Biến CSS */
:root {
    --page-registration-guide-primary-color: #007bff;
    --page-registration-guide-secondary-color: #ffc107;
    --page-registration-guide-text-dark: #212529; /* Cho nền sáng */
    --page-registration-guide-text-light: #f8f9fa; /* Cho nền tối */
    --page-registration-guide-bg-light: #f8f9fa;
    --page-registration-guide-bg-dark: #343a40;
    --page-registration-guide-border-color: #dee2e6;
}

.page-registration-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-registration-guide-text-dark);
    background-color: var(--page-registration-guide-bg-light);
}

.page-registration-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-registration-guide__hero-section {
    background: linear-gradient(135deg, var(--page-registration-guide-primary-color), #0056b3);
    color: var(--page-registration-guide-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-registration-guide__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
    animation: page-registration-guide-bubble 10s infinite ease-in-out;
}

.page-registration-guide__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: rotate(-45deg);
    animation: page-registration-guide-bubble 8s infinite reverse ease-in-out;
}

@keyframes page-registration-guide-bubble {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.2) translate(20px, 20px); opacity: 1; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.8; }
}

.page-registration-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-registration-guide__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-registration-guide__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1em;
}

.page-registration-guide__btn--primary {
    background-color: var(--page-registration-guide-secondary-color);
    color: var(--page-registration-guide-text-dark);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-registration-guide__btn--primary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-registration-guide__btn--secondary {
    background-color: var(--page-registration-guide-primary-color);
    color: var(--page-registration-guide-text-light);
    border: 2px solid var(--page-registration-guide-secondary-color);
}

.page-registration-guide__btn--secondary:hover {
    background-color: #0056b3;
    border-color: #e0a800;
    transform: translateY(-3px);
}

.page-registration-guide__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 20px;
    margin-top: 10px;
    margin-left: 10px;
}

/* Sections */
.page-registration-guide__why-register,
.page-registration-guide__steps-overview,
.page-registration-guide__detail-sections,
.page-registration-guide__important-notes,
.page-registration-guide__faq,
.page-registration-guide__cta-bottom {
    padding: 80px 0;
}

.page-registration-guide__section-title {
    font-size: 2.5em;
    color: var(--page-registration-guide-primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-registration-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-registration-guide-secondary-color);
    border-radius: 2px;
}

.page-registration-guide__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px auto;
    color: #555;
}

/* Why Register Section */
.page-registration-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-registration-guide__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-registration-guide__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-registration-guide__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 123, 255, 0.2));
}

.page-registration-guide__feature-title {
    font-size: 1.8em;
    color: var(--page-registration-guide-primary-color);
    margin-bottom: 15px;
}

.page-registration-guide__feature-description {
    color: #666;
}

/* Steps Overview Section */
.page-registration-guide__steps-overview {
    background-color: var(--page-registration-guide-bg-dark);
    color: var(--page-registration-guide-text-light);
}

.page-registration-guide__steps-overview .page-registration-guide__section-title {
    color: var(--page-registration-guide-text-light);
}

.page-registration-guide__steps-overview .page-registration-guide__section-title::after {
    background-color: var(--page-registration-guide-secondary-color);
}

.page-registration-guide__step-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.page-registration-guide__step-card {
    background-color: #495057;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.page-registration-guide__step-number {
    font-size: 3em;
    font-weight: bold;
    color: var(--page-registration-guide-secondary-color);
    margin-bottom: 15px;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.page-registration-guide__step-title {
    font-size: 1.8em;
    color: var(--page-registration-guide-text-light);
    margin-bottom: 15px;
}

.page-registration-guide__step-description {
    color: #ced4da;
    margin-bottom: 20px;
}

.page-registration-guide__step-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Detail Sections */
.page-registration-guide__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-registration-guide__detail-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-registration-guide__detail-title {
    font-size: 1.5em;
    color: var(--page-registration-guide-primary-color);
    margin-bottom: 15px;
}

.page-registration-guide__detail-title a {
    color: inherit;
    text-decoration: none;
}

.page-registration-guide__detail-title a:hover {
    text-decoration: underline;
}

.page-registration-guide__detail-description {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-registration-guide__link-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: var(--page-registration-guide-primary-color);
    color: var(--page-registration-guide-text-light);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.page-registration-guide__link-btn:hover {
    background-color: #0056b3;
}

/* Important Notes */
.page-registration-guide__important-notes {
    background-color: #e9ecef;
}

.page-registration-guide__notes-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-registration-guide__notes-list li {
    background-color: #fff;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid var(--page-registration-guide-secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.page-registration-guide__list-icon {
    color: var(--page-registration-guide-secondary-color);
    font-weight: bold;
    font-size: 1.5em;
    margin-right: 15px;
}

.page-registration-guide__text-center {
    text-align: center;
}

/* FAQ Section */
.page-registration-guide__faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.page-registration-guide__faq-item {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.page-registration-guide__faq-question {
    font-size: 1.3em;
    color: var(--page-registration-guide-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-registration-guide__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-registration-guide__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-registration-guide__faq-answer {
    color: #555;
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
    padding-top: 0;
}

.page-registration-guide__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

/* CTA Bottom */
.page-registration-guide__cta-bottom {
    background-color: var(--page-registration-guide-primary-color);
    color: var(--page-registration-guide-text-light);
    text-align: center;
    padding: 60px 0;
}

.page-registration-guide__cta-bottom .page-registration-guide__section-title {
    color: var(--page-registration-guide-text-light);
}

.page-registration-guide__cta-bottom .page-registration-guide__section-title::after {
    background-color: var(--page-registration-guide-secondary-color);
}

.page-registration-guide__cta-bottom .page-registration-guide__section-description {
    color: #e0e0e0;
    margin-bottom: 30px;
}

.page-registration-guide__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-registration-guide__hero-title {
        font-size: 2.5em;
    }

    .page-registration-guide__hero-subtitle {
        font-size: 1.2em;
    }

    .page-registration-guide__section-title {
        font-size: 2em;
    }

    .page-registration-guide__features-grid,
    .page-registration-guide__step-cards,
    .page-registration-guide__detail-list {
        grid-template-columns: 1fr;
    }

    .page-registration-guide__step-card {
        max-width: 100%;
    }

    .page-registration-guide__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-registration-guide__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-registration-guide__link-btn,
    .page-registration-guide__btn--small {
        display: block;
        width: fit-content;
        margin: 10px auto 0 auto;
    }
}

@media (max-width: 480px) {
    .page-registration-guide__hero-section,
    .page-registration-guide__why-register,
    .page-registration-guide__steps-overview,
    .page-registration-guide__detail-sections,
    .page-registration-guide__important-notes,
    .page-registration-guide__faq,
    .page-registration-guide__cta-bottom {
        padding: 50px 0;
    }

    .page-registration-guide__hero-title {
        font-size: 2em;
    }

    .page-registration-guide__hero-subtitle {
        font-size: 1em;
    }

    .page-registration-guide__section-title {
        font-size: 1.8em;
    }

    .page-registration-guide__feature-title,
    .page-registration-guide__step-title {
        font-size: 1.5em;
    }

    .page-registration-guide__detail-title {
        font-size: 1.3em;
    }
    .page-registration-guide__link-btn,
    .page-registration-guide__btn--small {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
}