/* Development Partners Page Styles */

/* Main Content Section */
.development-partners-main {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
}

.development-partners-main .section-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0B4C7A 0%, #1e6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(11, 76, 122, 0.3);
}

.section-header .section-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0B4C7A;
    margin-bottom: 20px;
    text-align: center;
}

.section-description {
    font-size: 1.6rem;
    color: #6c757d;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Partner Card */
.partner-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    height: fit-content;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0B4C7A 0%, #1e6ba8 50%, #0B4C7A 100%);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.partner-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partner-logo {
    text-align: center;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

.partner-name {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
}

.partner-full-name {
    font-size: 16px;
    font-weight: 600;
    color: #0B4C7A;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.partner-description {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* Specialty Tags */
.partner-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.specialty-tag {
    background: linear-gradient(135deg, #0B4C7A 0%, #1e88e5 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(11, 76, 122, 0.3);
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 76, 122, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .development-partners-main {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
    }
    
    .partner-card {
        padding: 25px 20px;
        max-width: 100%;
    }
    
    .partner-logo {
        height: 70px;
        margin-bottom: 15px;
    }
    
    .partner-logo img {
        max-height: 50px;
        max-width: 120px;
    }
    
    .partner-name {
        font-size: 24px;
    }
    
    .partner-full-name {
        font-size: 14px;
    }
    
    .partner-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .development-partners-main {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header .section-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .section-header .section-icon i {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .partners-grid {
        max-width: 350px;
    }
    
    .partner-card {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .partner-logo {
        height: 60px;
        margin-bottom: 12px;
    }
    
    .partner-logo img {
        max-height: 45px;
        max-width: 100px;
    }
    
    .partner-name {
        font-size: 20px;
    }
    
    .partner-full-name {
        font-size: 14px;
    }
    
    .partner-description {
        font-size: 14px;
    }
    
    .specialty-tag {
        font-size: 10px;
        padding: 4px 10px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-card {
    animation: fadeInUp 0.6s ease-out;
}

.partner-card:nth-child(1) {
    animation-delay: 0.1s;
}

.partner-card:nth-child(2) {
    animation-delay: 0.2s;
}

.partner-card:nth-child(3) {
    animation-delay: 0.3s;
}

.partner-card:nth-child(4) {
    animation-delay: 0.4s;
}

.partner-card:nth-child(5) {
    animation-delay: 0.5s;
}
