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

        .works-btn {
	transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
        }
		

        .works-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(26, 41, 128, 0.3);
        }
        
        /* Popup окно */
        .works-popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
        }
        
        .popup-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
        }
        
        .popup-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 1400px;
            max-height: 90vh;
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        }
        
        .popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 30px;
            background: linear-gradient(90deg, var(--text-dark) 0%, var(--primary-color) 100%);
            color: var(--white);
        }
        
        .popup-title {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .close-popup {
            background: none;
            border: none;
            color: var(--white);
            font-size: 2rem;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
        }
        
        .close-popup:hover {
            transform: rotate(90deg);
        }
        
        /* Карусель с фиксированным размером */
        .works-carousel {
            padding: 40px 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 500px;
            background: var(--primary-color);
        }
        
        .carousel-container {
            width: 70%;
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
        }
        
        .carousel-inner {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            width: 100%;
            aspect-ratio: 16/9; /* Фиксированное соотношение сторон */
        }
        
        /* Фиксированный размер для carousel-item */
        .carousel-item {
            width: 100%;
            height: 100%;
            text-align: center;
            position: relative;
        }
        
        /* Картинка подстраивается под размер контейнера */
        .carousel-image {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Или contain в зависимости от ваших потребностей */
            display: block;
            background: #e9ecef;
        }
        
        .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            padding: 15px;
            color: var(--white);
            font-size: 1.1rem;
        }
        
        /* Навигация карусели */
        .carousel-control-prev,
        .carousel-control-next {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 1;
            transition: all 0.3s;
        }
        
        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            background: var(--text-dark);
            transform: translateY(-50%) scale(1.1);
        }
        
        .carousel-control-prev {
            left: -80px;
        }
        
        .carousel-control-next {
            right: -80px;
        }
        
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 30px;
            height: 30px;
        }
        
        /* Индикаторы под каруселью */
        .carousel-indicators-container {
            position: absolute;
            bottom: -40px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
        }
        
        .carousel-indicators {
            position: relative;
            bottom: 0;
            margin: 0;
            padding: 0;
        }
        
        .carousel-indicators button {
            width: 12px!important;
            height: 12px!important;
            border-radius: 50%;
            margin: 0 8px;
            border: 2px solid var(--primary-color);
            background: transparent;
            opacity: 1;
        }
        
       
  .carousel-indicators [data-bs-target] {
    background-color: var(--text-dark);
  }	
  
  .carousel-indicators button.active {

        }
 
        /* Статус */
        .status-info {
            padding: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            margin-top: 20px;
            font-size: 0.9rem;
            color: var(--text-light);
        }
        
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--secondary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 10px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideIn {
            from { transform: translate(-50%, -60%); opacity: 0; }
            to { transform: translate(-50%, -50%); opacity: 1; }
        }
        
        .works-popup.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        .popup-content.active {
            animation: slideIn 0.4s ease;
        }
        
        /* Адаптивность */
        @media (max-width: 1200px) {
            .carousel-container {
                width: 80%;
            }
            
            .carousel-control-prev {
                left: -60px;
            }
            
            .carousel-control-next {
                right: -60px;
            }
        }
        
        @media (max-width: 992px) {
            .carousel-container {
                width: 85%;
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                width: 50px;
                height: 50px;
            }
            
            .carousel-control-prev {
                left: -50px;
            }
            
            .carousel-control-next {
                right: -50px;
            }
        }
        
        @media (max-width: 768px) {
            .popup-content {
                width: 95%;
                max-height: 85vh;
            }
            
            .works-carousel {
                padding: 20px 15px;
                min-height: 400px;
            }
            
            .carousel-container {
                width: 90%;
            }
            
            .carousel-inner {
                aspect-ratio: 4/3; /* Меняем соотношение сторон на мобильных */
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                width: 45px;
                height: 45px;
                opacity: 0.9;
            }
            
            .carousel-control-prev {
                left: -30px;
            }
            
            .carousel-control-next {
                right: -30px;
            }
            
            .popup-header {
                padding: 15px 20px;
            }
            
            .works-buttons {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 576px) {
            .carousel-container {
                width: 95%;
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                display: none; /* Скрываем стрелки на очень маленьких экранах */
            }
            
            .carousel-inner {
                aspect-ratio: 1/1; /* Квадратное соотношение на очень маленьких экранах */
            }
            
            .carousel-caption {
                font-size: 0.9rem;
                padding: 10px;
            }
            
            .works-carousel {
                padding: 15px 10px;
                min-height: 350px;
            }
        }