/* ================================
    CAROUSEL STYLES
    ================================ */
.carousel-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 86, 210, 0.15) 0%,
            rgba(0, 0, 0, 0.4) 30%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s;
}

.carousel-slide.active .carousel-content {
    opacity: 1;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: white;
    -webkit-text-fill-color: white;
}

.carousel-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows - Premium Glass Effect */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:hover {
    background: linear-gradient(135deg, var(--accent-orange), #FF8C42);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(255, 107, 0, 0.5);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
    left: 40px;
}

.carousel-arrow.next {
    right: 40px;
}

.carousel-arrow i {
    transition: transform 0.3s ease;
}

.carousel-arrow:hover i {
    transform: scale(1.2);
}

/* Navigation Dots - Modern Design */
.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    z-index: 10;
}

.carousel-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(135deg, var(--accent-orange), #FF8C42);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.5);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.8);
}

.carousel-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-hero {
        height: 80vh;
    }

    .carousel-content h1 {
        font-size: 3rem;
    }

    .carousel-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .carousel-hero {
        margin-top: 55px;
        height: 75vh;
        min-height: 500px;
    }

    .carousel-content h1 {
        font-size: 2.5rem;
    }

    .carousel-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .carousel-arrow.prev {
        left: 25px;
    }

    .carousel-arrow.next {
        right: 25px;
    }

    .carousel-dots {
        bottom: 35px;
        gap: 12px;
    }

    .carousel-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 768px) {
    .carousel-hero {
        height: 70vh;
        min-height: 450px;
        margin-top: 55px;
    }

    .carousel-content h1 {
        font-size: 2.2rem;
    }

    .carousel-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .carousel-arrow.prev {
        left: 15px;
    }

    .carousel-arrow.next {
        right: 15px;
    }

    .carousel-dots {
        bottom: 30px;
        gap: 10px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-hero {
        margin-top: 55px;
        height: 65vh;
        min-height: 400px;
    }

    .carousel-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 25px;
        gap: 8px;
    }

    .carousel-dot {
        width: 9px;
        height: 9px;
    }

}

@media (max-width: 480px) {
    .carousel-hero {
        margin-top: 55px;
        height: 60vh;
        min-height: 350px;
    }

    .carousel-content h1 {
        font-size: 1.6rem;
    }

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


/* ================================
   COURSES PAGE CATEGORIES NAV
   ================================ */
.course-categories-nav {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 1.5rem 5%;
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 86, 210, 0.2);
}

.categories-scroll {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-nav-btn {
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.category-nav-btn:hover,
.category-nav-btn:focus {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.3);
}

.category-nav-btn i {
    font-size: 1.2rem;
}

/* Course Section */
.course-section {
    padding: 6rem 5%;
}

/* Enhanced Course Cards */
.course-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.category-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 1.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.category-header:hover::before {
    transform: rotate(45deg) translate(20%, 20%);
}

.category-header h3 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.category-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-duration {
    background: linear-gradient(135deg, var(--accent-orange), #FF8C42);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.category-content p {
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    flex: 1;
}

/* ================================
   COURSE DETAILS - FEATURES LIST
   ================================ */
.course-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-blue), #f0f7ff);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
    flex: 1;
}

.course-features span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark-text);
    padding: 0.2rem 0;
    line-height: 1.4;
}

.course-features i {
    color: var(--accent-orange);
    font-size: 0.9rem;
    min-width: 16px;
    margin-top: 0.1rem;
}

/* Course CTA Button */
.category-content .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-orange), #FF8C42);
    border: none;
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-content .btn:hover {
    background: linear-gradient(135deg, #FF8C42, var(--accent-orange));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    -webkit-text-fill-color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 1rem auto 3rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    background: linear-gradient(135deg, var(--accent-orange), #FF8C42);
    color: var(--white);
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.cta-section .btn:hover {
    background: linear-gradient(135deg, #FF8C42, var(--accent-orange));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid white;
}

.float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.float-btn:hover::before {
    transform: translateX(100%);
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-btn.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.float-btn.reviews {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-categories-nav {
        top: 0px;
        padding: 1rem 4%;
    }

    .categories-scroll {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .category-nav-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .course-section {
        padding: 4rem 4%;
    }

    .course-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .category-header h3 {
        font-size: 1.3rem;
    }

    .category-content {
        padding: 1.8rem;
    }

    .course-features {
        padding: 1.2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .course-section {
        padding: 3rem 4%;
    }

    .category-header {
        padding: 1.5rem;
        min-height: 90px;
    }

    .category-header h3 {
        font-size: 1.2rem;
    }

    .category-content {
        padding: 1.5rem;
    }

    .course-features {
        padding: 1.2rem;
    }

    .course-features span {
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 4rem 4%;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .category-nav-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .category-header h3 {
        font-size: 1.1rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .course-duration {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}