/* style/partners.css */

/* Base Styles for the page content */
.page-partners {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background: var(--background-color, #FFFFFF); /* Default to white if not set by shared */
}

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

.page-partners__section {
    padding: 60px 0;
    text-align: center;
}

.page-partners__dark-section {
    background: #017439; /* Primary color as background */
    color: #ffffff; /* White text for dark background */
}

.page-partners__light-bg {
    background: #ffffff; /* Explicitly light background for some cards */
    color: #333333;
}

.page-partners__section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #017439; /* Primary color for titles */
    font-weight: bold;
}

.page-partners__dark-section .page-partners__section-title {
    color: #ffffff; /* White titles on dark sections */
}

.page-partners__section-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-partners__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #017439, #3cb05d); /* Gradient with primary color */
    color: #ffffff;
    overflow: hidden;
}

.page-partners__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-partners__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-partners__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-partners__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-partners__hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Yellow for hero title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-partners__hero-content p {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-partners__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-partners__cta-button:hover {
    background: #e02020;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Features Grid (Why Partner) */
.page-partners__features-grid,
.page-partners__models-grid,
.page-partners__testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-partners__feature-item:hover,
.page-partners__model-item:hover,
.page-partners__testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-partners__feature-item img,
.page-partners__model-item img,
.page-partners__testimonial-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}
.page-partners__testimonial-item img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border: 4px solid #017439;
}


.page-partners__feature-item h3,
.page-partners__model-item h3,
.page-partners__testimonial-item h3 {
    font-size: 24px;
    color: #017439;
    margin-bottom: 15px;
}

.page-partners__dark-section .page-partners__feature-item h3,
.page-partners__dark-section .page-partners__model-item h3 {
    color: #017439;
}

.page-partners__feature-item p,
.page-partners__model-item p,
.page-partners__testimonial-item p {
    font-size: 16px;
    color: #555555;
}
.page-partners__dark-section .page-partners__light-bg p {
    color: #555555;
}

/* Partnership Models */
.page-partners__models-grid .page-partners__btn-secondary {
    margin-top: 20px;
}

/* Partner Testimonials */
.page-partners__testimonial-item blockquote {
    font-style: italic;
    margin-top: 15px;
    color: #444;
    font-size: 17px;
}

.page-partners__testimonial-role {
    font-size: 15px;
    color: #777;
    margin-bottom: 10px;
}

/* How to Join */
.page-partners__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-partners__step-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-partners__step-icon {
    width: 60px;
    height: 60px;
    background: #017439;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(1, 116, 57, 0.3);
}