/* style/resources-iwin-platform-introduction.css */

/* Base styles for the page content */
.page-resources-iwin-platform-introduction {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--background-color, #ffffff); /* Use shared background variable */
}

.page-resources-iwin-platform-introduction__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-resources-iwin-platform-introduction__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

/* Text blocks */
.page-resources-iwin-platform-introduction__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

/* Buttons */
.page-resources-iwin-platform-introduction__btn-primary,
.page-resources-iwin-platform-introduction__btn-secondary,
.page-resources-iwin-platform-introduction__btn-text {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-iwin-platform-introduction__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-iwin-platform-introduction__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-resources-iwin-platform-introduction__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-iwin-platform-introduction__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-resources-iwin-platform-introduction__btn-text {
    background: none;
    color: #26A9E0;
    border: none;
    padding: 8px 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-resources-iwin-platform-introduction__btn-text:hover {
    color: #1a8cc4;
}

/* CTA Buttons layout */
.page-resources-iwin-platform-introduction__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-iwin-platform-introduction__cta-buttons--center {
    text-align: center;
}

/* Hero Section */
.page-resources-iwin-platform-introduction__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-resources-iwin-platform-introduction__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.page-resources-iwin-platform-introduction__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability, not changing colors */
}

.page-resources-iwin-platform-introduction__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}