:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
}

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

/* Hero Section */
.page-index-about-tipclub-app__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 content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color), #004d2b); /* Darker green gradient */
    color: var(--text-light);
    overflow: hidden; /* Prevent content overflow */
}

.page-index-about-tipclub-app__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any background effects */
}

.page-index-about-tipclub-app__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index-about-tipclub-app__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-height: 200px; /* Minimum image size */
    /* No filter to change color */
}

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

.page-index-about-tipclub-app__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-about-tipclub-app__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-about-tipclub-app__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-register); /* Use specific register color */
    color: var(--button-text-yellow); /* Use specific font color */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--button-text-yellow); /* Add border for contrast */
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-about-tipclub-app__cta-button:hover {
    background: #a30606; /* Slightly darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
}

/* General Section Styling */
.page-index-about-tipclub-app__section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.page-index-about-tipclub-app__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-about-tipclub-app__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-index-about-tipclub-app__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-index-about-tipclub-app__dark-section .page-index-about-tipclub-app__section-title {
    color: var(--secondary-color);
}

.page-index-about-tipclub-app__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555;
}

.page-index-about-tipclub-app__dark-section .page-index-about-tipclub-app__section-description {
    color: #e0e0e0;
}

.page-index-about-tipclub-app p {
    margin-bottom: 1em;
    font-size: 1em;
}

/* About Us Section */
.page-index-about-tipclub-app__about-us {
    background-color: var(--secondary-color);
}

.page-index-about-tipclub-app__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-index-about-tipclub-app__content-grid.reverse-order {
    grid-template-areas: "image text"; /* Default order for history section */
}

.page-index-about-tipclub-app__content-grid.reverse-order .page-index-about-tipclub-app__text-block {
    grid-area: text;
}

.page-index-about-tipclub-app__content-grid.reverse-order .page-index-about-tipclub-app__image-block {
    grid-area: image;
}

.page-index-about-tipclub-app__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
    /* No filter to change color */
}

/* Features Section */
.page-index-about-tipclub-app__features {
    background-color: var(--background-light);
}

.page-index-about-tipclub-app__features-grid,
.page-index-about-tipclub-app__security-grid,
.page-index-about-tipclub-app__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-about-tipclub-app__feature-card,
.page-index-about-tipclub-app__security-item,
.page-index-about-tipclub-app__step-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

.page-index-about-tipclub-app__feature-card:hover,
.page-index-about-tipclub-app__security-item:hover,
.page-index-about-tipclub-app__step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-about-tipclub-app__feature-card img,
.page-index-about-tipclub-app__security-item img,
.page-index-about-tipclub-app__step-card img {
    width: 100%;
    max-width: 400px; /* Max width for card images */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    min-height: 200px; /* Minimum image size */
    /* No filter to change color */
}