/* Partners Page Styles */

/* Header and navigation styles are inherited from main.css */

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.banner-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.banner-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* World Map Section */
.world-map-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.world-map-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.world-map {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.partner-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    flex: 0 0 240px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
    border-right: 1px solid #e5e7eb;
}

.partner-logo img {
    max-width: 100%;
    max-height: 120px;
}

.partner-info {
    flex: 1;
    padding: 30px;
}

.partner-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.partner-location {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-certs {
    color: #4361ee;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 15px 0;
}

.partner-description {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.partner-products {
    margin-bottom: 20px;
}

.partner-products h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.partner-products ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-products li {
    background-color: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(67, 97, 238, 0.2);
}

/* Become Partner Section */
.become-partner {
    padding: 80px 0;
    background-color: #f8fafc;
}

.partner-cta {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    border-radius: 10px;
    overflow: hidden;
    color: white;
    padding: 50px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.cta-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.benefit-list i {
    color: #48cae4;
    font-size: 18px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: #4361ee;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Dark Mode Styles */
body.dark-mode .page-banner {
    background: linear-gradient(135deg, #5d7bff, #4361ee);
}

body.dark-mode .world-map-section,
body.dark-mode .become-partner {
    background-color: #0f172a;
}

body.dark-mode .world-map-section h2 {
    color: #f8fafc;
}

body.dark-mode .partner-card {
    background-color: #1e293b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .partner-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .partner-logo {
    background-color: #0f172a;
    border-right-color: #334155;
}

body.dark-mode .partner-info h3 {
    color: #f8fafc;
}

body.dark-mode .partner-location {
    color: #94a3b8;
}

body.dark-mode .partner-certs {
    color: #5d7bff;
}

body.dark-mode .partner-description {
    color: #cbd5e1;
}

body.dark-mode .partner-products h4 {
    color: #f8fafc;
}

body.dark-mode .partner-products li {
    background-color: rgba(93, 123, 255, 0.1);
    color: #5d7bff;
}

body.dark-mode .btn-secondary {
    background-color: rgba(93, 123, 255, 0.1);
    color: #5d7bff;
}

body.dark-mode .btn-secondary:hover {
    background-color: rgba(93, 123, 255, 0.2);
}

body.dark-mode .partner-cta {
    background: linear-gradient(135deg, #5d7bff, #4361ee);
}

/* Responsive styles */
@media (max-width: 992px) {
    .partner-card {
        flex-direction: column;
    }
    
    .partner-logo {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    body.dark-mode .partner-logo {
        border-bottom-color: #334155;
    }
    
    .benefit-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .world-map-section,
    .partners-section,
    .become-partner {
        padding: 40px 0;
    }
    
    .world-map-section h2,
    .cta-content h2 {
        font-size: 24px;
    }
    
    .partner-info {
        padding: 20px;
    }
    
    .partner-info h3 {
        font-size: 20px;
    }
    
    .partner-cta {
        padding: 30px 20px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .partner-products ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .partner-products li {
        display: inline-block;
    }
}

/* Fix for header and footer consistency */
/* Override the main-header class to use site-header styling */
.main-header {
 background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Style main-footer to use site-footer styling */
.main-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}


/* Fix header-inner to match header-content */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Dark mode fixes */
.dark-mode .main-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.main-nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding: 10px 15px;
    border-radius: 8px;
    display: block;
}

.main-nav a:hover,
.main-nav .active a {
    color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.1);
}

.main-nav .active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-speed) ease;
}

.dark-mode .main-footer {
    background-color: #0f172a;
}

/* Fix for site-header if it's used instead of main-header */
.site-header {
 background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-speed) ease;
}

/* Fix for site-footer if it's used instead of main-footer */
.site-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}