
    .instructor-photo-wrapper {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
}

.instructor-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← ключевое свойство */
    object-position: center top;
}

.official-guarantee {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 60px 0;
}

.official-tabs .nav-tabs .nav-link {
    border: none;
    padding: 15px 25px;
    font-weight: 500;
    color: #6c757d;
    background: white;
    margin: 0 5px;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.official-tabs .nav-tabs .nav-link.active {
    background: #007bff;
    color: white;
    border: none;
}

.official-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 0;
}

.official-tabs .tab-content {
    background: white;
    border-radius: 0 0 8px 8px;
}

.trust-item {
    padding: 15px;
}

.document-preview {
    transition: transform 0.3s ease;
}

.document-preview:hover {
    transform: translateY(-5px);
}

.guarantee-item {
    transition: transform 0.2s ease;
}

.guarantee-item:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .official-tabs .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
        margin: 2px;
    }

    .official-guarantee {
        padding: 40px 0;
    }
}

.payment-methods {
    background: linear-gradient(135deg, #f8fff8 0%, #f0f8ff 100%);
}

.payment-card {
    border: none;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.payment-card:nth-child(2) {
    border-left-color: #28a745;
}

.payment-card:nth-child(3) {
    border-left-color: #17a2b8;
}

.payment-card:nth-child(4) {
    border-left-color: #ffc107;
}

.payment-features {
    margin-top: 8px;
}

.yandex-pay-logo {
    font-size: 1.5rem;
}

.security-features small {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .payment-card .row {
        text-align: center;
    }

    .payment-card .col-md-2 {
        margin-bottom: 15px;
    }

    .payment-features {
        text-align: center;
    }

    .payment-features small {
        display: block;
        margin: 5px 0;
    }

    .payment-features small.ms-3 {
        margin-left: 0 !important;
    }
}

.documents-required {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.document-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.document-icon {
    position: relative;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.document-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.step-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,123,255,0.3);
}

.document-purpose {
    border-left: 3px solid;
}

.process-steps .d-flex {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.process-steps .d-flex:last-child {
    border-bottom: none;
}

.time-estimate {
    border: 2px dashed #007bff;
}

.security-guarantee {
    border-left: 4px solid #007bff;
}

@media (max-width: 768px) {
    .document-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .fa-2x {
        font-size: 1.5rem;
    }
}

.rating {
    color: #ffc107;
}
.course-image img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}
.sticky-top {
    z-index: 950;
}
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
}
.navbar.sticky-top {
    z-index: 1060;
}
.dropdown-menu {
    z-index: 1070 !important;
}
.btn-orange {
    background-color: #ff6b06;
    color: #fff;
}