/*
 * SourceKode New Design - Inspired by sourcekode.space
 * Color Scheme: Green, Dark Green, White, Black, Yellow
 */

/* ============================================================
   HERO SECTION - NEW DESIGN (Dark Green Gradient)
   ============================================================ */
.hero-section-new {
    background: linear-gradient(135deg, #0a2f0a 0%, #1b5e20 50%, #2e7d32 100%);
    padding: 140px 0 80px;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section-new::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 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-section-new .container {
    position: relative;
    z-index: 2;
}

.min-vh-80 {
    min-height: auto;
}

.hero-title-new {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title-new .text-highlight {
    color: #4caf50;
    position: relative;
}

.hero-title-new .text-warning {
    color: #ffc107 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-new {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-subtitle-new strong {
    color: #ffc107;
}

.hero-buttons-new {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons-new .btn {
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-buttons-new .btn-success {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.hero-buttons-new .btn-success:hover {
    background: #66bb6a;
    border-color: #66bb6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.hero-buttons-new .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    background: transparent;
}

.hero-buttons-new .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* Hero Stats - Card Style */
.hero-stats-new {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    max-width: 550px;
}

.stat-item-new {
    text-align: center;
    padding: 15px 25px;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 140px;
}

.stat-item-new:last-child {
    border-right: none;
}

.stat-number-new {
    display: inline;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #4caf50;
}

.stat-label-new {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-new {
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero-image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero-image-badge i {
    font-size: 1.2rem;
    color: var(--accent-yellow);
}

/* Company Logos Strip - Dark Theme with Carousel */
.company-logos-strip {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.logos-title {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Carousel Wrapper */
.logos-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-carousel {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scrollLogos 25s linear infinite;
    width: max-content;
}

.logos-carousel:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.logo-item img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
   SECTION HEADERS - NEW DESIGN
   ============================================================ */
.section-header-new {
    margin-bottom: 50px;
}

.section-title-new {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.section-desc-new {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   COURSE FILTER TABS
   ============================================================ */
.course-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 25px;
    background: #fff;
    border: 2px solid #e9ecef;
    color: var(--dark-gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

/* ============================================================
   COURSE CARDS - NEW DESIGN
   ============================================================ */
.course-card-new {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Animated top border on hover */
.course-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow), var(--primary-green));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 10;
}

.course-card-new:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s infinite;
}

.course-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.course-image-new {
    position: relative;
    overflow: hidden;
}

.course-image-new img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card-new:hover .course-image-new img {
    transform: scale(1.1);
}

.course-badge-new {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-badge-new.popular {
    background: var(--primary-green);
    color: #fff;
}

.course-badge-new.trending {
    background: var(--accent-yellow);
    color: var(--black);
}

.course-badge-new.hot {
    background: #dc3545;
    color: #fff;
}

.course-content-new {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title-new {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.course-desc-new {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.course-meta-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.course-rating {
    color: var(--accent-yellow);
}

.course-rating i {
    font-size: 0.8rem;
}

.course-price-new {
    margin-bottom: 20px;
}

.price-old {
    text-decoration: line-through;
    color: var(--medium-gray);
    font-size: 1rem;
    margin-right: 10px;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-green);
}

.btn-course-new {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 12px 20px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-course-new:hover {
    background: var(--primary-green);
    color: #fff;
}

.btn-course-new i {
    transition: transform 0.3s ease;
}

.btn-course-new:hover i {
    transform: translateX(5px);
}

/* ============================================================
   WHY CHOOSE US - NEW DESIGN
   ============================================================ */
.why-choose-section-new {
    background: #f8f9fa;
}

.feature-card-new {
    background: #fff;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-new {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon-new i {
    font-size: 2rem;
    color: var(--primary-green);
}

.feature-title-new {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
}

.feature-desc-new {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS - CAROUSEL WITH GLASS EFFECT
   ============================================================ */
.testimonials-section-new {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    padding: 80px 0;
}

.testimonials-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

/* Glass Effect Card */
.testimonial-glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 35px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e7d32, #4caf50, #ffc107);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.testimonial-glass-card:hover::before {
    opacity: 1;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.1rem;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
    min-height: 120px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e8f5e9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-info .author-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.85rem;
    color: #2e7d32;
    margin: 0;
    font-weight: 500;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #2e7d32;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-control-icon i {
    color: #2e7d32;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon i,
.carousel-control-next:hover .carousel-control-icon i {
    color: #fff;
}

/* Carousel Indicators */
.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #2e7d32;
    background: transparent;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators-custom button.active {
    background: #2e7d32;
    transform: scale(1.2);
}

.carousel-indicators-custom button:hover {
    background: rgba(46, 125, 50, 0.3);
}

/* Responsive */
@media (max-width: 991.98px) {
    .testimonials-carousel-wrapper {
        padding: 0 40px;
    }
    
    .testimonial-text {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .testimonials-carousel-wrapper {
        padding: 0 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: -5px;
    }
    
    .carousel-control-next {
        right: -5px;
    }
    
    .testimonial-glass-card {
        padding: 25px 20px;
    }
}

/* ============================================================
   CTA SECTION - NEW DESIGN
   ============================================================ */
.cta-section-new {
    background: linear-gradient(135deg, var(--primary-dark-green) 0%, var(--primary-green) 100%);
    color: #fff;
}

.cta-title-new {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle-new {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-features-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-features-new li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-features-new i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

/* Demo Form Card */
.demo-form-card-new {
    background: #fff;
    padding: 40px 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-title-new {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    text-align: center;
    margin-bottom: 30px;
}

.demo-form-new .form-control,
.demo-form-new .form-select {
    border: 2px solid #e9ecef;
    border-radius: 0 !important;
    padding: 14px 18px;
    font-size: 1rem;
}

.demo-form-new .form-control:focus,
.demo-form-new .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: none;
}

.demo-form-new .btn-warning {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--black);
    padding: 16px;
    font-size: 1.1rem;
}

.demo-form-new .btn-warning:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* ============================================================
   RESPONSIVE STYLES - NEW DESIGN
   ============================================================ */
@media (max-width: 991.98px) {
    .hero-section-new {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title-new {
        font-size: 2.8rem;
    }
    
    .hero-stats-new {
        max-width: 100%;
    }
    
    .stat-item-new {
        padding: 20px 15px;
    }
    
    .stat-number-new {
        font-size: 2rem;
    }
    
    .stat-suffix {
        font-size: 1.4rem;
    }
    
    .hero-image-wrapper {
        margin-top: 50px;
    }
    
    .company-logos-strip {
        margin-top: 40px;
    }
    
    .logos-wrapper {
        gap: 30px;
    }
    
    .cta-content-new {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero-section-new {
        padding: 80px 0 50px;
        min-height: auto;
    }
    
    .hero-title-new {
        font-size: 2rem;
    }
    
    .hero-subtitle-new {
        font-size: 1rem;
    }
    
    .hero-buttons-new {
        flex-direction: column;
    }
    
    .hero-buttons-new .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats-new {
        flex-direction: row;
        justify-content: center;
        max-width: 100%;
    }
    
    .stat-item-new {
        flex: 1;
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .stat-number-new {
        font-size: 1.6rem;
    }
    
    .stat-suffix {
        font-size: 1.2rem;
    }
    
    .stat-label-new {
        font-size: 0.7rem;
    }
    
    .section-title-new {
        font-size: 2rem;
    }
    
    .course-filter-tabs {
        gap: 5px;
    }
    
    .filter-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .cta-title-new {
        font-size: 2rem;
    }
    
    .demo-form-card-new {
        padding: 30px 25px;
    }
}

@media (max-width: 575.98px) {
    .hero-title-new {
        font-size: 1.6rem;
    }
    
    .hero-stats-new {
        flex-wrap: wrap;
    }
    
    .stat-item-new {
        flex: 0 0 calc(33.333% - 1px);
        border-bottom: none;
    }
    
    .stat-number-new {
        font-size: 1.4rem;
    }
    
    .stat-suffix {
        font-size: 1rem;
    }
    
    .stat-label-new {
        font-size: 0.65rem;
    }
    
    .logos-wrapper img {
        height: 25px;
    }
    
    .logos-wrapper {
        gap: 20px;
    }
    
    .section-title-new {
        font-size: 1.6rem;
    }
    
    .feature-card-new {
        padding: 25px 20px;
    }
    
    .testimonial-card-new {
        padding: 25px 20px;
    }
}

/* ============================================================
   FOOTER - NEW DESIGN ADDITIONS
   ============================================================ */
.widget-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.footer-social-new {
    display: flex;
    gap: 12px;
}

.footer-social-new a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-new a:hover {
    background: var(--accent-yellow);
    color: var(--black);
    transform: translateY(-3px);
}

.operating-hours-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.operating-hours-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ============================================================
   LIGHT MODE OVERRIDES - NEW DESIGN ELEMENTS
   ============================================================ */
[data-theme="light"] .section-title-new {
    color: var(--primary-green);
}

[data-theme="light"] .section-subtitle-new {
    color: #555;
}

/* Course Cards - Light Mode */
[data-theme="light"] .course-card-new {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .course-card-new:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .course-card-new .card-content {
    background: #fff;
}

[data-theme="light"] .course-card-new .course-title {
    color: #1a1a1a;
}

[data-theme="light"] .course-card-new .course-description {
    color: #555;
}

[data-theme="light"] .course-card-new .course-meta {
    color: #666;
    border-top-color: rgba(0, 0, 0, 0.08);
}

/* Feature Cards - Light Mode */
[data-theme="light"] .feature-card-new {
    background: rgba(0, 128, 0, 0.05);
}

[data-theme="light"] .feature-card-new:hover {
    background: rgba(0, 128, 0, 0.08);
}

[data-theme="light"] .feature-card-new .feature-title {
    color: #1a1a1a;
}

[data-theme="light"] .feature-card-new .feature-text {
    color: #555;
}

/* Testimonial Cards - Light Mode */
[data-theme="light"] .testimonial-glass-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .testimonial-glass-card .testimonial-text {
    color: #333;
}

[data-theme="light"] .testimonial-glass-card .author-info .author-name {
    color: #1a1a1a;
}

[data-theme="light"] .testimonial-glass-card .author-info p {
    color: #666;
}

[data-theme="light"] .testimonial-card-new {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .testimonial-card-new .testimonial-content {
    color: #333;
}

[data-theme="light"] .testimonial-card-new .testimonial-author .author-name {
    color: #1a1a1a;
}

[data-theme="light"] .testimonial-card-new .testimonial-author .author-designation {
    color: #666;
}

/* Why Choose Section - Light Mode */
[data-theme="light"] .why-choose-section {
    background: #f8f9fa;
}

/* Course Filter - Light Mode */
[data-theme="light"] .course-filter-tabs .filter-btn {
    color: #333;
    background: #f0f0f0;
}

[data-theme="light"] .course-filter-tabs .filter-btn:hover,
[data-theme="light"] .course-filter-tabs .filter-btn.active {
    color: #fff;
}

/* CTA Section - Always keep white text on green */
[data-theme="light"] .cta-section-new .section-title-new,
[data-theme="light"] .cta-section-new h2,
[data-theme="light"] .cta-section-new p {
    color: #fff !important;
}

/* ============================================================
   DARK MODE OVERRIDES - NEW DESIGN ELEMENTS
   ============================================================ */
[data-theme="dark"] .section-title-new {
    color: var(--accent-yellow);
}

[data-theme="dark"] .section-subtitle-new {
    color: rgba(255, 255, 255, 0.7);
}

/* Course Cards - Dark Mode */
[data-theme="dark"] .course-card-new {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .course-card-new:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .course-card-new .card-content {
    background: transparent;
}

[data-theme="dark"] .course-card-new .course-title {
    color: #fff;
}

[data-theme="dark"] .course-card-new .course-description {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .course-card-new .course-meta {
    color: rgba(255, 255, 255, 0.6);
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Feature Cards - Dark Mode */
[data-theme="dark"] .feature-card-new {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-card-new:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .feature-card-new .feature-title {
    color: #fff;
}

[data-theme="dark"] .feature-card-new .feature-text {
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonial Cards - Dark Mode */
[data-theme="dark"] .testimonial-glass-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .testimonial-glass-card .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .testimonial-glass-card .author-info .author-name {
    color: #fff;
}

[data-theme="dark"] .testimonial-glass-card .author-info p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .testimonial-card-new {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .testimonial-card-new .testimonial-content {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .testimonial-card-new .testimonial-author .author-name {
    color: #fff;
}

[data-theme="dark"] .testimonial-card-new .testimonial-author .author-designation {
    color: rgba(255, 255, 255, 0.7);
}

/* Why Choose Section - Dark Mode */
[data-theme="dark"] .why-choose-section {
    background: rgba(255, 255, 255, 0.02);
}

/* Course Filter - Dark Mode */
[data-theme="dark"] .course-filter-tabs .filter-btn {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .course-filter-tabs .filter-btn:hover,
[data-theme="dark"] .course-filter-tabs .filter-btn.active {
    color: #000;
}

/* Filter Tabs - Dark Mode */
[data-theme="dark"] .filter-tab {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .filter-tab:hover,
[data-theme="dark"] .filter-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

/* Why Choose Section New - Dark Mode */
[data-theme="dark"] .why-choose-section-new {
    background: rgba(255, 255, 255, 0.02);
}

/* Feature Icon - Dark Mode */
[data-theme="dark"] .feature-icon-new {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.3) 0%, rgba(76, 175, 80, 0.2) 100%);
}

/* Testimonial Text - Dark Mode (direct selector) */
[data-theme="dark"] .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Author Info - Dark Mode (direct selectors) */
[data-theme="dark"] .author-info .author-name {
    color: #fff;
}

[data-theme="dark"] .author-info p {
    color: #4caf50;
}

/* Testimonial Author Border - Dark Mode */
[data-theme="dark"] .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .testimonial-author img {
    border-color: rgba(76, 175, 80, 0.3);
}

/* Carousel Controls - Dark Mode */
[data-theme="dark"] .carousel-control-prev,
[data-theme="dark"] .carousel-control-next {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .carousel-control-prev:hover,
[data-theme="dark"] .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Demo Form Card - Dark Mode */
[data-theme="dark"] .demo-form-card-new {
    background: #1e1e1e;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .form-title-new {
    color: #fff;
}

[data-theme="dark"] .demo-form-new .form-control,
[data-theme="dark"] .demo-form-new .form-select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

[data-theme="dark"] .demo-form-new .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .demo-form-new .form-control:focus,
[data-theme="dark"] .demo-form-new .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-green);
}

/* ============================================================
   INTERACTIVE ANIMATIONS - THEME SUPPORT
   ============================================================ */

/* Shimmer Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Course Card New - Dark Mode */
[data-theme="dark"] .course-card-new {
    background: #1e1e1e;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .course-card-new:hover {
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.15);
}

[data-theme="dark"] .course-title-new {
    color: #f5f5f5;
}

[data-theme="dark"] .course-desc-new {
    color: #9ca3af;
}

/* Course Card New - Light Mode */
[data-theme="light"] .course-card-new {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .course-card-new:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .course-title-new {
    color: #1a1a1a;
}

[data-theme="light"] .course-desc-new {
    color: #6b7280;
}

/* Course Badge Animations */
.course-badge-new {
    transition: all 0.3s ease;
}

.course-card-new:hover .course-badge-new {
    transform: scale(1.1) rotate(-3deg);
}

.course-badge-new.hot {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Star Rating Animation */
.course-rating {
    transition: all 0.3s ease;
}

.course-rating i {
    transition: all 0.2s ease;
}

.course-card-new:hover .course-rating i {
    animation: starBounce 0.4s ease-out;
}

.course-card-new:hover .course-rating i:nth-child(1) { animation-delay: 0s; }
.course-card-new:hover .course-rating i:nth-child(2) { animation-delay: 0.05s; }
.course-card-new:hover .course-rating i:nth-child(3) { animation-delay: 0.1s; }
.course-card-new:hover .course-rating i:nth-child(4) { animation-delay: 0.15s; }
.course-card-new:hover .course-rating i:nth-child(5) { animation-delay: 0.2s; }

@keyframes starBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); color: #ffc107; }
}

/* Price Animation on Hover */
.course-price-new {
    transition: all 0.3s ease;
}

.course-card-new:hover .course-price-new .price-current {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.course-price-new .price-current {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Button Arrow Animation */
.btn-course-new i {
    transition: transform 0.3s ease;
}

.btn-course-new:hover i {
    transform: translateX(5px);
}

/* Feature Cards Animation Enhancement */
.feature-card-new {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card-new:hover {
    transform: translateY(-10px);
}

.feature-card-new .feature-icon-new {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card-new:hover .feature-icon-new {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
}

[data-theme="dark"] .feature-card-new:hover .feature-icon-new {
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

/* Feature Card - Dark Mode */
[data-theme="dark"] .feature-card-new {
    background: #1e1e1e;
    border-color: #333;
}

[data-theme="dark"] .feature-card-new:hover {
    border-color: #4caf50;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .feature-title-new {
    color: #f5f5f5;
}

[data-theme="dark"] .feature-desc-new {
    color: #9ca3af;
}

/* CTA Section Animation */
.cta-section-new .btn {
    position: relative;
    overflow: hidden;
}

.cta-section-new .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-section-new .btn:hover::after {
    width: 300px;
    height: 300px;
}
