/* style/vip-program.css */

/* Base styles for the VIP program page */
.page-vip-program {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Specific styles for dark background sections to ensure contrast */
.page-vip-program__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #ffffff; /* White text for dark background */
}

.page-vip-program__section-title--light,
.page-vip-program__section-description--light,
.page-vip-program__subsection-title--light,
.page-vip-program__text-block--light,
.page-vip-program__list--light .page-vip-program__list-item {
    color: #ffffff; /* White text for titles and descriptions on dark backgrounds */
}

/* Hero Section */
.page-vip-program__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.page-vip-program__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: none !important; /* Ensure no filter on images */
}

.page-vip-program__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    z-index: 2;
}

.page-vip-program__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-vip-program__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF; /* Ensure white text on dark overlay */
}

.page-vip-program__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* Content Sections */
.page-vip-program__content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-vip-program__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for main titles */
    text-align: center;
    margin-bottom: 30px;
}

.page-vip-program__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-vip-program__subsection-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-vip-program__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-vip-program__list--ordered {
    list-style: decimal;
}

.page-vip-program__list-item {
    margin-bottom: 10px;
}

.page-vip-program__text-block--light {
    color: #ffffff;
}

/* Image styles */
.page-vip-program__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    filter: none !important; /* Ensure no filter on images */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-vip-program__image--center {
    text-align: center; /* For block images, margin auto centers them. This is for text alignment if image is inline. */
}

/* Table styles */
.page-vip-program__table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling for tables on small screens */
    margin: 40px auto;
    max-width: 100%;
}

.page-vip-program__vip-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    min-width: 700px; /* Ensure table is not too narrow on desktop */
}

.page-vip-program__vip-table th,
.page-vip-program__vip-table td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: left;
    background-color: #ffffff;
    color: #333333;
}

.page-vip-program__vip-table th {
    background-color: #017439;
    color: #ffffff;
    font-weight: bold;
}

.page-vip-program__vip-table tbody tr:nth-child(even) td {
    background-color: #f9f9f9;
}

/* FAQ Section */
.page-vip-program__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-vip-program__faq-item {
    background-color: #ffffff;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-vip-program__faq-item.active {
    background-color: #f0f8ff; /* Light background when active */
}

.page-vip-program__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #f5f5f5; /* Light grey for question background */
    color: #017439; /* Brand color for question text */
    border-bottom: 1px solid #e0e0e0;
}

.page-vip-program__faq-item.active .page-vip-program__faq-question {
    background-color: #e0e0e0; /* Darker grey when active */
}

.page-vip-program__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-vip-program__faq-item.active .page-vip-program__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'x' or '-' */
}

.page-vip-program__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding for smooth transition */
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-vip-program__faq-item.active .page-vip-program__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px; /* Padding when active */
}

.page-vip-program__faq-answer p {
    margin: 0;
    color: #333333;
}

/* Call to Action Buttons */
.page-vip-program__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-vip-program__btn-primary,
.page-vip-program__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center; /* Ensure text is centered in button */
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure buttons don't overflow on mobile */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-vip-program__btn-primary {
    background-color: #C30808; /* Register/Login red color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}