:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --darker: #0a0f1c;
    --light: #e2e8f0;
    --card-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--text-primary);
    transition: background-color 0.3s ease;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, -15px);
    }

    100% {
        transform: translate(0, 0px);
    }
}

.glow {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.course-card {
    transition: all 0.4s ease;
    background: linear-gradient(145deg, #13132e, #0f0f23);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #bc13fe, #00f3ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(188, 19, 254, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.course-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(19, 19, 46, 0.9), transparent);
}

.course-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.course-card:hover .course-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 100px;
    color: rgba(139, 92, 246, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}


.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s ease;
    background: var(--dark);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.open {
    transform: translateX(0);
}

.hamburger-line {
    transform-origin: center;
    transition: all 0.3s ease;
    background-color: var(--text-primary);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    animation: float 6s ease-in-out infinite;
}

.stats-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.course-badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.floating-element {
    position: absolute;
    z-index: 0;
    opacity: 0.7;
    filter: drop-shadow(0 0 8px currentColor);
}

.enroll-btn {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.enroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.enroll-btn:hover::before {
    left: 100%;
}

.view-all-btn {
    background: linear-gradient(90deg, #13132e, #1a1a3a);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(90deg, #bc13fe, #00f3ff, #bc13fe);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.view-all-btn:hover::before {
    opacity: 1;
    animation: pulse-glow 1.5s infinite;
}

.view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.view-all-btn span {
    background: linear-gradient(90deg, #bc13fe, #00f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bounce-arrow {
    display: inline-block;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(5px);
    }
}

.progress-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

/* Hero Section Styles */
.hero-gradient {
    background: linear-gradient(135deg, #090915 0%, #0f0f23 50%, #1a1a2e 100%);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-gradient {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    animation: tech-float 8s infinite ease-in-out;
    z-index: 1;
}

@keyframes tech-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* Spider Net Patterns */
.spider-net {
    position: absolute;
    opacity: 0.15;
    border: 1px solid;
    border-radius: 50%;
    animation: spider-rotate 45s infinite linear;
    z-index: 0;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

@keyframes spider-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.spider-net-1 {
    width: 400px;
    height: 400px;
    top: 5%;
    left: 3%;
    animation-delay: 0s;
    border-color: var(--primary);
    background:
        radial-gradient(circle at center, transparent 60%, rgba(139, 92, 246, 0.05) 100%),
        conic-gradient(from 0deg, transparent 0%, rgba(139, 92, 246, 0.1) 10%, transparent 20%,
            rgba(139, 92, 246, 0.1) 30%, transparent 40%, rgba(139, 92, 246, 0.1) 50%,
            transparent 60%, rgba(139, 92, 246, 0.1) 70%, transparent 80%, rgba(139, 92, 246, 0.1) 90%);
}

.spider-net-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 5%;
    animation-delay: -15s;
    border-color: #06b6d4;
    background:
        radial-gradient(circle at center, transparent 50%, rgba(6, 182, 212, 0.05) 100%),
        conic-gradient(from 45deg, transparent 0%, rgba(6, 182, 212, 0.1) 15%, transparent 30%,
            rgba(6, 182, 212, 0.1) 45%, transparent 60%, rgba(6, 182, 212, 0.1) 75%);
}

.spider-net-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -30s;
    border-color: var(--primary);
    background:
        radial-gradient(circle at center, transparent 70%, rgba(139, 92, 246, 0.03) 100%),
        conic-gradient(from 90deg, transparent 0%, rgba(139, 92, 246, 0.08) 12%, transparent 24%,
            rgba(139, 92, 246, 0.08) 36%, transparent 48%, rgba(139, 92, 246, 0.08) 60%,
            transparent 72%, rgba(139, 92, 246, 0.08) 84%);
}

.spider-net-4 {
    width: 250px;
    height: 250px;
    top: 20%;
    right: 10%;
    animation-delay: -10s;
    border-color: #06b6d4;
    background:
        radial-gradient(circle at center, transparent 55%, rgba(6, 182, 212, 0.06) 100%),
        conic-gradient(from 135deg, transparent 0%, rgba(6, 182, 212, 0.12) 20%, transparent 40%,
            rgba(6, 182, 212, 0.12) 60%, transparent 80%);
}

.spider-net-5 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    left: 8%;
    animation-delay: -20s;
    border-color: var(--primary);
    background:
        radial-gradient(circle at center, transparent 65%, rgba(139, 92, 246, 0.04) 100%),
        conic-gradient(from 180deg, transparent 0%, rgba(139, 92, 246, 0.09) 8%, transparent 16%,
            rgba(139, 92, 246, 0.09) 24%, transparent 32%, rgba(139, 92, 246, 0.09) 40%,
            transparent 48%, rgba(139, 92, 246, 0.09) 56%, transparent 64%,
            rgba(139, 92, 246, 0.09) 72%, transparent 80%, rgba(139, 92, 246, 0.09) 88%);
}

/* Spider net radial lines */
.spider-net::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, currentColor 20%, currentColor 80%, transparent 100%);
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.3;
}

.spider-net::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, currentColor 20%, currentColor 80%, transparent 100%);
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0.3;
}

