/* style/register.css */

.page-register {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #f0f8ff; /* Light background for hero section */
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
}

.page-register__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height on desktop */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop to avoid empty space */
}

.page-register__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 15px;
}

.page-register__main-title {
    font-size: clamp(32px, 5vw, 48px); /* Using clamp for responsive font size */
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 18px;
    color: #555555;
    margin-bottom: 30px;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background: #EA7C07; /* Login/Register color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-register__btn-primary:hover {
    background: #d46b00;
    border-color: #d46b00;
    transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
    background: #e0f4ff;
    color: #1a8cc7;
    border-color: #1a8cc7;
    transform: translateY(-2px);
}

.page-register__btn-primary--large {
    padding: 18px 35px;
    font-size: 20px;
    min-width: 280px;
}

/* General Section Styles */
.page-register__section {
    padding: 60px 0;
}

.page-register__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-register__section-title {
    font-size: clamp(28px, 4vw, 40px);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-register__section-description {
    font-size: 17px;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Benefits Section */
.page-register__benefits-grid,
.page-register__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__benefit-card,
.page-register__feature-item {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-register__benefit-card img,
.page-register__feature-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-register__card-title,
.page-register__feature-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}