/* General styling for the register page */
.page-register {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #F4F7FB; /* Background color from palette */
    color: #1F2D3D; /* Main text color */
    font-family: sans-serif; /* Roboto-like */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Default to column for mobile first approach */
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-bottom: 40px;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Blue gradient */
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    min-width: 200px; /* Min size for all images */
    min-height: 200px; /* Min size for all images */
}

.page-register__hero-content {
    max-width: 800px;
    color: #FFFFFF; /* White text on dark background */
}

.page-register__hero-title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* Using clamp for responsive font size, but within reasonable bounds */
    font-size: clamp(2rem, 5vw, 3rem); /* Example clamp, adjust as needed */
}

.page-register__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.page-register__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s ease;
    min-width: 200px; /* Ensure button is not too small */
    min-height: 44px; /* WCAG touch target */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
    opacity: 0.9;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.page-register__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: #1F2D3D;
    text-align: center;
}

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

.page-register__benefit-card {
    background-color: #FFFFFF; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-register__benefit-icon {
    width: 100%; /* Make image take full width of card (or close to it) */
    max-width: 400px; /* Max width for benefit images */
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    min-width: 200px; /* Min size for all images */
    min-height: 200px; /* Min size for all images */
}

.page-register__benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-register__benefit-description {
    font-size: 1rem;
    color: #1F2D3D;
}

/* Registration Guide Section */
.page-register__registration-guide-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    text-align: center;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF;
}

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

.page-register__step-item {
    padding: 20px;
    border-radius: 8px;
    background-color: #F4F7FB;
    border: 1px solid #D6E2FF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-register__step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.page-register__step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000;
}

.page-register__step-description {
    font-size: 0.95rem;
    color: #1F2D3D;
}

.page-register__cta-wrapper {
    margin-top: 30px;
}

.page-register__main-cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
    min-width: 200px; /* Ensure button is not too small */
    min-height: 44px; /* WCAG touch target */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-register__main-cta-button:hover {
    opacity: 0.9;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF;
}

.page-register__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-register__faq-item {
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    overflow: hidden;
    background-color: #F4F7FB;
}

.page-register__faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 20px;
    background-color: #E6F0FF; /* Lighter blue for question */
    color: #000000;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-register__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-register__faq-question.is-active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-register__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #1F2D3D;
}

.page-register__faq-answer.is-open {
    max-height: 200px; /* Adjust as needed for content */
    padding: 15px 20px;
}

.page-register__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}


/* Media Queries for Responsiveness */
@media (min-width: 768px) {
    .page-register__hero-section {
        flex-direction: row; /* Desktop: image and content side-by-side */
        text-align: left;
        padding: 40px;
    }

    .page-register__hero-image-wrapper {
        flex: 1;
        margin-right: 40px; /* Space between image and text */
        margin-bottom: 0;
    }

    .page-register__hero-content {
        flex: 1;
    }

    .page-register__benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-register__benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile specific rules for images and content area */
@media (max-width: 768px) {
    .page-register__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-register__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-register__benefits-grid {
        grid-template-columns: 1fr; /* Single column on small mobile */
    }

    .page-register__guide-steps {
        grid-template-columns: 1fr; /* Single column on small mobile */
    }

    /* Ensure all images within .page-register are responsive */
    .page-register img {
        max-width: 100%;
        height: auto;
        display: block; /* Ensure it behaves as a block element */
    }
}

/* Hero specific mobile rules as per 0.5 */
@media (max-width: 849px) {
    .page-register__hero-section {
        flex-direction: column; /* Stack image and text */
        text-align: center;
        padding: 20px;
    }
    .page-register__hero-image-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
        aspect-ratio: 16/10; /* Recommended aspect ratio for mobile hero visual */
        width: 100%;
    }
    .page-register__hero-image {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }
    .page-register__hero-content {
        width: 100%;
    }
}

/* Additional rules to ensure content area images are not smaller than 200px */
.page-register__benefit-card img,
.page-register__step-item img,
.page-register__hero-section img {
    min-width: 200px;
    min-height: 200px;
}

/* Ensure CSS does not contradict HTML width/height attributes for images */
/* The HTML width/height attributes are for the layout slot, CSS can make it responsive */
/* For example, hero image width="1200" height="675" (16:9), but on mobile it max-width: 100% and scales down. */
/* The important thing is that CSS doesn't force it smaller than the HTML attributes if it's not max-width: 100%; height: auto; */
/* Here, max-width: 100%; height: auto; is used, which is fine as it respects the aspect ratio and scales down. */