/* ============================================
   ENHANCED 3D EFFECTS & ANIMATIONS
   ============================================ */

/* Particle Animation Background */
.particle-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.5;
}

.floating-particle {
    position: absolute;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    opacity: 0.4;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Enhanced 3D Course Cards */
.premium-courses-section.enhanced-3d {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

.courses-container-3d {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    animation: slideUp 0.8s ease;
}

.section-title-3d {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.icon-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 50px rgba(124, 58, 237, 0.6);
    }
}

.section-subtitle-3d {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    margin: 0 auto;
    border-radius: 2px;
    animation: expandLine 0.8s ease;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Filter Buttons */
.course-filters-3d {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease 0.1s both;
}

.filter-btn-3d {
    padding: 12px 24px;
    background: rgba(0, 212, 255, 0.08);
    border: 2px solid var(--border-glass);
    border-radius: 30px;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-icon {
    display: inline-flex;
    font-size: 16px;
}

.filter-btn-3d:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.filter-btn-3d.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-color: var(--accent-cyan);
    color: white;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Enhanced 3D Grid */
.courses-grid-3d.enhanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    perspective: 1000px;
}

/* Enhanced Course Cards */
.course-card-3d.enhanced-card {
    position: relative;
    height: 100%;
    min-height: 500px;
    animation: fadeInScale 0.8s ease forwards;
    opacity: 0;
}

.course-card-3d.enhanced-card:nth-child(1) { animation-delay: 0.1s; }
.course-card-3d.enhanced-card:nth-child(2) { animation-delay: 0.2s; }
.course-card-3d.enhanced-card:nth-child(3) { animation-delay: 0.3s; }
.course-card-3d.enhanced-card:nth-child(4) { animation-delay: 0.4s; }
.course-card-3d.enhanced-card:nth-child(5) { animation-delay: 0.5s; }
.course-card-3d.enhanced-card:nth-child(6) { animation-delay: 0.6s; }

.course-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.course-card-3d-front {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.card-glow-effect {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4), transparent);
    border-radius: 50%;
    filter: blur(40px);
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.course-card-3d:hover .card-glow-effect {
    opacity: 1;
}

.card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.course-card-3d:hover .card-border-glow {
    opacity: 0.3;
}

/* Course Card Badges */
.course-badge-3d {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    animation: slideInDown 0.6s ease;
}

.badge-popular {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: var(--accent-cyan);
}

.badge-trending {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.5);
    color: var(--accent-purple);
}

.badge-premium {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(236, 72, 153, 0.5);
    color: var(--accent-pink);
}

.badge-hot {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}

/* Enhanced Icons */
.enhanced-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: 16px;
    transition: var(--transition);
}

.icon-glow-ring {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid var(--accent-cyan);
    opacity: 0;
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.enhanced-card:hover .enhanced-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(124, 58, 237, 0.25));
}

