/* style/register.css */
.page-register {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-register__hero-section {
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Red gradient for hero background */
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff; /* White text for dark/gradient background */
}

.page-register__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    object-fit: cover; /* Ensures image covers area without distortion */
    max-width: 1200px; /* Ensure it respects container width */
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-register__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-register__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text for gold button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button is not too small */
    min-height: 50px;
    display: flex; /* Use flex to center text */
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.page-register__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-register__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-register__section-title {
    font-size: 2.2em;
    color: #8B0000; /* Deep red title */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

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

.page-register__value-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__value-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-register__value-heading {
    font-size: 1.5em;
    color: #8B0000; /* Deep red heading */
    margin-bottom: 15px;
}

.page-register__value-text {
    font-size: 1em;
    color: #555555;
}

.page-register__steps-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 60px 20px;
    margin-bottom: 60px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.page-register__steps-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.page-register__steps-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 200px; /* Minimum size */
}

.page-register__steps-list {
    flex: 1.5;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 300px;
}

.page-register__step-item {
    background-color: #ffffff;
    border-left: 5px solid #FFD700; /* Gold border */
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.page-register__step-item:last-child {
    margin-bottom: 0;
}

.page-register__step-item:hover {
    transform: translateX(5px);
}

.page-register__step-heading {
    font-size: 1.3em;
    color: #8B0000; /* Deep red heading */
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 1em;
    color: #555555;
}

.page-register__action-center {
    text-align: center;
    margin-top: 50px;
}

.page-register__action-button {
    display: inline-block;
    background-color: #8B0000; /* Deep red button */
    color: #FFD700; /* Gold text for deep red button */
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    min-width: 200px; /* Ensure button is not too small */
    min-height: 60px;
    display: flex; /* Use flex to center text */
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.page-register__action-button:hover {
    background-color: #6a0000;
    transform: translateY(-5px);
}

.page-register__conditions-section {
    margin-bottom: 60px;
}

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

.page-register__condition-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__condition-heading {
    font-size: 1.4em;
    color: #FFD700; /* Gold heading */
    margin-bottom: 10px;
}

.page-register__condition-text {
    font-size: 0.95em;
    color: #666666;
}

.page-register__faq-section {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 60px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-register__faq-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    justify-content: center;
}

.page-register__faq-image {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 200px; /* Minimum size */
}

.page-register__faq-items {
    flex: 2;
    min-width: 300px;
}

.page-register__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-register__faq-question {
    width: 100%;
    background-color: #FFD700; /* Gold background for question */
    color: #8B0000; /* Deep red text */
    padding: 18px 25px;
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.page-register__faq-icon::before,
.page-register__faq-icon::after {
    content: '';
    position: absolute;
    background-color: #8B0000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-register__faq-icon::before {
    width: 12px;
    height: 2px;
}

.page-register__faq-icon::after {
    width: 2px;
    height: 12px;
    transition: transform 0.3s ease;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg); /* Rotate to form a minus sign */
}

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

.page-register__faq-answer p {
    padding-bottom: 20px;
    margin-top: 15px;
}

.page-register__faq-answer[aria-hidden="false"] {
    max-height: 200px; /* Adjust as needed for content length */
    padding-top: 15px;
    padding-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .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__value-grid,
    .page-register__conditions-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-register__steps-wrapper,
    .page-register__faq-grid {
        flex-direction: column;
        align-items: center;
    }

    .page-register__steps-image,
    .page-register__faq-image {
        max-width: 100%;
    }

    .page-register__steps-list,
    .page-register__faq-items {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 200px); /* Adjust for mobile header offset */
    }

    .page-register__hero-section {
        padding: 40px 15px;
    }

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

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

    .page-register__hero-button,
    .page-register__action-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-register__content-area {
        padding: 30px 15px;
    }

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

    .page-register__value-grid,
    .page-register__conditions-list {
        grid-template-columns: 1fr;
    }

    .page-register__steps-section,
    .page-register__faq-section {
        padding: 40px 15px;
    }
}

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

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

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

    .page-register__value-item,
    .page-register__step-item,
    .page-register__condition-item,
    .page-register__faq-item {
        padding: 20px;
    }
}

/* Ensure no filter is used on images */
.page-register img {
    filter: none !important; /* Strictly forbid any filter */
}