/* style/index-platform-advantages.css */

/* Base styles for the page content */
.page-index-platform-advantages {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default background for content sections */
}

/* Hero Section */
.page-index-platform-advantages__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #26A9E0; /* Brand primary color for hero background */
    color: #ffffff; /* White text for contrast on brand color background */
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    overflow: hidden;
}

.page-index-platform-advantages__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-index-platform-advantages__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-index-platform-advantages__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-index-platform-advantages__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-index-platform-advantages__btn-primary,
.page-index-platform-advantages__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-index-platform-advantages__btn-primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-index-platform-advantages__btn-primary:hover {
    background-color: #d16d06;
    border-color: #d16d06;
}

.page-index-platform-advantages__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-index-platform-advantages__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-index-platform-advantages__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-index-platform-advantages__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly transparent to let background color show */
}

/* Section for Advantages */
.page-index-platform-advantages__advantages-section {
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for content */
    color: #333333; /* Dark text for contrast */
}

.page-index-platform-advantages__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Added padding for smaller screens */
    box-sizing: border-box;
}

.page-index-platform-advantages__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
}

.page-index-platform-advantages__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-index-platform-advantages__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-platform-advantages__advantage-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-advantages__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index-platform-advantages__advantage-icon {
    width: 100%; /* Ensure large images for cards */
    height: auto;
    max-height: 250px; /* Max height to keep cards uniform */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index-platform-advantages__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-index-platform-advantages__card-description {
    font-size: 1em;
    color: #555555;
}

/* CTA Section */
.page-index-platform-advantages__cta-section {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff; /* White text for contrast */
    padding: 80px 20px;
    text-align: center;
}

.page-index-platform-advantages__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-index-platform-advantages__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* FAQ Section */
.page-index-platform-advantages__faq-section {
    padding: 60px 20px;
    background-color: #f0f8ff; /* Light blueish background */
    color: #333333;
}

.page-index-platform-advantages__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #e0e0e0;
}

.page-index-platform-advantages__faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.page-index-platform-advantages__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    color: #26A9E0;
    list-style: none; /* For details/summary */
}

/* Hide default marker for details/summary */
.page-index-platform-advantages__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-index-platform-advantages__faq-item summary {
    list-style: none;
}

.page-index-platform-advantages__faq-qtext {
    flex-grow: 1;
}

.page-index-platform-advantages__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-index-platform-advantages__faq-item[open] .page-index-platform-advantages__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-index-platform-advantages__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-platform-advantages__main-title {
        font-size: 2.8em;
    }
    .page-index-platform-advantages__section-title {
        font-size: 2.2em;
    }
    .page-index-platform-advantages__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-index-platform-advantages__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-index-platform-advantages__main-title {
        font-size: 2.2em;
    }
    .page-index-platform-advantages__hero-description {
        font-size: 1em;
    }
    .page-index-platform-advantages__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Limit button width on small screens */
        margin-left: auto;
        margin-right: auto;
    }
    .page-index-platform-advantages__btn-primary,
    .page-index-platform-advantages__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-index-platform-advantages__advantages-section,
    .page-index-platform-advantages__cta-section,
    .page-index-platform-advantages__faq-section {
        padding: 40px 15px;
    }

    .page-index-platform-advantages__section-title {
        font-size: 1.8em;
    }
    .page-index-platform-advantages__section-intro {
        font-size: 0.95em;
    }
    .page-index-platform-advantages__advantage-grid {
        grid-template-columns: 1fr;
    }
    .page-index-platform-advantages__card-title {
        font-size: 1.3em;
    }
    .page-index-platform-advantages__cta-title {
        font-size: 2em;
    }
    .page-index-platform-advantages__cta-description {
        font-size: 1em;
    }

    /* Mobile image, video, and container adaptations */
    .page-index-platform-advantages img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-index-platform-advantages video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-platform-advantages__container,
    .page-index-platform-advantages__hero-section,
    .page-index-platform-advantages__advantages-section,
    .page-index-platform-advantages__cta-section,
    .page-index-platform-advantages__faq-section,
    .page-index-platform-advantages__advantage-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-platform-advantages__cta-buttons {
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-index-platform-advantages__faq-item {
      padding-left: 0;
      padding-right: 0;
    }
    .page-index-platform-advantages__faq-question {
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-index-platform-advantages__faq-answer {
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-platform-advantages__main-title {
        font-size: 1.8em;
    }
    .page-index-platform-advantages__section-title {
        font-size: 1.6em;
    }
    .page-index-platform-advantages__cta-title {
        font-size: 1.8em;
    }
    .page-index-platform-advantages__advantage-card {
      padding: 20px;
    }
    .page-index-platform-advantages__faq-question {
      font-size: 1em;
    }
}