
/* Success Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.metric-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-icon {
    width: 70px;
    height: 70px;
    background: rgba(43, 108, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.metric-icon i {
    font-size: 30px;
    color: #2b6cb0;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 10px;
    display: inline-block;
}

.metric-unit {
    font-size: 1.5rem;
    color: #2b6cb0;
    display: inline-block;
}

.metric-label {
    color: #4a5568;
    font-size: 1.1rem;
}

/* Subject Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: rgba(43, 108, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.expertise-icon i {
    font-size: 35px;
    color: #2b6cb0;
}

.expertise-card h3 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 20px;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.expertise-card ul li {
    padding: 8px 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.expertise-link {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: #2b6cb0;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.expertise-link:hover {
    background: #1a365d;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Floating Action Button */
.floating-action-btn {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 999;
}

.main-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #48BB78, #38A169);
    border: 3px solid #fff;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(72, 187, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

.main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.sub-buttons {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: row;
    gap: 15px;
    background: rgba(255, 255, 255, 0.98);
    padding: 12px;
    border-radius: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.sub-btn {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b6cb0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    font-size: 22px;
}

.sub-btn:hover {
    transform: scale(1.1);
    background: #2b6cb0;
    color: white;
    border-color: #2b6cb0;
}

.floating-action-btn:hover .sub-buttons {
    display: flex;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-action-btn {
        right: 20px;
    }
    
    .main-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .sub-buttons {
        right: 75px;
        padding: 10px;
    }
    
    .sub-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
