.page-resources-sun-win-bid-platform-advantages {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Page background as specified */
}

/* Fixed Header Offset */
.page-resources-sun-win-bid-platform-advantages__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-sun-win-bid-platform-advantages__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-sun-win-bid-platform-advantages__section {
    padding: 60px 0;
}

.page-resources-sun-win-bid-platform-advantages__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-sun-win-bid-platform-advantages__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: justify;
}

/* Hero Section */
.page-resources-sun-win-bid-platform-advantages__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: #f5f5f5; /* Light background for hero */
    padding: 80px 20px;
    flex-wrap: wrap; /* For responsiveness */
}

.page-resources-sun-win-bid-platform-advantages__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

.page-resources-sun-win-bid-platform-advantages__hero-title {
    font-size: 3.2em;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-resources-sun-win-bid-platform-advantages__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-resources-sun-win-bid-platform-advantages__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-sun-win-bid-platform-advantages__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* CTA Buttons */
.page-resources-sun-win-bid-platform-advantages__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-sun-win-bid-platform-advantages__cta-buttons--center {
    justify-content: center;
    margin-top: 40px;
}

.page-resources-sun-win-bid-platform-advantages__btn-primary,
.page-resources-sun-win-bid-platform-advantages__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-resources-sun-win-bid-platform-advantages__btn-primary {
    background-color: #C30808; /* Specific color for Register/Login */
    color: #FFFF00; /* Specific font color for Register/Login */
    border: 2px solid #C30808;
}

.page-resources-sun-win-bid-platform-advantages__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-sun-win-bid-platform-advantages__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Primary brand color */
    border: 2px solid #017439;
}

.page-resources-sun-win-bid-platform-advantages__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

/* Advantages Grid */
.page-resources-sun-win-bid-platform-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-sun-win-bid-platform-advantages__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Ensure text is dark on light card background */
}

.page-resources-sun-win-bid-platform-advantages__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-resources-sun-win-bid-platform-advantages__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-sun-win-bid-platform-advantages__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-sun-win-bid-platform-advantages__card-text {
    font-size: 1em;
    color: #555555;
}

/* How-To-Join Steps */
.page-resources-sun-win-bid-platform-advantages__steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-resources-sun-win-bid-platform-advantages__step-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-sun-win-bid-platform-advantages__step-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources-sun-win-bid-platform-advantages__step-description {
    font-size: 1em;
    color: #555555;
}

/* Video Section */
.page-resources-sun-win-bid-platform-advantages__video-section {
    background-color: #f0f0f0;
    text-align: center;
    padding: 80px 0;
}

.page-resources-sun-win-bid-platform-advantages__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-resources-sun-win-bid-platform-advantages__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    max-width: 100%; /* Ensure video doesn't overflow */
    display: block; /* Remove extra space below video */
}

.page-resources-sun-win-bid-platform-advantages__video-caption {
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 0.95em;
}

/* FAQ Section */
.page-resources-sun-win-bid-platform-advantages__faq-section {
    padding: 80px 0;
}

.page-resources-sun-win-bid-platform-advantages__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-sun-win-bid-platform-advantages__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-sun-win-bid-platform-advantages__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-weight: bold;
    color: #017439;
    transition: background-color 0.3s ease;
}

.page-resources-sun-win-bid-platform-advantages__faq-question:hover {
    background-color: #e6ffe6;
}

.page-resources-sun-win-bid-platform-advantages__faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: #017439;
}

.page-resources-sun-win-bid-platform-advantages__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-resources-sun-win-bid-platform-advantages__faq-item.active .page-resources-sun-win-bid-platform-advantages__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-sun-win-bid-platform-advantages__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #555555;
}

.page-resources-sun-win-bid-platform-advantages__faq-item.active .page-resources-sun-win-bid-platform-advantages__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px;
}

.page-resources-sun-win-bid-platform-advantages__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Conclusion Section */
.page-resources-sun-win-bid-platform-advantages__conclusion {
    background-color: #017439; /* Brand color background */
    color: #FFFFFF; /* White text for contrast */
    padding: 80px 0;
    text-align: center;
}

.page-resources-sun-win-bid-platform-advantages__conclusion .page-resources-sun-win-bid-platform-advantages__section-title {
    color: #FFFFFF;
}

.page-resources-sun-win-bid-platform-advantages__conclusion .page-resources-sun-win-bid-platform-advantages__text-block {
    color: #f0f0f0;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-sun-win-bid-platform-advantages__hero-title {
        font-size: 2.8em;
    }
    .page-resources-sun-win-bid-platform-advantages__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-sun-win-bid-platform-advantages {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-sun-win-bid-platform-advantages__hero-section {
        flex-direction: column;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Re-set for mobile */
        gap: 30px;
    }

    .page-resources-sun-win-bid-platform-advantages__hero-content {
        text-align: center;
        max-width: 100%;
    }

    .page-resources-sun-win-bid-platform-advantages__hero-title {
        font-size: 2.2em;
    }

    .page-resources-sun-win-bid-platform-advantages__hero-description {
        font-size: 1.1em;
    }

    .page-resources-sun-win-bid-platform-advantages__cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to buttons to prevent overflow */
        gap: 15px;
    }

    .page-resources-sun-win-bid-platform-advantages__btn-primary,
    .page-resources-sun-win-bid-platform-advantages__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-sun-win-bid-platform-advantages__container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-resources-sun-win-bid-platform-advantages__section {
        padding: 40px 0;
    }

    .page-resources-sun-win-bid-platform-advantages__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-sun-win-bid-platform-advantages__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-sun-win-bid-platform-advantages__card {
        padding: 25px;
    }

    .page-resources-sun-win-bid-platform-advantages__step-item {
        max-width: 100%;
        min-width: unset;
    }

    /* Video responsiveness */
    .page-resources-sun-win-bid-platform-advantages__video-section {
        padding: 40px 0;
    }
    .page-resources-sun-win-bid-platform-advantages__video-wrapper {
        margin: 0 auto 15px auto;
        padding: 0 15px; /* Add padding to container */
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-resources-sun-win-bid-platform-advantages__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image responsiveness */
    .page-resources-sun-win-bid-platform-advantages img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size is kept */
        min-height: 200px !important; /* Ensure min size is kept */
    }

    .page-resources-sun-win-bid-platform-advantages__faq-question {
        padding: 15px 20px;
    }
    .page-resources-sun-win-bid-platform-advantages__faq-question h3 {
        font-size: 1em;
    }
    .page-resources-sun-win-bid-platform-advantages__faq-answer {
        padding: 0 20px;
    }
    .page-resources-sun-win-bid-platform-advantages__faq-item.active .page-resources-sun-win-bid-platform-advantages__faq-answer {
        padding: 15px 20px;
    }

    .page-resources-sun-win-bid-platform-advantages__conclusion {
        padding: 60px 15px;
    }
}