* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Onest', Arial, sans-serif;
        }

        body {
            background: #f8f9fa;
            overflow-x: hidden;
        }

        .directions-section {
            position: relative;
            overflow: visible;
            margin-top: 90px;
            max-width: 1440px;
            place-self: anchor-center;
        }
        
        .directions-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 40px;
        }

        .direction-tag {
            color: #1E5A81;
            font-size: 24px;
            padding: 10px 20px;
            border: 1px solid #1E5A81;
            border-radius: 30px;
            font-weight: 300;
            font-family: Onest;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
            transition: all 0.3s ease;
            cursor: default;
        }

        .container {
            margin: 0 auto;
            position: relative;
            margin-left: 100px;
        }

        .header-section {
            display: flex;
            justify-content: space-between;
        }

        .section-title {
            font-size: 48px;
            font-weight: 800;
            color: #EA2271;
            margin-bottom: 30px;
            padding-bottom: 15px;
        }
        
        .section-title1 {
            font-size: 48px;
            font-weight: 800;
            color: #EA2271;
            padding-bottom: 20px;
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            border-radius: 2px;
        }

        .carousel-btns {
            gap: 10px;
            display: flex;
            margin-right: 100px;
        }

        /* Карусель */
        .carousel-container {
            position: relative;
        }

        .cards-container {
            display: flex;
            transition: transform 0.5s ease;
            gap: 20px;
        }

        .card {
            background: rgba(255, 255, 255, 0.41);
            border-radius: 25px;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            position: relative;
            min-width: calc(33.333% - 20px);
            flex: 0 0 auto;
            backdrop-filter: blur(69.9000015258789px);
        }

        .card img {
            opacity: 0.9;
            border-top-left-radius: 25px;
            border-top-right-radius: 25px;
            width: -webkit-fill-available;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .card-header {
            font-family: Onest;
            font-weight: 400;
            font-size: 20px;
            line-height: 27px;
            letter-spacing: 0%;
            vertical-align: middle;

            padding: 30px 30px 10px 30px;
            color: #3A3838;
            position: relative;
        }

        .card-header h2 {
            font-family: Onest;
            font-weight: 600;
            font-size: 40px;
            line-height: 91%;
            letter-spacing: 0%;

            margin-bottom: 5px;
            position: relative;
            z-index: 2;
        }

        .card-content {
            padding: 0px 30px 30px 30px;
        }

        .card-content p {
            color: #555;
            line-height: 1.7;
            margin-bottom: 25px;
            font-size: 1.05rem;
            min-height: 100px;
        }

        .enroll-btn {
            display: flex;
            padding: 14px 20px;
            background: #FEC8D7;
            color: #3A3838!important;
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
            font-family: Onest;
            font-weight: 600;
            font-size: 24px;
            line-height: 91%;
            letter-spacing: 0%;
            gap: 20px;
            align-items: anchor-center;
            width: 230px;
            height: 61px;
            justify-self: right;
        }

        .enroll-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
            background: linear-gradient(90deg, #2980b9, #8e44ad);
        }

        /* Кнопки карусели */
        .carousel-btn {
            color: white;
            width: 50px;
            height: 50px;
            background: #EA2271;
            border-radius: 5px;
            align-items: center;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }
        
        .carousel-btn:active {
            background: #FF6DA7;
        }

        .carousel-btn.prev {
            left: -5px;
        }

        .carousel-btn.next {
            right: -5px;
        }

        .carousel-btn i {
            font-size: 1.5rem;
        }

        /* Индикаторы карусели */
        .carousel-indicators {
            display: flex;
            justify-content: center;
            margin-top: 25px;
            gap: 10px;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: #3498db;
            transform: scale(1.2);
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            .card-header h2 {
                font-size: 30px;
            }
            
            .card {
                display: flex;
                flex-direction: column;
            }
            
            .card-content {
                flex-grow: 1;
                padding-bottom: 70px;
            }
            
            
            .carousel-btns {
                visibility: hidden;
            }
            
            .enroll-btn {
                position: absolute;
                bottom: 30px;
                right: 30px;
                height: 50px;
                width: 150px;
                border-radius: 6px;
                font-size: 16px;
                gap: 0px;
                justify-content: center;
            }
            
            .enroll-btn svg {
                width: 0px;
            }
            
            .directions-section {
                place-self: auto;
                overflow: hidden;
            }
        }
        
        @media (max-width: 992px) {
            .container {
                margin-left:10px;
            }
            
            .carousel-btns {
                margin-right: 10px;
            }
            
            .directions-section {
                margin-top: 40px;
            }
            
            .section-title {
                font-size: 42px;
            }
            
            .section-title1 {
                font-size: 42px;
            }
            
            .card {
                margin-bottom: 40px;
                min-width: calc(50% - 15px);
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }

            .direction-tag {
                padding: 8px 16px;
                font-size: 0.9rem;
            }

            .card {
                min-width: calc(100%);
            }

            .carousel-container {
                padding: 0 40px;
            }

            .carousel-btn {
                width: 40px;
                height: 40px;
            }
            
            .section-title {
                font-size: 40px;
            }
            
            .section-title1 {
                font-size: 40px;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 24px;
            }
            
            .section-title1 {
                font-size: 24px;
            }

            .directions-list {
                gap: 10px;
            }

            .carousel-container {
                padding: 0 30px;
            }

            .card-header h2 {
                font-size: 1.5rem;
            }

            .card-content p {
                font-size: 0.95rem;
            }

            .enroll-btn {
                padding: 12px 25px;
                font-size: 0.9rem;
            }
        }
        
        .card2 {
            background: rgba(255, 255, 255, 0.41);
            border-radius: 25px;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            position: relative;
            min-width: calc(33.333% - 20px);
            flex: 0 0 auto;
            backdrop-filter: blur(69.9000015258789px);
        }

        .card2 img {
            opacity: 0.9;
            border-top-left-radius: 25px;
            border-top-right-radius: 25px;
            width: -webkit-fill-available;
        }

        .card2:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .enroll-btn2 {
            display: flex;
            padding: 14px 32px;
            background: #FEC8D7;
            color: #3A3838;
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
            font-family: Onest;
            font-weight: 600;
            font-size: 24px;
            line-height: 91%;
            letter-spacing: 0%;
            gap: 20px;
            align-items: anchor-center;
            width: 230px;
            height: 61px;
            justify-self: right;
        }

        .enroll-btn2:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
            background: linear-gradient(90deg, #2980b9, #8e44ad);
        }

        /* Кнопки карусели */
        .carousel-btn2 {
            color: white;
            width: 50px;
            height: 50px;
            background: #EA2271;
            border-radius: 5px;
            align-items: center;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .carousel-btn2.prev {
            left: -5px;
        }

        .carousel-btn2.next {
            right: -5px;
        }

        
        @media (max-width: 992px) {
            .card2 {
                margin-bottom: 40px;
                min-width: calc(50% - 15px);
            }
        }

        @media (max-width: 768px) {

            .card2 {
                min-width: calc(100%);
            }

            .carousel-btn2 {
                width: 40px;
                height: 40px;
            }
        }

        @media (max-width: 480px) {
            .enroll-btn2 {
                padding: 12px 25px;
                font-size: 0.9rem;
            }
        }
        
        .card3 {
            background: rgba(255, 255, 255, 0.41);
            border-radius: 25px;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            position: relative;
            min-width: calc(33.333% - 20px);
            flex: 0 0 auto;
            backdrop-filter: blur(69.9000015258789px);
        }
        
        .card3 .card-content p {
            margin-bottom: 0;
            min-height: 0px;
        }

        .card3 img {
            opacity: 0.9;
            border-top-left-radius: 25px;
            border-top-right-radius: 25px;
            width: -webkit-fill-available;
        }

        .card3:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        /* Кнопки карусели */
        .carousel-btn3 {
            color: white;
            width: 50px;
            height: 50px;
            background: #EA2271;
            border-radius: 5px;
            align-items: center;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .carousel-btn3.prev {
            left: -5px;
        }

        .carousel-btn3.next {
            right: -5px;
        }

        
        @media (max-width: 992px) {
            .card3 {
                margin-bottom: 40px;
                min-width: calc(50% - 15px);
            }
        }

        @media (max-width: 768px) {

            .card3 {
                min-width: calc(100%);
            }

            .carousel-btn3 {
                width: 40px;
                height: 40px;
            }
        }
        
        .card4 {
            background: rgba(255, 255, 255, 0.41);
            border-radius: 25px;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            position: relative;
            backdrop-filter: blur(69.9000015258789px);
        }

        .card4 img {
            opacity: 0.9;
            border-top-left-radius: 25px;
            border-top-right-radius: 25px;
        }

        .card4:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        /* Кнопки карусели */
        .carousel-btn4 {
            color: white;
            width: 50px;
            height: 50px;
            background: #EA2271;
            border-radius: 5px;
            align-items: center;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .carousel-btn4.prev {
            left: -5px;
        }

        .carousel-btn4.next {
            right: -5px;
        }
        
        .card-image {
            height: 450px; /* Фиксированная высота */
            width: 100%;
            overflow: hidden;
            position: relative;
        }
        
        .card:hover .card-image img {
            transform: scale(1.05);
        }
        
        .card-image img {
            width: auto;
            height: auto;
            object-fit: cover; /* Обрезаем изображение для заполнения контейнера */
            transition: transform 0.5s ease;
        }

        @media (max-width: 1024px) {
            .card-image {
                text-align: center;
                height: 450px;
            }
            
            .card-image img {
                width: fit-content;
            }
        }
        
        @media (max-width: 992px) {
            .card4 {
                background: none;
                margin-bottom: 40px;
                min-width: calc(50% - 15px);
            }
            
            .card4:hover {
                box-shadow: 0 15px 40px rgba(0, 0, 0, 0);
            }
            
            .card-image {
                height: 450px;
            }
        }

        @media (max-width: 768px) {

            .card4 {
                min-width: calc(100%);
            }

            .carousel-btn4 {
                width: 40px;
                height: 40px;
            }
            
            .card-image {
                height: 450px;
            }
            
            .card-image img {
                object-fit: fill;
            }
        }
        
        @media (max-width: 600px) {
            .card-image img {
                height: initial;
                width: inherit;
            }
        }


        @media (max-width: 480px) {
            .card-image {
                height: initial;
            }
        }