
*{
    color: black;
}
        .partners-section {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            animation: fadeIn 1s ease-out;
        }

        .section-title h1 {
            font-size: 2.8rem;
            font-weight: 700;
            color: #1e3c72;
            margin-bottom: 15px;
        }

        .section-title p {
            font-size: 1.1rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }

        .partner-card {
            background: #fff;
            border-radius: 15px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.5s ease;
            animation: fadeInUp 1s ease-out;
            animation-fill-mode: both;
            margin-bottom: 30px;
            border: 1px solid #f0f0f0;
            height: 100%;
            position: relative;
            z-index: 1;
        }

        .partner-card:nth-child(1) { animation-delay: 0.2s; }
        .partner-card:nth-child(2) { animation-delay: 0.4s; }

        .partner-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        }

        .partner-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(30, 60, 114, 0.03) 0%, rgba(42, 82, 152, 0.03) 100%);
            border-radius: 15px;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .partner-card:hover::before {
            opacity: 1;
        }

        .partner-logo {
            width: 150px;
            height: 150px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            position: relative;
            transition: all 0.5s ease;
            overflow: hidden;
        }

        /* Logo image styling */
        .partner-logo img {
            max-width: 80%;
            max-height: 80%;
            object-fit: contain;
            transition: all 0.5s ease;
        }

        .partner-card:hover .partner-logo {
            transform: scale(1.05);
        }

        .partner-card:hover .partner-logo img {
            transform: scale(1.1);
        }

        /* Text logo styling */
        .text-logo {
            font-size: 2.5rem;
            font-weight: bold;
            color: #1e3c72;
            text-align: center;
            line-height: 1;
        }

        .partner-card:hover .text-logo {
            color: #2a5298;
        }

        .partner-name {
            font-size: 1.8rem;
            font-weight: 600;
            color: #1e3c72;
            margin-bottom: 15px;
        }

        .partner-description {
            font-size: 1rem;
            color: #666;
            line-height: 1.6;
        }

        .partner-link {
            display: inline-block;
            margin-top: 20px;
            color: #1e3c72;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

        .partner-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #1e3c72;
            transition: width 0.3s ease;
        }

        .partner-link:hover {
            color: #2a5298;
        }

        .partner-link:hover::after {
            width: 100%;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .floating {
            animation: float 3s ease-in-out infinite;
        }

        /* Sparkle animation */
        .sparkle {
            position: absolute;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 10px 2px rgba(30, 60, 114, 0.3);
            pointer-events: none;
            z-index: 2;
        }

        .sparkle-1 { top: 20%; left: 10%; animation: sparkle 3s infinite; }
        .sparkle-2 { top: 70%; left: 20%; animation: sparkle 4s infinite 1s; }
        .sparkle-3 { top: 30%; right: 15%; animation: sparkle 5s infinite 0.5s; }
        .sparkle-4 { bottom: 20%; right: 10%; animation: sparkle 3.5s infinite 1.5s; }

        @keyframes sparkle {
            0%, 100% {
                opacity: 0;
                transform: scale(0);
            }
            50% {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Diamond background */
        .diamond-bg {
            position: absolute;
            font-size: 8rem;
            color: rgba(30, 60, 114, 0.03);
            z-index: 0;
            pointer-events: none;
        }

        .diamond-bg-1 { top: 10%; left: 5%; }
        .diamond-bg-2 { bottom: 10%; right: 5%; }

        /* Responsive */
        @media (max-width: 768px) {
            .section-title h1 {
                font-size: 2.2rem;
            }
            
            .partner-logo {
                width: 120px;
                height: 120px;
            }
            
            .partners-section {
                padding: 60px 0;
            }
        }
/* Add these styles to your existing CSS */

/* Partner Contact Information Styles */
.partner-contact-info {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 8px 0;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-right: 12px;
    margin-top: 2px;
    min-width: 20px;
}

.contact-details {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.contact-details strong {
    color: #1e3c72;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.contact-details a {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* Maps Section Styles */
.maps-section {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-maps, .btn-directions {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-maps {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    color: white;
}

.btn-maps:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.4);
    color: white;
}

.btn-directions {
    background: transparent;
    border: 2px solid #1e3c72;
    color: #1e3c72;
}

.btn-directions:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Enhanced partner card to accommodate new content */
.partner-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    height: auto; /* Changed from 100% to auto to accommodate variable content */
    position: relative;
    z-index: 1;
    min-height: 600px; /* Added minimum height for consistency */
}

/* Responsive Design */
@media (max-width: 768px) {
    .partner-contact-info {
        padding: 15px;
        margin: 20px 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: left;
    }
    
    .contact-item i {
        margin-bottom: 5px;
    }
    
    .maps-section {
        margin: 15px 0;
    }
    
    .btn-maps, .btn-directions {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .partner-card {
        min-height: auto;
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .contact-details {
        font-size: 13px;
    }
    
    .maps-section {
        gap: 8px;
    }
}

/* Animation for new elements */
.partner-contact-info {
    animation: slideInUp 0.6s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.maps-section {
    animation: slideInUp 0.6s ease-out;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}