/* style/register.css */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for title */
    font-weight: bold;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
    filter: none; /* Ensure no filter is applied */
}

/* Section Titles */
.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;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    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: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box; /* Responsive button */
    white-space: normal; /* Responsive button text */
    word-wrap: break-word; /* Responsive button text */
}

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

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

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

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

.page-register__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Advantages Section */
.page-register__advantages-section {
    background-color: #1a1a1a; /* Lighter dark background for contrast */
    color: #ffffff;
    padding: 80px 0;
}

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

.page-register__advantage-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-register__advantage-item:hover {
    transform: translateY(-10px);
}

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

.page-register__advantage-description {
    color: #e0e0e0;
}

/* Steps Section */
.page-register__steps-section {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0;
}

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

.page-register__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border-bottom: 5px solid #26A9E0;
}

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

.page-register__step-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-register__step-description {
    color: #e0e0e0;
}

.page-register__steps-image-wrapper {
    margin: 50px auto 0;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-register__steps-image {
    width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* Security Section */
.page-register__security-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0;
}

.page-register__security-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-register__security-text {
    flex: 1;
}

.page-register__security-text p {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 1.1em;
}

.page-register__security-image-wrapper {
    flex: 1;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-register__security-image {
    width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* Promotions Section */
.page-register__promotions-section {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0;
}

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

.page-register__promotion-card {
    background-color: rgba(38, 169, 224, 0.1); /* Light transparent brand color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #26A9E0;
    transition: background-color 0.3s ease;
}

.page-register__promotion-card:hover {
    background-color: rgba(38, 169, 224, 0.2);
}

.page-register__promotion-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-register__promotion-description {
    color: #e0e0e0;
}

.page-register__promotions-image-wrapper {
    margin: 50px auto 0;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-register__promotions-image {
    width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

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

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

.page-register__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

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

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(45deg); /* Plus to X (or minus) */
}

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

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 25px;
}

.page-register__faq-answer p {
    margin: 0;
}

/* CTA Section */
.page-register__cta-section {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-register__cta-image-wrapper {
    margin: 50px auto 0;
    max-width: 1200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-image {
    width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-register__security-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-register__container {
        padding: 20px 15px;
    }
    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Images responsiveness */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-register__hero-image-wrapper,
    .page-register__steps-image-wrapper,
    .page-register__security-image-wrapper,
    .page-register__promotions-image-wrapper,
    .page-register__cta-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-register__cta-buttons,
    .page-register__button-group,
    .page-register__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-register__advantages-grid,
    .page-register__steps-grid,
    .page-register__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-register__security-content {
        gap: 30px;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 0 20px;
    }
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 15px 20px;
    }
}