/* Enhanced Expertise Section */
.expertise {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 50%, #3182ce 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.expertise::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: expertiseFloat 25s linear infinite;
}

@keyframes expertiseFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(60px, 60px) rotate(360deg); }
}

.expertise .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.expertise .section-header h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expertise .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.expertise-showcase {
    position: relative;
    z-index: 2;
}

/* Hero Section */
.expertise-hero {
    margin-bottom: 4rem;
}

.expertise-main-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #1a365d;
}

.expertise-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3182ce, #63b3ed);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.4);
}

.expertise-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.expertise-header p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Action Flow Visualization */
.action-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.step-circle.know {
    background: linear-gradient(135deg, #718096, #a0aec0);
}

.step-circle.gap {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    animation: pulse 2s infinite;
}

.step-circle.do {
    background: linear-gradient(135deg, #38a169, #68d391);
}

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

.step-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #3182ce;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flow-arrow.bridge {
    flex-direction: column;
}

.bridge-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3182ce;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #1a365d;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3182ce, #63b3ed, #9f7aea, #f093fb);
}

.expertise-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 70px rgba(49, 130, 206, 0.3);
    background: rgba(255, 255, 255, 1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card-icon.science {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.card-icon.communication {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.card-icon.cultural {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.card-icon.measurement {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.expertise-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0;
    flex: 1;
}

.card-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.95rem;
}

.feature-list li i {
    color: #38a169;
    font-size: 0.875rem;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .expertise .section-header h2 {
        font-size: 2rem;
    }
    
    .expertise-header h3 {
        font-size: 2rem;
    }
    
    .expertise-main-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .action-flow {
        gap: 1rem;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .flow-arrow {
        font-size: 1.25rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-card {
        padding: 2rem 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .action-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .flow-arrow.bridge {
        transform: rotate(90deg);
        flex-direction: row;
    }
}