/* style/partners.css */
.page-partners {
    font-family: Arial, sans-serif;
    color: #0A2E36;
    line-height: 1.6;
}

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

.page-partners__container--centered {
    text-align: center;
}

.page-partners__hero-section {
    background: linear-gradient(135deg, #0A2E36 0%, #305e6b 100%); /* Dark blue gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.page-partners__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    font-weight: bold;
}

.page-partners__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-partners__section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background for readability */
}

.page-partners__section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-partners__section-title {
    font-size: 2.8em;
    color: #0A2E36;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-partners__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-partners__section-description {
    font-size: 1.1em;
    color: #34495e;
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-partners__text-content p {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #34495e;
}

.page-partners__text-content h3 {
    font-size: 1.8em;
    color: #0A2E36;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-partners__text-content ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-partners__text-content ul li {
    margin-bottom: 10px;
    color: #34495e;
}

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

.page-partners__partner-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-partners__partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-partners__partner-logo {
    max-width: 120px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}

.page-partners__partner-card:hover .page-partners__partner-logo {
    filter: grayscale(0%);
}

.page-partners__partner-name {
    font-size: 1.6em;
    color: #0A2E36;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-partners__partner-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-partners__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    margin: 0 10px 10px 10px;
}

.page-partners__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A2E36; /* Dark blue */
    border: 2px solid #FFD700;
}

.page-partners__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-partners__btn--secondary {
    background-color: transparent;
    color: #0A2E36; /* Dark blue */
    border: 2px solid #0A2E36;
}

.page-partners__btn--secondary:hover {
    background-color: #0A2E36;
    color: #FFD700; /* Gold */
}

.page-partners__section-footer {
    font-size: 1.05em;
    color: #34495e;
    text-align: center;
    margin-top: 60px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-partners__image--full-width {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-partners__hero-title {
        font-size: 2.8em;
    }

    .page-partners__section-title {
        font-size: 2.2em;
    }

    .page-partners__partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-partners__hero-section {
        padding: 80px 0;
    }

    .page-partners__hero-title {
        font-size: 2.2em;
    }

    .page-partners__hero-subtitle {
        font-size: 1.1em;
    }

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

    .page-partners__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-partners__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-partners__text-content h3 {
        font-size: 1.5em;
    }

    .page-partners__btn {
        padding: 10px 20px;
        font-size: 0.95em;
        margin: 5px;
    }
}

@media (max-width: 576px) {
    .page-partners__hero-section {
        padding: 60px 0;
    }

    .page-partners__hero-title {
        font-size: 1.8em;
    }

    .page-partners__hero-subtitle {
        font-size: 0.95em;
    }

    .page-partners__section {
        padding: 40px 0;
    }

    .page-partners__section-title {
        font-size: 1.6em;
        margin-bottom: 25px;
    }

    .page-partners__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .page-partners__partners-grid {
        grid-template-columns: 1fr;
    }

    .page-partners__btn {
        width: calc(100% - 20px);
        margin: 5px auto;
        display: block;
    }
}