/* style/register.css */

/* Base styles for page-register */
.page-register {
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--black-color);
    font-family: Arial, sans-serif;
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-register__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-register__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-register__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Sections colors */
.page-register__dark-bg {
    background-color: var(--black-color);
    color: #ffffff;
    padding: 80px 0;
}

.page-register__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

/* Benefits Section */
.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: #f8f8f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-register__benefit-card:hover {
    transform: translateY(-10px);
}

.page-register__benefit-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__benefit-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

/* How to Register Section */
.page-register__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__step-item {
    padding: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    position: relative;
}

.page-register__step-number {
    font-size: 3em;
    color: #26A9E0;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-register__step-title {
    font-size: 1.6em;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.page-register__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-register__step-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.page-register__cta-bottom {
    margin-top: 60px;
}

/* Policy Section */
.page-register__policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__policy-item {
    padding: 25px;
    border-radius: 10px;
    background: #f8f8f8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-register__policy-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__policy-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
}

.page-register__policy-links {
    text-align: center;
    margin-top: 40px;
}

.page-register__text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.page-register__text-link:hover {
    color: #1a7fb3;
    text-decoration: underline;
}

/* Promotion Section */
.page-register__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__promo-card {
    padding: 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
}

.page-register__promo-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__promo-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__promo-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    color: #333333;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #f0f0f0;
}

.page-register__faq-heading {
    margin: 0;
    font-size: 1.1em;
    color: #333333;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f8f8;
    color: #555555;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-register__faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555555;
}

/* Final CTA Section */
.page-register__cta-final-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-register__cta-final-section .page-register__section-intro {
    color: #f0f0f0;
}

.page-register__cta-final-section .page-register__cta-buttons {
    margin-top: 40px;
}

/* General Image styles */
.page-register img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }

    .page-register__hero-description {
        font-size: 1.2em;
    }

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

@media (max-width: 768px) {
    .page-register__hero-section {
        height: auto;
        min-height: 70vh;
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-register__hero-title {
        font-size: 2.2em;
    }

    .page-register__hero-description {
        font-size: 1em;
    }

    .page-register__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-register__dark-bg, .page-register__light-bg {
        padding: 60px 0;
    }

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

    .page-register__section-intro {
        font-size: 1em;
    }

    .page-register__benefits-grid,
    .page-register__steps-grid,
    .page-register__policy-grid,
    .page-register__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-register__benefit-card,
    .page-register__step-item,
    .page-register__policy-item,
    .page-register__promo-card {
        padding: 20px;
    }

    .page-register__benefit-icon,
    .page-register__step-image,
    .page-register__promo-image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    .page-register__container,
    .page-register__section,
    .page-register__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-register__cta-buttons {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }

    .page-register__hero-description {
        font-size: 0.9em;
    }

    .page-register__section-title {
        font-size: 1.5em;
    }

    .page-register__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .page-register__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-register__faq-heading {
        font-size: 1em;
    }

    .page-register__faq-answer {
        padding: 0 20px;
    }

    .page-register__faq-item.active .page-register__faq-answer {
        padding: 10px 20px;
    }
}