/* Additional diagonal lines for some nets */
.spider-net-1::before,
.spider-net-3::before,
.spider-net-5::before {
    background: linear-gradient(90deg, transparent 0%, currentColor 15%, currentColor 85%, transparent 100%);
}

.spider-net-1::after,
.spider-net-3::after,
.spider-net-5::after {
    background: linear-gradient(90deg, transparent 0%, currentColor 15%, currentColor 85%, transparent 100%);
}

/* Footer Styles */
.footer-container {
    position: relative;
    overflow: hidden;
}

.footer-bg {
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 30, 0.92) 100%),
        url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(67, 97, 238, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(15, 15, 25, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.glass-card:hover {
    background: rgba(20, 20, 35, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.logo-glass {
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow:
        0 8px 32px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.logo-glass:hover {
    background: rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow:
        0 12px 40px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.05);
}

.social-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-link {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    transition: all 0.3s ease;
    color: #cbd5e1;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #8b5cf6, #3b82f6);
    border-radius: 2px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(10px);
}

.footer-link:hover::before {
    transform: scaleY(1);
}

.footer-link-underline {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    transition: all 0.3s ease;
    color: #cbd5e1;
}

.footer-link-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.footer-link-underline:hover {
    color: white;
}

.footer-link-underline:hover::after {
    width: 100%;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border-radius: 3px;
}

.payment-section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.payment-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border-radius: 3px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top:hover {
    background: rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #8b5cf6;
}

.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 80px;
}

.sslcommerze {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 80px;
}

.payment-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.payment-logo img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.stats-glass {
    background: rgba(139, 92, 246, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stats-glass:hover {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.stats-number {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-label {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.floating-shape {
    position: absolute;
    background: rgba(139, 92, 246, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(139, 92, 246, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 70px;
    height: 70px;
    top: 20%;
    right: 8%;
    animation-delay: 2s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 8%;
    animation-delay: 4s;
}

/* Mouse-following particles */
.mouse-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.6);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* All Courses Page Specific Styles */
.category-filter {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    background-color: #4f46e5; /* Indigo */
    color: white;
}

.difficulty-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.difficulty-beginner {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.difficulty-intermediate {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.difficulty-advanced {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-card:hover {
        transform: translateY(-5px);
    }

    .floating-element {
        display: none;
    }

    .course-image {
        height: 160px;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Reposition icons for mobile */
    .tech-icon:nth-child(1) {
        top: 10%;
        left: 5%;
    }

    .tech-icon:nth-child(2) {
        top: 15%;
        right: 5%;
    }

    .tech-icon:nth-child(3) {
        top: 25%;
        left: 10%;
    }

    .tech-icon:nth-child(4) {
        top: 30%;
        right: 10%;
    }

    .tech-icon:nth-child(5) {
        bottom: 35%;
        left: 5%;
    }

    .tech-icon:nth-child(6) {
        bottom: 30%;
        right: 5%;
    }

    .tech-icon:nth-child(7) {
        bottom: 20%;
        left: 15%;
    }

    .tech-icon:nth-child(8) {
        bottom: 15%;
        right: 15%;
    }

    /* Adjust spider nets for mobile */
    .spider-net-1 {
        width: 250px;
        height: 250px;
        top: 3%;
        left: 1%;
        opacity: 0.2;
    }

    .spider-net-2 {
        width: 200px;
        height: 200px;
        bottom: 8%;
        right: 2%;
        opacity: 0.2;
    }

    .spider-net-3 {
        width: 300px;
        height: 300px;
        opacity: 0.15;
    }

    .spider-net-4 {
        width: 180px;
        height: 180px;
        top: 15%;
        right: 3%;
        opacity: 0.2;
    }

    .spider-net-5 {
        width: 220px;
        height: 220px;
        bottom: 15%;
        left: 3%;
        opacity: 0.2;
    }
}

@media (max-width: 480px) {
    .tech-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Further adjust spider nets for very small screens */
    .spider-net-1,
    .spider-net-2,
    .spider-net-3,
    .spider-net-4,
    .spider-net-5 {
        opacity: 0.15;
    }
}