.page-register {
    font-family: Arial, sans-serif;
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Main text color for dark background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-register__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile first */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0A4B2C; /* Deep Green background for hero */
    gap: 40px;
}

.page-register__hero-content {
    max-width: 800px;
}

.page-register__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    color: #F2C14E; /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 30px;
}

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

.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.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-register__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #F2FFF6; /* Text Main color */
    border: none;
}

.page-register__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #F2FFF6; /* Text Main color */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-register__btn-secondary:hover {
    background-color: #2E7A4E; /* Border color as background on hover */
    transform: translateY(-3px);
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 800px; /* Limit hero image width on desktop */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

/* Section titles and intros */
.page-register__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #F2C14E; /* Gold color for section titles */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 40px;
    line-height: 1.3;
}

.page-register__section-intro {
    font-size: 1.05rem;
    color: #A7D9B8; /* Secondary text color */
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark Sections */
.page-register__dark-section {
    background-color: #11271B; /* Card BG color for dark sections */
    padding: 60px 20px;
}

/* Feature Grid */
.page-register__feature-grid,
.page-register__steps-grid,
.page-register__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-register__feature-card,
.page-register__step-card,
.page-register__info-card {
    background-color: #0A4B2C; /* Deep Green for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Text Main color */
}

.page-register__feature-card:hover,
.page-register__step-card:hover,
.page-register__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__feature-icon,
.page-register__info-icon {
    width: 100%; /* Make icon fill card width */
    max-width: 150px; /* Max width for feature icons */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover; /* Ensure images fill their space nicely */
}

.page-register__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #F2C14E; /* Gold color for step numbers */
    margin-bottom: 15px;
    background-color: #1E3A2A; /* Divider color for background */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-register__card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #F2C14E; /* Gold color for card titles */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-register__card-description {
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
    line-height: 1.7;
}

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

.page-register__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 20px;
    background-color: #08160F; /* Main background color */
}

.page-register__faq-list {
    margin-top: 30px;
}

.page-register__faq-item {
    background-color: #11271B; /* Card BG color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main color */
    background-color: #1E3A2A; /* Divider color for summary background */
    transition: background-color 0.3s ease;
}

.page-register__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-register__faq-item summary:hover {
    background-color: #2E7A4E; /* Border color on hover */
}

.page-register__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-register__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #F2C14E; /* Gold color for toggle icon */
}

.page-register__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
    line-height: 1.7;
}

/* Responsive Styles */
@media (min-width: 769px) {
    .page-register__hero-section {
        flex-direction: row; /* Desktop: row layout for hero */
        text-align: left;
        padding: 80px 40px;
        justify-content: space-between;
    }

    .page-register__hero-content {
        text-align: left;
    }

    .page-register__cta-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-register__hero-section,
    .page-register__dark-section,
    .page-register__how-to-register-section,
    .page-register__important-notes-section,
    .page-register__start-journey-section,
    .page-register__faq-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Images responsiveness */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-register__hero-image-wrapper,
    .page-register__feature-card,
    .page-register__step-card,
    .page-register__info-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        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;
        padding-right: 15px;
    }
    
    .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: 0px !important; /* Buttons themselves have padding */
        padding-right: 0px !important;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    .page-register__hero-section {
        flex-direction: column;
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-register__section-title {
        font-size: 2rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-register__section-intro {
        margin-bottom: 30px;
    }

    .page-register__feature-card,
    .page-register__step-card,
    .page-register__info-card {
        padding: 20px;
    }

    .page-register__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-register__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure no filter on images */
.page-register img {
    filter: none;
}