.btn-telegram {
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-telegram:hover {
    background-color: #1b89bb;
}

.btn-telegram:active {
    background-color: #166d95;
    transform: scale(0.97);
}

.btn-telegram .shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-20deg);
    animation: shineAnim 2.5s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shineAnim {
    0% { left: -75%; }
    100% { left: 125%; }
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #0088cc, #4dc4ff) border-box;
    box-shadow: 0 0 12px rgba(0, 136, 204, 0.4);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.carousel-inner {
    display: flex;
    flex-wrap: nowrap;
}

.carousel-item {
    flex: 0 0 50%; /* 2 иконки видно */
    padding: 30px 10px;
}

.circle-wrapper {
    width: 120px;
    height: 120px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-wrapper i {
    font-size: 50px;
    color: #0d6efd; /* Синий */
}

.fw-medium {
    font-weight: 500;
    font-size: 16px;
    color: #003366;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #229ED9; /* Telegram blue */
    background-image: none; /* Убираем стандартную стрелку */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 60%;
    width: 40px;
    height: 40px;
}

.carousel-control-next-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.custom-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    font-size: 14px;
}

.footer-link {
    font-weight: 500;
    color: #0d6efd;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #084298;
    text-decoration: underline;
}

#scrollTopBtn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1030;
    display: none;
    width: 44px;
    height: 44px;
    font-size: 20px;
    text-align: center;
    line-height: 1;
    background-color: #0d6efd;
    color: white;
    border: none;
    transition: background-color 0.3s, opacity 0.3s;
}
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 80px;
    }
}

#scrollTopBtn:hover {
    background-color: #084298;
}

.service-card {
    background: linear-gradient(135deg, #0047ab, #007bff);
    color: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-right: 15px;
}

.text-justify {
    text-align: justify;
}

.services .btn-outline-primary {
    border-radius: 12px;
    border: 2px solid #229ED9;
    color: #229ED9;
    background-color: #fff;
    transition: all 0.25s ease;
}

.services .btn-outline-primary:hover {
    background-color: #229ED9;
    color: #fff;
}

.services ul li {
    margin-bottom: 0.5rem;
}
