/* Intensives Section Styles */
.intensives-area {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.intensives-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.intensives-area .container {
    position: relative;
    z-index: 1;
}

/* Desktop Grid Layout */
.intensives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Hide mobile swiper on desktop */
.intensives-swiper {
    display: none;
}

/* Show swiper only on mobile */
@media (max-width: 991px) {
    .intensives-grid {
        display: none !important;
    }
    
    .intensives-swiper {
        display: block !important;
    }
}

/* Intensive Card */
.intensive-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 350px;
}

.intensive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.intensive-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Intensive Image */
.intensive-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.intensive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.intensive-card:hover .intensive-image img {
    transform: scale(1.1);
}

/* Overlay with gradient */
.intensive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 33, 71, 0.1) 0%,
        rgba(0, 33, 71, 0.5) 50%,
        rgba(0, 33, 71, 0.85) 100%
    );
    transition: all 0.4s ease;
}

.intensive-card:hover .intensive-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 33, 71, 0.2) 0%,
        rgba(0, 33, 71, 0.6) 50%,
        rgba(0, 33, 71, 0.9) 100%
    );
}

/* Content */
.intensive-content {
    position: relative;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    color: #ffffff;
}

.intensive-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.intensive-card:hover .intensive-content h3 {
    transform: translateY(-5px);
}

.intensive-content .btn,
.intensive-content .btn.btn-theme,
.intensive-content .btn.btn-theme.effect {
    align-self: flex-start;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to bottom right, #FFB707, #FBDD95) !important;
    color: #002147 !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(255, 182, 6, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.intensive-content .btn:hover,
.intensive-content .btn:focus,
.intensive-content .btn:active,
.intensive-content .btn.btn-theme:hover,
.intensive-content .btn.btn-theme:focus,
.intensive-content .btn.btn-theme:active,
.intensive-content .btn.btn-theme.effect:hover,
.intensive-content .btn.btn-theme.effect:focus,
.intensive-content .btn.btn-theme.effect:active,
.intensive-content a.btn:hover,
.intensive-content a.btn:focus {
    background: #ffb606 !important;
    color: #002147 !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(255, 182, 6, 0.5) !important;
}

/* Swiper Styles for Mobile */
.intensives-swiper {
    margin-top: 40px;
    padding: 0 15px 60px;
}

.intensives-slider {
    padding-bottom: 50px;
}

.intensives-slider .swiper-slide {
    height: auto;
}

.intensives-slider .intensive-card {
    height: 400px;
}

/* Swiper Navigation */
.intensives-slider .swiper-button-next,
.intensives-slider .swiper-button-prev {
    color: #002147;
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.intensives-slider .swiper-button-next:after,
.intensives-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.intensives-slider .swiper-button-next:hover,
.intensives-slider .swiper-button-prev:hover {
    background: #002147;
    color: #ffffff;
    transform: scale(1.1);
}

/* Swiper Pagination */
.intensives-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #002147;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.intensives-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 991px) {
    .intensives-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .intensives-area {
        padding: 60px 0;
    }

    .intensive-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .intensive-content .btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    .intensives-slider .intensive-card {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .intensive-content {
        padding: 20px;
    }

    .intensive-content h3 {
        font-size: 20px;
    }

    .intensives-slider .intensive-card {
        height: 320px;
    }
}

/* Animation on scroll (можно добавить AOS или Intersection Observer) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intensive-card {
    animation: fadeInUp 0.6s ease-out;
}

.intensive-card:nth-child(1) {
    animation-delay: 0.1s;
}

.intensive-card:nth-child(2) {
    animation-delay: 0.2s;
}

.intensive-card:nth-child(3) {
    animation-delay: 0.3s;
}

.intensive-card:nth-child(4) {
    animation-delay: 0.4s;
}

