/* style/index-red88-brand-story.css */
.page-index-red88-brand-story {
    font-family: 'Arial', sans-serif;
    color: #36454F;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-index-red88-brand-story__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-red88-brand-story__section {
    padding: 60px 0;
}

.page-index-red88-brand-story__section--dark {
    background-color: #36454F;
    color: #f8f8f8;
}

.page-index-red88-brand-story__hero-section {
    background: linear-gradient(135deg, #DC143C 0%, #36454F 100%);
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.page-index-red88-brand-story__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-red88-brand-story__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-index-red88-brand-story__cta-button {
    display: inline-block;
    background-color: #DC143C;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #DC143C;
}

.page-index-red88-brand-story__cta-button:hover {
    background-color: #a8102e;
    transform: translateY(-3px);
    border-color: #a8102e;
}

.page-index-red88-brand-story__cta-button--inverted {
    background-color: #f8f8f8;
    color: #DC143C;
    border-color: #f8f8f8;
}

.page-index-red88-brand-story__cta-button--inverted:hover {
    background-color: #e0e0e0;
    color: #a8102e;
    border-color: #e0e0e0;
}

.page-index-red88-brand-story__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #DC143C;
    font-weight: bold;
}

.page-index-red88-brand-story__section-title--light {
    color: #f8f8f8;
}

.page-index-red88-brand-story__description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-red88-brand-story__description--light {
    color: #e0e0e0;
}

.page-index-red88-brand-story__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-index-red88-brand-story__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-index-red88-brand-story__content-grid--reverse {
        grid-template-areas: "image text"; /* Default for reverse */
    }
    .page-index-red88-brand-story__content-grid--reverse .page-index-red88-brand-story__image-wrapper {
        grid-area: image;
    }
    .page-index-red88-brand-story__content-grid--reverse .page-index-red88-brand-story__text-content {
        grid-area: text;
    }
}

.page-index-red88-brand-story__text-content h2 {
    text-align: left;
    font-size: 2em;
    margin-bottom: 20px;
    color: #DC143C;
}

.page-index-red88-brand-story__text-content h3 {
    font-size: 1.5em;
    color: #36454F;
    margin-top: 30px;
    margin-bottom: 10px;
}

.page-index-red88-brand-story__origin-section .page-index-red88-brand-story__text-content h2 {
    color: #DC143C;
}

.page-index-red88-brand-story__values-section .page-index-red88-brand-story__text-content h2 {
    color: #DC143C;
}

.page-index-red88-brand-story__image-wrapper {
    text-align: center;
}

.page-index-red88-brand-story__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-red88-brand-story__milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-index-red88-brand-story__milestone-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.page-index-red88-brand-story__milestone-item:hover {
    transform: translateY(-10px);
}

.page-index-red88-brand-story__milestone-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: invert(100%); /* Make icons white on dark background */
}

.page-index-red88-brand-story__milestone-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-index-red88-brand-story__milestone-text {
    color: #e0e0e0;
}

.page-index-red88-brand-story__cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.page-index-red88-brand-story__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #DC143C;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    animation: page-index-red88-brand-story__pulse 2s infinite;
}

.page-index-red88-brand-story__floating-promo p {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
}

.page-index-red88-brand-story__highlight {
    color: #FFD700; /* Gold-like color for highlight */
}

.page-index-red88-brand-story__floating-promo-button {
    background-color: #36454F;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index-red88-brand-story__floating-promo-button:hover {
    background-color: #55626d;
}

@keyframes page-index-red88-brand-story__pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .page-index-red88-brand-story__hero-title {
        font-size: 2.5em;
    }
    .page-index-red88-brand-story__hero-subtitle {
        font-size: 1.2em;
    }
    .page-index-red88-brand-story__section-title {
        font-size: 2em;
    }
    .page-index-red88-brand-story__text-content h2 {
        font-size: 1.8em;
        text-align: center;
    }
    .page-index-red88-brand-story__text-content h3 {
        font-size: 1.3em;
    }
    .page-index-red88-brand-story__content-grid--reverse {
        grid-template-columns: 1fr;
    }
    .page-index-red88-brand-story__floating-promo {
        flex-direction: column;
        align-items: stretch;
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 15px;
    }
    .page-index-red88-brand-story__floating-promo-button {
        text-align: center;
        margin-top: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .page-index-red88-brand-story__hero-title {
        font-size: 3em;
    }
    .page-index-red88-brand-story__section-title {
        font-size: 2.2em;
    }
}