/* ===== PARTNERS SECTION ===== */
.partners-section {
    background: linear-gradient(135deg, #f2f8fd 0%, #e8f4f8 100%);
    padding: 80px 0;
    min-height: 100vh;
}

.section-header {
    margin-bottom: 60px;
}

.section-header .subtitle {
    font-size: 18px;
    color: #6eb1ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* ===== PARTNER CATEGORIES ===== */
.partner-category {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6eb1ff, #4a90e2);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(110, 177, 255, 0.3);
}

.category-icon i {
    font-size: 32px;
    color: white;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.category-description {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== PARTNERS GRID ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
}

/* ===== PARTNER ITEMS ===== */
.partner-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 0;
    width: 100%;
    max-width: 400px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
}

.partner-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #6eb1ff;
}

/* Partner Image */
.partner-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.partner-item:hover .partner-img img {
    transform: scale(1.08);
}

/* Partner Content */
.partner-content {
    padding: 25px;
    text-align: left;
}

.partner-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.partner-type {
    font-size: 14px;
    color: #6eb1ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.partner-description {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Contact Info */
.partner-contact,
.partner-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #34495e;
    margin-bottom: 10px;
}

.partner-contact i,
.partner-location i {
    color: #6eb1ff;
    width: 16px;
}

/* Partner Badges */
.partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.official {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.badge.international {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.badge.country {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.badge.humanitarian {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

/* ===== PARTNER TYPE VARIATIONS ===== */
.partner-item.ministerial {
    border-left: 5px solid #e74c3c;
}

.partner-item.ministerial:hover {
    border-color: #e74c3c;
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.2);
}

.partner-item.international {
    border-left: 5px solid #3498db;
}

.partner-item.international:hover {
    border-color: #3498db;
    box-shadow: 0 20px 60px rgba(52, 152, 219, 0.2);
}

/* ===== CALL TO ACTION ===== */
.partnership-cta {
    background: linear-gradient(135deg, #6eb1ff, #4a90e2);
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.partnership-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #6eb1ff;
    border-color: white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #6eb1ff;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .category-title {
        font-size: 28px;
    }
    
    .partner-category {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-item {
        max-width: 100%;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 24px;
    }
    
    .partnership-cta {
        padding: 40px 20px;
        margin-top: 60px;
    }
    
    .cta-content h3 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .partners-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .category-header {
        margin-bottom: 30px;
    }
    
    .partner-content {
        padding: 20px;
    }
    
    .partner-content h4 {
        font-size: 18px;
        min-height: auto;
    }
    
    .partner-img {
        height: 180px;
    }
}


/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .partner-item,
    .partner-img img,
    .btn,
    .partnership-cta::before {
        animation: none;
        transition: none;
    }
    
    .partner-item:hover {
        transform: none;
    }
}