/* style/partners.css */

/* --- General Styling for .page-partners scope --- */
.page-partners {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: transparent; /* Body background handled by shared.css */
}

.page-partners__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-partners__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
    color: #F2FFF6; /* Default for dark sections, overridden for light sections */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-partners__section-description {
    font-size: 18px;
    color: #A7D9B8; /* Default for dark sections, overridden for light sections */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* General image rule to ensure minimum display size if not explicitly set smaller by other rules */
.page-partners img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* --- Buttons --- */
.page-partners__btn-primary,
.page-partners__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word breaking */
    box-sizing: border-box;
    max-width: 100%;
}

.page-partners__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-partners__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-partners__btn-secondary {
    background: #0A4B2C; /* Deep Green for secondary button background */
    color: #F2FFF6; /* Main text color for secondary button */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-partners__btn-secondary:hover {
    background: #1E3A2A; /* Slightly lighter deep green on hover */
    color: #57E38D; /* Glow color on hover */
    transform: translateY(-2px);
}

.page-partners__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Hero Section --- */
.page-partners__hero-section {
    padding-top: 10px; /* Small top padding */
    background-color: #08160F; /* Background color for hero section */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-partners__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-partners__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Darken image slightly for visual depth */
    border-radius: 8px;
    min-height: 250px;
    min-width: 250px; /* Ensure hero image meets minimum size too */
}

.page-partners__hero-content-wrapper {
    text-align: center;
    padding-bottom: 60px; /* Padding below content */
    width: 100%; /* Ensure content wrapper takes full width */
}

.page-partners__main-title {
    font-size: clamp(36px, 5vw, 64px); /* Larger responsive font size */
    color: #F2FFF6;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Keep for visual depth */
}

.page-partners__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #A7D9B8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Keep for visual depth */
}

/* --- Introduction Section --- */
.page-partners__introduction-section {
    padding: 80px 0;
    background-color: #08160F; /* Very Dark Green Background */
    color: #F2FFF6; /* Light text for dark background */
}

.page-partners__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-partners__feature-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #F2FFF6;
}

.page-partners__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-partners__feature-icon {
    width: 200px; /* Explicit display size, must be >= 200px */
    height: 200px; /* Explicit display size, must be >= 200px */
    object-fit: contain;
    margin: 0 auto 20px auto;
    border-radius: 0;
    min-width: unset;
    min-height: unset;
}

.page-partners__feature-title {
    font-size: 24px;
    color: #57E38D; /* Glow color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-partners__feature-text {
    font-size: 16px;
    color: #A7D9B8; /* Secondary text color */
}

/* --- How It Works Section --- */
.page-partners__how-it-works-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast with dark sections */
    color: #333333; /* Dark text for light background */
}

.page-partners__how-it-works-section .page-partners__section-title {
    color: #11A84E; /* Primary color for title on light background */
}

.page-partners__how-it-works-section .page-partners__section-description {
    color: #555555; /* Darker secondary text for light background */
}

.page-partners__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-partners__step-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-partners__step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-partners__step-number {
    font-size: 48px;
    font-weight: bold;
    color: #11A84E; /* Primary color */
    margin-bottom: 15px;
}

.page-partners__step-title {
    font-size: 24px;
    color: #0A4B2C; /* Deep Green */
    margin-bottom: 10px;
}

.page-partners__step-text {
    font-size: 16px;
    color: #555555;
}

.page-partners__cta-bottom {
    margin-top: 60px;
    text-align: center;
}

/* --- Testimonials Section --- */
.page-partners__testimonials-section {
    padding: 80px 0;
    background-color: #08160F; /* Very Dark Green Background */
    color: #F2FFF6; /* Light text */
}

.page-partners__testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-partners__testimonial-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #A7D9B8;
    display: flex;
    flex-direction: column;
}

.page-partners__testimonial-text {
    font-size: 17px;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take up space */
}

.page-partners__testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Push to bottom */
}

.page-partners__author-avatar {
    width: 200px; /* Explicit display size, must be >= 200px */
    height: 200px; /* Explicit display size, must be >= 200px */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #57E38D; /* Glow color border */
    min-width: unset;
    min-height: unset;
}

.page-partners__author-name {
    font-size: 18px;
    font-weight: bold;
    color: #F2FFF6;
}

.page-partners__author-role {
    font-size: 14px;
    color: #A7D9B8;
}

/* --- FAQ Section --- */
.page-partners__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text */
}

.page-partners__faq-section .page-partners__section-title {
    color: #11A84E; /* Primary color for title on light background */
}

.page-partners__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-partners__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* For smooth transition */
}

.page-partners__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #0A4B2C; /* Deep Green */
    cursor: pointer;
    background-color: #f0f0f0; /* Slightly off-white for contrast */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-partners__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-partners__faq-question:hover {
    background-color: #e5e5e5;
}

.page-partners__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: #11A84E;
    margin-left: 15px;
}

.page-partners__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #555555;
}

/* --- Contact CTA Section --- */
.page-partners__contact-cta-section {
    padding: 80px 0;
    background-color: #08160F; /* Very Dark Green Background */
    color: #F2FFF6; /* Light text */
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-partners__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-partners__hero-content-wrapper {
        padding-bottom: 40px;
    }
    .page-partners__main-title {
        font-size: clamp(32px, 4.5vw, 56px);
    }
    .page-partners__hero-description {
        font-size: clamp(16px, 2.2vw, 20px);
    }
}

@media (max-width: 768px) {
    .page-partners__container {
        padding: 0 15px;
    }

    .page-partners__hero-section {
        padding-top: 10px;
    }
    .page-partners__hero-image {
        min-height: 200px;
        min-width: 200px;
    }

    .page-partners__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-partners__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-partners__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to buttons container */
    }
    .page-partners__btn-primary,
    .page-partners__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-partners__introduction-section,
    .page-partners__how-it-works-section,
    .page-partners__testimonials-section,
    .page-partners__faq-section,
    .page-partners__contact-cta-section {
        padding: 60px 0;
    }

    .page-partners__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-partners__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-partners__feature-card,
    .page-partners__step-card,
    .page-partners__testimonial-card {
        padding: 25px;
    }

    .page-partners__feature-icon,
    .page-partners__author-avatar {
        width: 200px !important;
        height: 200px !important;
        min-width: unset !important;
        min-height: unset !important;
    }

    .page-partners__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-partners__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }

    /* Images responsiveness */
    .page-partners img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure all images meet minimum display size on mobile */
        min-height: 200px !important;
    }
    .page-partners__section,
    .page-partners__card,
    .page-partners__container,
    .page-partners__hero-section,
    .page-partners__introduction-section,
    .page-partners__how-it-works-section,
    .page-partners__testimonials-section,
    .page-partners__faq-section,
    .page-partners__contact-cta-section,
    .page-partners__hero-image-wrapper,
    .page-partners__hero-content-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific padding for hero content to prevent it from being too wide */
    .page-partners__hero-content-wrapper .page-partners__container {
        padding-left: 0;
        padding-right: 0;
    }

    /* Video section (if any) */
    .page-partners__video-section {
        padding-top: 10px !important; /* body already handled --header-offset, this is for visual spacing */
    }
}