/* style/partners.css */

/* Biến CSS cho màu sắc */
:root {
    --page-partners-primary-color: #1A2E47;
    --page-partners-accent-color: #FFD700;
    --page-partners-text-dark: #333;
    --page-partners-text-light: #FFF;
    --page-partners-background-light: #F8F8F8;
    --page-partners-background-dark: #122033; /* Slightly darker than primary for contrast */
    --page-partners-button-hover: #E6C200;
}

.page-partners {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-partners-text-dark);
    background-color: var(--page-partners-background-light);
}

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

.page-partners__hero-section {
    background: linear-gradient(135deg, var(--page-partners-primary-color) 0%, #304766 100%); /* Adjusted gradient for better contrast */
    color: var(--page-partners-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-partners__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    filter: blur(50px);
}

.page-partners__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    filter: blur(60px);
}

.page-partners__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-partners-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-partners__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-partners__btn--primary {
    background-color: var(--page-partners-accent-color);
    color: var(--page-partners-primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-partners__btn--primary:hover {
    background-color: var(--page-partners-button-hover);
    transform: translateY(-3px);
}

.page-partners__btn--secondary {
    background-color: transparent;
    color: var(--page-partners-primary-color);
    border: 2px solid var(--page-partners-primary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-partners__btn--secondary:hover {
    background-color: var(--page-partners-primary-color);
    color: var(--page-partners-accent-color);
    transform: translateY(-2px);
}

.page-partners__btn--link {
    background-color: transparent;
    color: var(--page-partners-primary-color);
    text-decoration: underline;
    padding: 0;
    font-size: 1em;
}

.page-partners__btn--link:hover {
    color: var(--page-partners-accent-color);
    text-decoration: none;
}

.page-partners__section-title {
    font-size: 2.5em;
    color: var(--page-partners-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-partners__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: #555;
}

.page-partners__why-us-section, .page-partners__detail-pages-section, .page-partners__application-process-section, .page-partners__commitment-section, .page-partners__cta-section {
    padding: 80px 0;
    background-color: var(--page-partners-background-light);
}

.page-partners__why-us-section .page-partners__section-title, .page-partners__why-us-section .page-partners__section-description {
    color: var(--page-partners-primary-color);
}

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

.page-partners__grid-item {
    background-color: #FFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-partners-accent-color);
}

.page-partners__grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-partners__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.page-partners__item-title {
    font-size: 1.6em;
    color: var(--page-partners-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-partners__item-text {
    font-size: 1em;
    color: #666;
}

.page-partners__detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-partners__detail-item {
    background-color: #FFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 5px solid var(--page-partners-primary-color);
}

.page-partners__detail-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-partners-primary-color);
    font-weight: bold;
}

.page-partners__detail-title a {
    color: var(--page-partners-primary-color);
    text-decoration: none;
}

.page-partners__detail-title a:hover {
    color: var(--page-partners-accent-color);
    text-decoration: underline;
}

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

.page-partners__application-process-section {
    background-color: var(--page-partners-background-dark);
    color: var(--page-partners-text-light);
}

.page-partners__application-process-section .page-partners__section-title, .page-partners__application-process-section .page-partners__section-description {
    color: var(--page-partners-text-light);
}

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

.page-partners__step-item {
    background-color: #274161; /* Darker shade of primary for contrast */
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-partners__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--page-partners-accent-color);
    color: var(--page-partners-primary-color);
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.page-partners__step-title {
    font-size: 1.8em;
    color: var(--page-partners-accent-color);
    margin-bottom: 15px;
    margin-top: 40px; /* Adjust for step number */
}

.page-partners__step-text {
    font-size: 1em;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.page-partners__btn--link {
    color: var(--page-partners-accent-color);
    border-color: var(--page-partners-accent-color);
    text-decoration: none;
}

.page-partners__btn--link:hover {
    color: var(--page-partners-button-hover);
    text-decoration: underline;
}

.page-partners__commitment-section {
    background-color: #FFF;
}

.page-partners__commitment-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
}

.page-partners__commitment-list li {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    color: var(--page-partners-primary-color);
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px dashed #E0E0E0;
}

.page-partners__commitment-list li:last-child {
    border-bottom: none;
}

.page-partners__list-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    filter: drop-shadow(0 2px 5px rgba(255, 215, 0, 0.2));
}

.page-partners__commitment-text {
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
    color: #444;
    margin-top: 50px;
}

.page-partners__cta-section {
    background: linear-gradient(90deg, var(--page-partners-primary-color) 0%, #304766 100%);
    color: var(--page-partners-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-partners__cta-section .page-partners__section-title, .page-partners__cta-section .page-partners__section-description {
    color: var(--page-partners-text-light);
}

.page-partners__cta-section .page-partners__btn--primary {
    margin-top: 40px;
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-partners__small-text {
    font-size: 0.9em;
    margin-top: 30px;
    color: #C0C0C0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-partners__hero-title {
        font-size: 2.8em;
    }
    .page-partners__section-title {
        font-size: 2em;
    }
    .page-partners__grid, .page-partners__detail-grid, .page-partners__process-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 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-title {
        font-size: 1.8em;
    }
    .page-partners__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-partners__grid-item, .page-partners__detail-item, .page-partners__step-item {
        padding: 25px;
    }
    .page-partners__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        top: -25px;
    }
    .page-partners__step-title {
        font-size: 1.5em;
        margin-top: 30px;
    }
    .page-partners__commitment-list li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .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-title {
        font-size: 1.5em;
    }
    .page-partners__btn--primary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-partners__grid, .page-partners__detail-grid, .page-partners__process-steps {
        grid-template-columns: 1fr;
    }
    .page-partners__step-item {
        padding: 30px 20px;
    }
    .page-partners__step-number {
        font-size: 1.5em;
    }
    .page-partners__item-title, .page-partners__detail-title, .page-partners__step-title {
        font-size: 1.4em;
    }
    .page-partners__commitment-list li {
        flex-direction: column;
        text-align: center;
    }
    .page-partners__list-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}