/* style/index.css */

/* Biến màu sắc */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --accent-color-login: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
}

.page-index {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--secondary-color);
}

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

.page-index__section {
    padding: 60px 0;
    text-align: center;
}

.page-index__section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

.page-index__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index__section-description {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* 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), var(--secondary-color)); /* Gradient background */
    color: var(--text-light);
}

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

.page-index__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

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

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

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

.page-index__hero-description {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 900px;
    line-height: 1.5;
}

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

.page-index__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__cta-button--primary {
    background: var(--accent-color-login);
    color: var(--text-light);
}

.page-index__cta-button--primary:hover {
    background: #d46b06;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-index__cta-button--secondary:hover {
    background: #208cb9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-index__intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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