/* ═════════════════════════════════════════════════════════════════
   CUSTOM CURSOR SYSTEM
   ═════════════════════════════════════════════════════════════════ */

/* Cursor system re-enabled for portfolio design migration */

/* ═════════════════════════════════════════════════════════════════
   LINK HOVER EFFECTS
   ═════════════════════════════════════════════════════════════════ */

a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:not([class*="btn"]):not([class*="logo"]):not([class*="brand"])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px #00d4ff;
}

a:not([class*="btn"]):not([class*="logo"]):not([class*="brand"]):hover::after {
    width: 100%;
}

/* ═════════════════════════════════════════════════════════════════
   BUTTON HOVER EFFECTS
   ═════════════════════════════════════════════════════════════════ */

button, .btn, [class*="btn"], .hbtn, .nbtn, .pricing-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover, .btn:hover, [class*="btn"]:hover, .hbtn:hover, .nbtn:hover, .pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 15px rgba(0, 212, 255, 0.5);
    border-color: #00d4ff !important;
}

button:active, .btn:active, [class*="btn"]:active {
    transform: translateY(0);
}

button::before, .btn::before, [class*="btn"]::before, .hbtn::before, .nbtn::before, .pricing-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.5), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

button:hover::before, .btn:hover::before, [class*="btn"]:hover::before {
    width: 300px;
    height: 300px;
}

/* ═════════════════════════════════════════════════════════════════
   CARD HOVER EFFECTS
   ═════════════════════════════════════════════════════════════════ */

.card, .course-card, .feature-item, .testimonial-card, .pricing-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover, .course-card:hover, .feature-item:hover, .testimonial-card:hover, .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2), 0 0 30px rgba(0, 212, 255, 0.6), inset 0 0 20px rgba(0, 212, 255, 0.1);
    border-color: #00d4ff !important;
}

.card::before, .course-card::before, .feature-item::before, .testimonial-card::before, .pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.card:hover::before, .course-card:hover::before, .feature-item:hover::before, .testimonial-card:hover::before, .pricing-card:hover::before {
    opacity: 1;
}

/* ═════════════════════════════════════════════════════════════════
   NAVBAR HOVER & ACTIVE STATE
   ═════════════════════════════════════════════════════════════════ */

.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.act::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.act {
    color: #00d4ff;
}

/* ═════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-stagger="1"] { transition-delay: 0.1s; }
.reveal[data-stagger="2"] { transition-delay: 0.2s; }
.reveal[data-stagger="3"] { transition-delay: 0.3s; }
.reveal[data-stagger="4"] { transition-delay: 0.4s; }
.reveal[data-stagger="5"] { transition-delay: 0.5s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #ff6a00);
    box-shadow: 0 0 15px #00d4ff;
    width: 0%;
    z-index: 1000;
    transition: width 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

.interactive {
    cursor: pointer;
    position: relative;
}

/* ═════════════════════════════════════════════════════════════════
   LIGHT MODE ANIMATION OVERRIDES
   ═════════════════════════════════════════════════════════════════ */

/* Link hover underlines */
[data-theme="light"] a:not([class*="btn"]):not([class*="logo"]):not([class*="brand"])::after {
    background: #0062cc;
    box-shadow: 0 0 10px rgba(0, 98, 204, 0.5);
}

/* Button hover effects */
[data-theme="light"] button:hover, [data-theme="light"] .btn:hover, [data-theme="light"] [class*="btn"]:hover, [data-theme="light"] .hbtn:hover, [data-theme="light"] .nbtn:hover, [data-theme="light"] .pricing-btn:hover {
    box-shadow: 0 0 20px rgba(0, 98, 204, 0.3), 0 0 10px rgba(0, 98, 204, 0.15);
    border-color: #0062cc !important;
}

[data-theme="light"] button::before, [data-theme="light"] .btn::before, [data-theme="light"] [class*="btn"]::before, [data-theme="light"] .hbtn::before, [data-theme="light"] .nbtn::before, [data-theme="light"] .pricing-btn::before {
    background: radial-gradient(circle, rgba(0, 98, 204, 0.25), transparent);
}

/* Card hover effects */
[data-theme="light"] .card:hover, [data-theme="light"] .course-card:hover, [data-theme="light"] .feature-item:hover, [data-theme="light"] .testimonial-card:hover, [data-theme="light"] .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 98, 204, 0.1), 0 0 20px rgba(0, 98, 204, 0.12), inset 0 0 15px rgba(0, 98, 204, 0.05);
    border-color: #0062cc !important;
}

[data-theme="light"] .card::before, [data-theme="light"] .course-card::before, [data-theme="light"] .feature-item::before, [data-theme="light"] .testimonial-card::before, [data-theme="light"] .pricing-card::before {
    background: radial-gradient(circle, rgba(0, 98, 204, 0.05), transparent 70%);
}

/* Navbar link underlines */
[data-theme="light"] .nav-links a::after {
    background: #0062cc;
}

[data-theme="light"] .nav-links a:hover, [data-theme="light"] .nav-links a.act {
    color: #0062cc;
}

/* Scroll progress bar */
[data-theme="light"] #scroll-progress {
    background: linear-gradient(90deg, #0062cc, #c94f08);
    box-shadow: 0 0 10px rgba(0, 98, 204, 0.3);
}

/* Cursor customizations */
[data-theme="light"] #cursor {
    background: radial-gradient(circle, #0062cc 0%, transparent 70%);
    border-color: #0062cc;
    box-shadow: 0 0 20px #0062cc, inset 0 0 10px #0062cc;
}

[data-theme="light"] #cursor-ring {
    border-color: #0062cc;
}

[data-theme="light"] .cursor-trail {
    background: radial-gradient(circle, #0062cc, transparent);
    box-shadow: 0 0 10px #0062cc;
}

/* ═══════════════════════════════════════════════════════════════
   PERMANENT FIX: REMOVE ALL VERTICAL BARS - AGGRESSIVE APPROACH
   ═══════════════════════════════════════════════════════════════ */

/* Disable all decorative pseudo-elements that create vertical bars */
/* Section container pseudo-elements - PRIMARY CULPRITS */
.hero::before, .hero::after,
.sec-path::before, .sec-path::after,
.sec-awards::before, .sec-awards::after,
.sec-courses::before, .sec-courses::after,
.sec-testi::before, .sec-testi::after,
.sec-faq::before, .sec-faq::after,
/* Heading and title pseudo-elements */
h1::after, h1::before,
h2::after, h2::before,
h3::after, h3::before,
h4::after, h4::before,
h5::after, h5::before,
h6::after, h6::before,
.sec-h2::after, .sec-h2::before,
.sec-h2 *::after, .sec-h2 *::before,
[class*="heading"]::after, [class*="heading"]::before,
[class*="title"]::after, [class*="title"]::before,
.accent::after, .accent::before,
.eyebrow-line::after, .eyebrow-line::before,
.line2::after, .line2::before,
.line3::after, .line3::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  position: static !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
