:root {
    --primary-color: #D4AF37; /* Gold */
    --secondary-color: #B22222; /* Firebrick Red */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark backgrounds */
    --border-color-light: rgba(255, 255, 255, 0.15);
    --border-color-dark: #e0e0e0;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Base styles for the register page content */
.page-register {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Assuming body handles background */
}

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

.page-register__section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-register__section-intro {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-light);
}

/* 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); /* Fixed header spacing */
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0d0d0d 100%); /* Fallback gradient */
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Overlay for text readability */
    filter: none; /* Ensure no filter is applied */
}

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

.page-register__main-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.page-register__hero-description {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-register__cta-button {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-register__cta-button--primary {
    background: var(--primary-color);
    color: #000000; /* Dark text for gold background for contrast */
    border: 2px solid var(--primary-color);
}

.page-register__cta-button--primary:hover {
    background: #b89a2f; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-register__cta-button--secondary:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background for this section */
}

.page-register__dark-bg {
    background-color: #1a1a1a; /* Consistent dark background for sections */
    color: var(--text-light);
}

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

.page-register__benefit-item {
    background: var(--bg-dark-card);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-light);
}

.page-register__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
    max-width: 100%; /* Responsive image */
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

.page-register__benefit-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-register__benefit-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

.page-register__step-item {
    background: var(--bg-dark-card);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color-light);
}

.page-register__step-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
    max-width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

.page-register__step-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-register__step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.page-register__inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-register__inline-link:hover {
    text-decoration: underline;
}

.page-register__cta-center {
    text-align: center;
    margin-top: 60px;
}

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

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

.page-register__requirement-item {
    background: var(--bg-dark-card);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color-light);
}

.page-register__requirement-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
    max-width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

.page-register__requirement-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-register__requirement-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Issues Section */
.page-register__issues-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

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

.page-register__issue-item {
    background: var(--bg-dark-card);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color-light);
}

.page-register__issue-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-register__issue-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Section */
.page-register__why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d0d0d 0%, var(--secondary-color) 100%);
    text-align: center;
}

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

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

.page-register__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px; /* Only top corners if not active */
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    position: relative;
    color: var(--primary-color);
}

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

.page-register__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-register__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-register__faq-item.active .page-register__faq-question {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--border-color-light);
    border-radius: 5px 5px 0 0;
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-light);
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.02); /* Slightly lighter for contrast */
    border-radius: 0 0 5px 5px;
}