/* Course Category */
.course-category-3d {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.category-coding {
    background: rgba(79, 172, 254, 0.15);
    color: #4facfe;
}

.category-design {
    background: rgba(240, 147, 251, 0.15);
    color: #f093fb;
}

.category-video {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* Course Title & Description */
.course-title-3d {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.course-description-3d {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Course Stats */
.course-stats-3d {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin: 15px 0;
}

.course-stat-3d {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
}

.course-stat-3d i {
    color: var(--accent-cyan);
}

/* Course Footer */
.course-footer-3d {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
}

.course-price-3d {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 18px;
    font-weight: bold;
    color: var(--accent-cyan);
}

.currency {
    font-size: 14px;
}

.amount {
    font-size: 24px;
}

/* Neon Button */
.course-button-3d {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.neon-btn:hover::before {
    left: 100%;
}

.course-button-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), 0 0 15px rgba(124, 58, 237, 0.3);
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* About Hero Section */
.about-hero-section {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-title-animated {
    font-size: clamp(40px, 8vw, 56px);
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-title-animated .word {
    display: inline-block;
    margin: 0 8px;
    animation: slideUpWord 0.8s ease forwards;
    opacity: 0;
}

.page-title-animated .word:nth-child(1) { animation-delay: 0.1s; }
.page-title-animated .word:nth-child(2) { animation-delay: 0.2s; }
.page-title-animated .word:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideUpWord {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-subtitle-animated {
    color: var(--text-secondary);
    font-size: 18px;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeIn 0.8s ease 0.4s both;
}

.page-header-accent {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    margin: 20px auto 0;
    border-radius: 2px;
    animation: expandLine 0.8s ease 0.6s both;
}

/* Enhanced About Section */
.about-section.enhanced-about {
    padding: 80px 20px;
}

.about-content.enhanced-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text.fade-in-element {
    animation: slideUp 0.8s ease;
}

.section-title-gradient {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.about-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.mission-card,
.vision-card {
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: var(--transition);
}

.mv-icon {
    font-size: 32px;
    color: var(--accent-cyan);
    margin-bottom: 15px;
    display: inline-block;
}

.mission-card:hover,
.vision-card:hover {
    border-color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    transform: translateY(-5px);
}

/* Enhanced Stats */
.about-stats.enhanced-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item.stat-card-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-icon {
    font-size: 32px;
    color: var(--accent-cyan);
}

.stat-card-enhanced:hover {
    border-color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

/* Enhanced Leadership Section */
.leadership-profile-section.enhanced-team {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

.leadership-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.enhanced-header {
    animation: slideUp 0.8s ease;
}

.section-underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    margin: 20px auto 0;
    border-radius: 2px;
    animation: expandLine 0.8s ease 0.3s both;
}

/* Enhanced Profiles Grid */
.profiles-carousel-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.enhanced-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* Enhanced Profile Cards */
.profile-3d-container.enhanced-profile {
    animation: fadeInScale 0.8s ease forwards;
    opacity: 0;
}

.profile-3d-container.enhanced-profile:nth-child(1) { animation-delay: 0.1s; }
.profile-3d-container.enhanced-profile:nth-child(2) { animation-delay: 0.2s; }
.profile-3d-container.enhanced-profile:nth-child(3) { animation-delay: 0.3s; }
.profile-3d-container.enhanced-profile:nth-child(4) { animation-delay: 0.4s; }

.profile-card-3d.enhanced-profile-card {
    position: relative;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: var(--transition);
}

.profile-card-3d.featured-profile {
    border-color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.1));
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.profile-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Profile Badge */
.profile-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.manager-badge {
    background: rgba(100, 150, 255, 0.2);
    border: 1px solid rgba(100, 150, 255, 0.4);
    color: #6496ff;
}

.founder-badge {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: var(--accent-pink);
}

.developer-badge {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: var(--accent-cyan);
}

.instructor-badge {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

/* Enhanced Profile Image */
.profile-image-wrapper.enhanced-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid var(--border-glass);
}

.profile-image-3d {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--accent-purple);
    opacity: 0.2;
}

.enhanced-profile-card:hover .profile-image-3d {
    transform: scale(1.1);
}

.profile-image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image-border {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-cyan);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-profile-card:hover .profile-image-glow {
    opacity: 1;
}

.enhanced-profile-card:hover .profile-image-border {
    opacity: 1;
}

.enhanced-profile-card:hover .profile-image-overlay {
    opacity: 1;
}

/* Profile Name Section */
.profile-name-section {
    margin-bottom: 15px;
}

.profile-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-role {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-accent {
    width: 30px;
    height: 2px;
    background: var(--accent-cyan);
    margin-top: 8px;
}

/* Enhanced Profile Info */
.profile-info.enhanced-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skill-badge {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--accent-cyan);
    border-radius: 15px;
    font-size: 11px;
    color: var(--accent-cyan);
    font-weight: 600;
    transition: var(--transition);
}

.skill-badge:hover {
    background: rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

/* Profile Footer */
.profile-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--border-glass);
}

.profile-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-link:hover {
    color: var(--accent-pink);
    transform: translateX(3px);
}

/* Card Glow Effect */
.card-glow-effect.profile-glow {
    width: 150px;
    height: 150px;
    top: -100px;
    left: -100px;
}

/* Carousel Controls */
.carousel-controls {
    display: none;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(124, 58, 237, 0.4));
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-cyan);
    width: 30px;
    border-radius: 5px;
}

/* Animation Keyframes */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient Text Animation */
.gradient-text-animated {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .enhanced-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content.enhanced-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .courses-grid-3d.enhanced-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .course-card-3d {
        min-height: 450px;
    }
    
    .enhanced-profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-controls,
    .carousel-indicators {
        display: flex;
    }
    
    .profile-card-3d.enhanced-profile-card {
        min-height: 500px;
    }
    
    .about-stats.enhanced-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .courses-grid-3d.enhanced-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card-3d-front {
        padding: 20px;
    }
    
    .course-footer-3d {
        flex-direction: column;
    }
    
    .about-stats.enhanced-stats {
        grid-template-columns: 1fr;
    }
    
    .section-title-3d {
        font-size: 24px;
    }
    
    .page-title-animated {
        font-size: 32px;
    }
}
