/* style/register.css */

/* Base Styles & Typography */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #ffffff;
}

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

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

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

.page-register__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-register__section-description--white {
    color: #f0f0f0;
}

/* 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: 18px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

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

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

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

.page-register__btn-secondary:hover {
    background-color: #f0f0f0;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

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

.page-register__hero-content-wrapper {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-register__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 22px;
    margin-bottom: 40px;
}

.page-register__hero-cta {
    padding: 18px 40px;
    font-size: 20px;
    border-radius: 10px;
    background-color: #EA7C07; /* Login color for primary CTA as per custom color rules */
    border-color: #EA7C07;
}

.page-register__hero-cta:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

/* Intro Section */
.page-register__intro-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

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

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

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

.page-register__benefit-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

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

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

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

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.page-register__step-text {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
}

.page-register__step-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

/* Video Section */
.page-register__video-section {
    padding: 80px 0;
    background-color: #26A9E0;
    text-align: center;
}

.page-register__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-register__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it behaves as a block element */
}

/* Promo Section */
.page-register__promo-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

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

.page-register__promo-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

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

/* Important Notes Section */
.page-register__important-notes-section {
    padding: 80px 0;
    background-color: #f0f5f8;
}

.page-register__notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-register__list-item {
    background-color: #ffffff;
    border-left: 5px solid #26A9E0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-register__list-text a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-register__list-text a:hover {
    text-decoration: underline;
}

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

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

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

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

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

.page-register__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
    content: '−'; /* Visually change to minus, JS will update textContent */
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    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;
    font-size: 16px;
}

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

.page-register__final-cta {
    padding: 18px 40px;
    font-size: 20px;
    border-radius: 10px;
    background-color: #EA7C07;
    border-color: #EA7C07;
}

.page-register__final-cta:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 42px;
    }
    .page-register__hero-description {
        font-size: 20px;
    }
    .page-register__section-title {
        font-size: 32px;
    }
    .page-register__section-description {
        font-size: 16px;
    }
    .page-register__benefit-title, .page-register__step-title, .page-register__promo-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-register__hero-title {
        font-size: 36px;
    }
    .page-register__hero-description {
        font-size: 18px;
    }
    .page-register__hero-cta {
        padding: 15px 30px;
        font-size: 18px;
    }
    .page-register__section-title {
        font-size: 28px;
    }
    .page-register__section-description {
        font-size: 15px;
    }
    .page-register__benefits-grid, .page-register__steps-grid, .page-register__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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;
    }

    /* Images responsive */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Video responsive */
    .page-register video,
    .page-register__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__video-section,
    .page-register__video-container,
    .page-register__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-register__video-wrapper {
        padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
    }

    .page-register__section, .page-register__card, .page-register__container, .page-register__faq-section, .page-register__hero-section, .page-register__intro-section, .page-register__benefits-section, .page-register__guide-section, .page-register__promo-section, .page-register__important-notes-section, .page-register__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px;
    }
    .page-register__list-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 30px;
    }
    .page-register__hero-description {
        font-size: 16px;
    }
    .page-register__hero-cta {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-register__section-title {
        font-size: 24px;
    }
    .page-register__benefit-title, .page-register__step-title, .page-register__promo-title {
        font-size: 20px;
    }
    .page-register__step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}