 /* О преподавателе */
        .about {
            background-color: white;
        }
        
        .about-container {
            display: flex;
            align-items: center;
            gap: 60px;
        }
        
        .about-image {
            flex: 1;
            text-align: center;
        }
        
        .about-image img {
            max-width: 100%;
            border-radius: 15px;
            box-shadow: var(--shadow);
        }
        
        .about-content {
            flex: 1;
        }
        
        .about-text {
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }
        
        .stats {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }
        
        .stat-text {
            color: var(--gray);
            font-weight: 600;
        }
        
        /* Контакты */
        .contacts {
            background-color: var(--light);
        }
        
        .contacts-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .contact-card {
            background-color: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            text-align: center;
            transition: var(--transition);
        }
        
        .contact-card:hover {
            transform: translateY(-10px);
        }
        
        .contact-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }
        
        .contact-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--dark);
        }
        
        .contact-info {
            color: var(--gray);
            margin-bottom: 1.5rem;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background-color: var(--light);
            border-radius: 50%;
            color: var(--dark);
            font-size: 1.2rem;
            transition: var(--transition);
            text-decoration: none;
        }
        
        .social-link:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-3px);
        }

        .teacher-photo-modern {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.btn {

    margin-top: 30px;

}

.photo-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.photo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.1), rgba(198, 40, 40, 0.1));
    z-index: 1;
}

.teacher-photo-modern img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.photo-wrapper:hover img {
    transform: scale(1.05);
}

.photo-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
}

.photo-badges .badge {
    background-color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
}

.photo-badges .badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.photo-badges .badge.experience i {
    color: var(--primary);
}

.photo-badges .badge.students i {
    color: var(--secondary);
}

/* Адаптивные стили для фотографии */
@media (max-width: 992px) {
    .teacher-photo-circle {
        width: 300px;
        height: 300px;
    }
    
    .teacher-photo-frame,
    .teacher-photo-modern {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .teacher-photo-circle {
        width: 250px;
        height: 250px;
    }
    
    .photo-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: -15px;
    }
    
    .photo-badges .badge {
        width: 80%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .teacher-photo-circle {
        width: 220px;
        height: 220px;
    }
    
    .photo-label {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}