:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-text-color: #333333;
    --light-text-color: #FFFFFF;
    --login-button-color: #EA7C07;
    --border-color: #e0e0e0;
    --light-bg-color: #f9f9f9;
}

/* Base styles for the page content */
.page-index {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text-color); /* Default text color for light background */
    background: var(--secondary-color); /* Body background is white */
}

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

.page-index__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

.page-index__section-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #555555;
}

.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__btn-primary,
.page-index__cta-button.page-index__btn-primary {
    background: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.page-index__btn-primary:hover,
.page-index__cta-button.page-index__btn-primary:hover {
    background: #1e87b7;
    border-color: #1e87b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__btn-secondary,
.page-index__cta-button.page-index__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index__btn-secondary:hover,
.page-index__cta-button.page-index__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* HERO Section */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, #33C0FF 100%); /* Adjusted gradient for better look */
    color: var(--light-text-color);
    overflow: hidden; /* Prevent image overflow */
}

.page-index__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-index__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 900px; /* Constrain hero image width */
}

.page-index__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-index__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--light-text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--light-text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Introduction Section */
.page-index__introduction-section {
    padding: 80px 0;
    background: var(--secondary-color); /* Light background */
    color: var(--dark-text-color);
}

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

.page-index__feature-item {
    background: var(--light-bg-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

/* Quick Links Section */
.page-index__quick-links-section {
    padding: 80px 0;
    background: var(--primary-color); /* Dark background */
    color: var(--light-text-color);
}

.page-index__quick-links-section .page-index__section-title {
    color: var(--light-text-color);
}

.page-index__quick-links-section .page-index__section-text {
    color: rgba(255, 255, 255, 0.9);
}

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