:root {
    --primary: #8A2BE2;
    --primary-dark: #6A1FB1;
    --primary-light: #FF6BB8;
    --primary-glow: rgba(138, 43, 226, 0.3);
    --secondary: #8A2BE2;
    --accent: #8A2BE2;
    --dark: #8A2BE2;
    --dark-lighter: #6A1FB1;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-primary: linear-gradient(135deg, #8A2BE2 0%, #6A1FB1 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

body {
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ====== GLASSMORPHISM CARDS ====== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-4px);
}

/* ====== HERO SECTION ENHANCED ====== */
.th-hero-wrapper {
    position: relative;
}

.th-hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--dark));
    z-index: 2;
    pointer-events: none;
}

.hero-style1 .hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-style1 .sub-title {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ====== SECTION TITLES ====== */
.sec-title {
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.sub-title.style1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.sub-title.style1::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ====== BUTTONS ENHANCED ====== */
.th-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
}

.th-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.th-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--primary-glow);
    color: #fff;
}

.th-btn:hover::before {
    opacity: 1;
}

.th-btn.style2 {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.th-btn.style2:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.th-btn.style4 {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
}

.th-btn.style4:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* ====== COURSE/PRODUCT CARDS ====== */
.course-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.2);
}

.course-card_img {
    overflow: hidden;
    position: relative;
}

.course-card_img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(74, 21, 128, 0.9) 100%);
}

.course-card_img img {
    transition: transform 0.6s ease;
    width: 100%;
}

.course-card:hover .course-card_img img {
    transform: scale(1.08);
}

.course-card_content {
    padding: 1.5rem;
}

.course-card_content .box-title a {
    color: var(--text-primary) !important;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.course-card_content .box-title a:hover {
    color: var(--primary-light) !important;
}

.line-btn {
    color: var(--primary-light) !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s, color 0.3s;
}

.line-btn:hover {
    gap: 12px;
    color: var(--secondary) !important;
}

/* ====== ABOUT SECTION ====== */
.img-box1 {
    position: relative;
}

.img-box1 .img1 img,
.img-box1 .img2 img {
    border-radius: 20px;
    border: 3px solid var(--glass-border);
}

.about-desc {
    color: var(--text-secondary) !important;
    font-size: 1rem;
    line-height: 1.8;
}

/* ====== NAVIGATION ====== */
.th-header {
    transition: all 0.3s ease;
}

.sticky-wrapper.sticky {
    background: rgba(74, 21, 128, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.main-menu ul li a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.main-menu ul li a:hover {
    color: var(--primary-light);
    background: rgba(138, 43, 226, 0.1);
}

.main-menu ul li.menu-item-has-children .sub-menu {
    background: var(--dark-lighter);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.main-menu ul li.menu-item-has-children .sub-menu li a {
    color: var(--text-secondary);
}

.main-menu ul li.menu-item-has-children .sub-menu li a:hover {
    color: var(--primary-light);
    background: rgba(138, 43, 226, 0.1);
}

/* ====== HEADER TOP ====== */
.header-top {
    background: rgba(74, 21, 128, 0.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
}

.header-links ul li {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.header-links ul li a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.header-links ul li a:hover {
    color: var(--primary-light);
}

/* ====== FOOTER ====== */
.footer-wrapper {
    background: var(--gradient-dark) !important;
    border-top: 1px solid var(--glass-border);
}

.info-box_icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(138, 43, 226, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.info-box_link {
    color: var(--text-secondary) !important;
    transition: color 0.3s;
}

.info-box_link:hover {
    color: var(--primary-light) !important;
}

/* ====== SCROLL TO TOP ====== */
.scroll-top {
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px var(--primary-glow);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
}

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

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ====== SECTION SPACING ====== */
.space {
    padding: 80px 0;
}

.space-extra3 {
    padding: 60px 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .hero-style1 .hero-title {
        font-size: 2.5rem;
    }

    .space {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-style1 .hero-title {
        font-size: 2rem;
    }

    .glass-card {
        padding: 1.25rem;
    }

    .course-card_content {
        padding: 1rem;
    }
}

/* ====== PARTICLE BACKGROUND ====== */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle-bg::before,
.particle-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.particle-bg::before {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.particle-bg::after {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

/* ====== BADGE STYLING ====== */
.badge-success {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* ====== SOCIAL LINKS ====== */
.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-light);
}

.social-title {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ====== SLIDER ARROWS ====== */
.slider-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* ====== COUNTER/STATS ====== */
.checklist ul li h4 .badge {
    font-size: 1rem;
}
