/* Enhanced Partnership Models */
.model-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.model-tab {
    background: white;
    border: 2px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.model-tab i {
    font-size: 2rem;
    color: #0056A6;
    margin-bottom: 0.5rem;
}

.model-tab span {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.model-tab small {
    color: #6c757d;
    font-size: 0.85rem;
}

.model-tab.active,
.model-tab:hover {
    border-color: #0056A6;
    background: linear-gradient(135deg, #0056A6, #4CAF50);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 166, 0.3);
}

.model-tab.active i,
.model-tab:hover i {
    color: white;
}

.model-tab.active span,
.model-tab:hover span {
    color: white;
}

.model-tab.active small,
.model-tab:hover small {
    color: rgba(255, 255, 255, 0.9);
}

/* CSR Dashboard */
.csr-dashboard {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-header h4 {
    color: #0056A6;
    font-size: 1.3rem;
    margin: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: #0056A6;
    transform: translateY(-2px);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0056A6, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0056A6;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.compliance-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* Alliance Ecosystem */
.alliance-ecosystem {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.ecosystem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0056A6, #4CAF50);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 86, 166, 0.3);
}

.center-logo i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.center-logo span {
    font-size: 0.8rem;
}

.ecosystem-partners {
    position: relative;
    width: 100%;
    height: 100%;
}

.partner-node {
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid #0056A6;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0056A6;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 86, 166, 0.2);
    animation: nodeFloat 3s ease-in-out infinite;
}

.partner-node[data-type="corporate"] {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.partner-node[data-type="government"] {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

.partner-node[data-type="international"] {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.partner-node[data-type="community"] {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.partner-node i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

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

/* Engagement Simulator */
.engagement-simulator {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.simulator-header h4 {
    color: #0056A6;
    margin-bottom: 2rem;
}

.engagement-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric-circle {
    position: relative;
    width: 100px;
    height: 100px;
}

.circle-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#4CAF50 0deg 306deg, #e9ecef 306deg 360deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-progress::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
}

.percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0056A6;
    z-index: 2;
}

.label {
    font-size: 0.7rem;
    color: #6c757d;
    z-index: 2;
}

.activity-types {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.activity-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Funding Calculator */
.funding-calculator {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.calculator-header h4 {
    color: #0056A6;
    text-align: center;
    margin-bottom: 2rem;
}

.funding-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.funding-option {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.funding-option:hover {
    border-color: #0056A6;
    background: linear-gradient(135deg, #0056A6, #4CAF50);
    color: white;
}

.funding-option .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0056A6;
    margin-bottom: 0.5rem;
}

.funding-option:hover .amount {
    color: white;
}

.funding-option .impact {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.funding-option:hover .impact {
    color: rgba(255, 255, 255, 0.9);
}

.custom-calculator {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.funding-slider {
    width: 100%;
    margin-bottom: 1rem;
}

.slider-output {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount-display {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0056A6;
}

.impact-display {
    font-size: 1rem;
    color: #4CAF50;
    font-weight: 600;
}

/* Model Details Enhancement */
.model-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

.highlight-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    width: 30px;
    text-align: center;
}

.highlight-item div {
    flex: 1;
}

.highlight-item strong {
    display: block;
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.highlight-item span {
    color: #6c757d;
    font-size: 0.9rem;
}

.model-pricing {
    background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid #4CAF50;
}

.price-range span {
    color: #6c757d;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.price-range strong {
    color: #0056A6;
    font-size: 1.3rem;
    font-weight: 700;
}

.model-cta-btn {
    background: linear-gradient(135deg, #0056A6, #4CAF50);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 1.1rem;
}

.model-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 166, 0.4);
}

@media (max-width: 768px) {
    .model-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .funding-options {
        grid-template-columns: 1fr;
    }
    
    .engagement-metrics {
        flex-direction: column;
        align-items: center;
    }
}