        :root {
            --primary: #0056b3;
            --primary-dark: #004099;
            --secondary: #6c757d;
            --light: #f8f9fa;
            --dark: #212529;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark);
            padding-top: 80px;
            background-color: #f9f9f9;
        }
        /* Section Headings */
        .section-heading {
            position: relative;
            margin-bottom: 40px;
            font-weight: 700;
            color: var(--primary);
            padding-bottom: 15px;
        }
        
        /* Cards */
        .card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .card-img-top {
            border-radius: 12px 12px 0 0;
            height: 250px;
            object-fit: cover;
        }
        
        /* Staff Section */
        .staff-img {
            width: 150px;
            height: 150px;
            object-fit: cover;
            border-radius: 50%;
            margin-bottom: 20px;
            border: 5px solid var(--light);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* Table Styles */
        .table-custom {
            border-collapse: separate;
            border-spacing: 0;
            width: 100%;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .table-custom thead th {
            background-color: var(--primary);
            color: white;
            padding: 15px;
            text-align: center;
            font-weight: 600;
        }
        
        .table-custom tbody tr {
            transition: background-color 0.3s ease;
        }
        
        .table-custom tbody tr:hover {
            background-color: rgba(0, 86, 179, 0.05);
        }
        
        .table-custom tbody td {
            padding: 15px;
            vertical-align: middle;
            border-bottom: 1px solid #dee2e6;
        }
        
        .specialty-card {
            border-left: 4px solid var(--primary);
            transition: all 0.4s ease;
            cursor: pointer;
        }

        .specialty-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }
                
        .bg-light-custom {
            background-color: #f8fafc !important;
        }
        
        .timeline {
            position: relative;
            padding-left: 3rem;
            margin: 2rem 0;
        }
        
        .timeline:before {
            content: '';
            position: absolute;
            left: 15px;
            top: 0;
            height: 100%;
            width: 2px;
            background: var(--primary);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 2rem;
        }
        
        .timeline-item:before {
            content: '';
            position: absolute;
            left: -3rem;
            top: 5px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary);
            border: 4px solid white;
            box-shadow: 0 0 0 3px var(--primary);
        }
        
        .info-icon {
            width: 50px;
            height: 50px;
            background: rgba(0, 86, 179, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            color: var(--primary);
            font-size: 1.5rem;
        }
        
        /* Profession Cards */
        .profession-card {
            border-radius: 12px;
            padding: 25px;
            height: 100%;
            transition: all 0.3s ease;
            color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .profession-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .profession-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        /* Profession-specific colors */
        .profession-1 { background: linear-gradient(45deg, #3a7bd5, #00d2ff); }
        .profession-2 { background: linear-gradient(45deg, #56ab2f, #a8e063); }
        .profession-3 { background: linear-gradient(45deg, #8e2de2, #4a00e0); }
        .profession-4 { background: linear-gradient(45deg, #f46b45, #eea849); }
        .profession-5 { background: linear-gradient(45deg, #ff5e62, #ff9966); }
        .profession-6 { background: linear-gradient(45deg, #396afc, #2948ff); }
        .profession-7 { background: linear-gradient(45deg, #654ea3, #eaafc8); }
        .profession-8 { background: linear-gradient(45deg, #ff512f, #dd2476); }
        .profession-9 { background: linear-gradient(45deg, #1a2980, #26d0ce); }
        
        /* Staff section update */
        .staff-section .card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .staff-section .staff-img {
            width: 120px;
            height: 120px;
            margin-top: 15px;
        }

/* Фікс для відступів іконок */
.teacher-info-item i,
.icon-item i {
    margin-right: 20px !important;
    min-width: 24px !important;
}

.teacher-contact-item i {
    margin-right: 12px !important;
}

/* Для мобільних пристроїв */
@media (max-width: 768px) {
    .teacher-info-item i,
    .icon-item i {
        margin-right: 15px !important;
        min-width: 20px !important;
    }
    
    .teacher-contact-item i {
        margin-right: 10px !important;
    }
}
        
        @media (max-width: 768px) {
            .staff-img {
                width: 120px;
                height: 120px;
            }
            
            .table-custom thead {
                display: none;
            }
            
            .table-custom tbody tr {
                display: block;
                margin-bottom: 1rem;
                border: 1px solid #dee2e6;
                border-radius: 8px;
            }
            
            .table-custom tbody td {
                display: block;
                text-align: right;
                padding: 10px 15px;
                position: relative;
                border-bottom: 1px solid #dee2e6;
            }
            
            .table-custom tbody td:last-child {
                border-bottom: none;
            }
            
            .table-custom tbody td:before {
                content: attr(data-label);
                position: absolute;
                left: 15px;
                font-weight: 600;
            }
        }