
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0c10;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}



/* --- BREAKING NEWS TICKER --- */
.breaking-news-container {
    background: linear-gradient(135deg, rgba(34, 20, 71, 0.2), rgba(43, 17, 84, 0.2));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(179, 126, 236, 0.3);
    border-radius: 0.75rem;
    padding: 1rem 0;
    margin: 3rem auto;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.breaking-news-label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #291b53, #281f4a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(126, 34, 105, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.breaking-news-ticker {
    overflow: hidden;
    white-space: nowrap;
    animation: ticker-scroll 20s linear infinite;
    will-change: transform;
}

.breaking-news-text {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 4rem;
}


.featured-course-container {
    max-width: 500px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    animation: slideUp 1.25s ease-out;
}

.featured-card {
    width: 100%;
    height: auto;
    min-height: 450px;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
    border: 2px solid rgba(124, 58, 237, 0.4);
}

.featured-card:hover {
    box-shadow: 0 12px 48px rgba(124, 58, 237, 0.5);
    border-color: rgba(124, 58, 237, 0.6);
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDelay {
    0%, 30% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

@keyframes glow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 20px rgba(124, 58, 237, 0.5); }
    50% { opacity: 1; box-shadow: 0 0 40px rgba(124, 58, 237, 1); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            backdrop-filter: blur(20px);
            background: rgba(10, 14, 26, 0.7); 
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-container {
            width: 100%;
            
            margin: 0 auto;
            
            padding: 0.5rem 5rem; 
            
            
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: nowrap; 
            
          
            overflow-x: auto; 
            -webkit-overflow-scrolling: touch;
        }

        .logo-container {
           
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .nav-links {
            
            flex-shrink: 0;
            display: flex;
           
            gap: 1.5rem; 
            list-style: none;
          
            white-space: nowrap; 
        }

        .nav-links a {
            color: #9ca3af;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        .nav-links a:hover {
            color: var(--accent-blue);
        }

        .nav-buttons {
            
            flex-shrink: 0;
            display: flex;
            align-items: center;
           
            gap: 0.75rem; 
            white-space: nowrap;
        }

        .btn-signin {
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            padding: 0.5rem 1rem;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        .btn-signin:hover {
            color: var(--accent-blue);
        }

        .btn-primary {
            padding: 0.625rem 1.5rem;
            background: #7c3aed;
            color: #ffffff;
            border: none;
            border-radius: 9999px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-primary:hover {
            background: #6d28d9;
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
        }

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

        @keyframes pulseGlow {
            0% { box-shadow: 0 0 5px var(--live-neon); }
            50% { box-shadow: 0 0 15px var(--live-neon), 0 0 25px var(--live-neon); }
            100% { box-shadow: 0 0 5px var(--live-neon); }
        }
        
        @keyframes titlePulse {
            0% { text-shadow: 0 0 5px var(--accent-blue); }
            50% { text-shadow: 0 0 15px var(--live-neon), 0 0 10px #ff0077; }
            100% { text-shadow: 0 0 5px var(--accent-blue); }
        }
        
        @keyframes iconSpin {
            0% { transform: rotate(0deg) scale(1); }
            50% { transform: rotate(180deg) scale(1.1); }
            100% { transform: rotate(360deg) scale(1); }
        }

        @keyframes logoSpin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes logoFloat {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-7px); }
            100% { transform: translateY(0px); }
        }



        .logo-circle {
            width: 40px; 
            height: 40px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: radial-gradient(circle, #a78bfa, #7c3aed); 
            box-shadow: 0 0 10px #7c3aed, 0 0 15px var(--purple-neon);
            animation: logoFloat 4s ease-in-out infinite alternate;
            transition: transform 0.3s;
        }
        
        .logo-circle:hover {
            transform: scale(1.1);
        }
        
        .logo-icon {
            width: 20px; 
            height: 20px;
            color: var(--bg-dark);
            animation: logoSpin 5s linear infinite;
        }

        .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-light);
            text-shadow: 0 0 3px #7c3aed, 0 0 6px var(--purple-neon);
            letter-spacing: 0.1em;
        }




@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDelay {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



        .hero {
            padding: 8rem 1.5rem 5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
           
            display: grid;
            grid-template-columns: 1fr 400px; 
            gap: 40px;
            align-items: center;
        }

       
        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 2rem;
            animation: fadeIn 0.8s ease-out;
        }

        .gradient-text {
            background: linear-gradient(90deg, #7c3aed, #a78bfa, #7c3aed);
            background-size: 200% auto;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: glow 1.7s ease-in-out infinite;
        }
        .gradient-texts{
            background: linear-gradient(90deg, #7c3aed, #a78bfa, #7c3aed);
            background-size: 200% auto;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: glow 1.5s ease-in-out infinite;
            font-size: 25px;
           
            text-align: center;
            
            margin-bottom: 2rem;
            
        }

        .hero p {
            font-size: 1.25rem;
            color: #9ca3af;
            margin: 0 0 2rem 0;
            animation: fadeInDelay 1s ease-out;
        }

        .btn-hero {
            padding: 1rem 2rem;
            background: var(--primary-purple);
            color: #ffffff;
            border: none;
            border-radius: 9999px;
            font-weight: 700;
            font-size: 1.13rem;
            cursor: pointer;
            transition: all 0.3s ease;
            animation: slideUp 1s ease-out;
            background: #6d28d9;
            text-decoration: none;
        }

        .btn-hero:hover {
            background: #6d28d9;
            font-size: 1.2rem;
            padding: 1rem 2.1rem;
             transform: scale(1.05);
            box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
            
        }

       
.solar-system-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 300px;
}

.solar-system {
  position: relative;
  width: 350px;
  height: 350px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}


.earth {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #ffcc00, #ff6600);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px 10px rgba(255, 204, 0, 0.5);
  z-index: 3;
}


.orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.175);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

html{
    scroll-behavior: smooth;
}

.orbit-1 { width: 120px; height: 120px; }
.orbit-2 { width: 200px; height: 200px; }
.orbit-3 { width: 280px; height: 280px; }

/* Planet containers*/
.planet-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  animation: orbit-rotation 12s linear infinite;
}

.planet-container-1 { animation-duration: 7s; }
.planet-container-3 { animation-duration: 12s; }
.planet-container-5 { animation-duration: 17s; }

/* Planets */
.planet {
  position: absolute;
  border-radius: 50%;
}

.planet-1 {
  width: 18px;
  height: 18px;
  background: #c0c0c0;
  left: calc(50px + 50%);
  top: -9px;
}

.planet-3 {
  width: 22px;
  height: 22px;
  background: #ff5733;
  left: calc(88px + 50%);
  top: -11px;
}

.planet-5 {
  width: 26px;
  height: 26px;
  background: #d4af37;
  left: calc(125px + 50%);
  top: -13px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}


@keyframes orbit-rotation {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* RESPONSIVENE */


@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .solar-system {
    width: 300px;
    height: 300px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}


@media (max-width: 600px) {
  .solar-system {
    width: 220px;
    height: 220px;
  }

  .orbit-1 { width: 80px; height: 80px; }
  .orbit-2 { width: 130px; height: 130px; }
  .orbit-3 { width: 180px; height: 180px; }


  .earth {
    width: 35px;
    height: 35px;
  }

  .planet-1 { left: calc(33px + 50%); width: 12px; height: 12px; }
  .planet-3 { left: calc(54px + 50%); width: 15px; height: 15px; }
  .planet-5 { left: calc(80px + 50%); width: 18px; height: 18px; }
}
      

        @media (max-width: 900px) {
            .hero-container {
                grid-template-columns: 1fr; 
                text-align: center;
            }
            .hero-content {
                text-align: center;
            }
            .hero h1 {
                font-size: 3rem;
            }
            .solar-system {
                width: 300px; 
                height: 300px;
            }
            
        }      



/* --- SCROLLING LOGOS --- */
.logos-section {
    margin-top: 5rem;
    position: relative;
    width: 100%;
}



.logos-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-track {
    display: flex;
    width: max-content;
    justify-content: flex-start;
    animation: scroll 20s linear infinite;
}

.logo-item {
    flex-shrink: 0;
    width: 140px;
    height: 70px;
    margin: 0 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.logo-item img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

.logo-item img:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* --- SIDEBAR COMPONENTS --- */

        body.sidebar-open {
            overflow: hidden;
        }

        /* Main Box */
        .main_box {
            position: relative;
            z-index: 2000;
        }

        /* Menu Open Button */
        .btn_one {
            display: block !important;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 3001;
        }

        .btn_one i {
            color: #ffffff;
            font-size: 30px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding: 12px;
            background: rgba(10, 14, 26, 0.7);
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
        }

        .btn_one i:hover {
            color: #7c3aed;
            background: rgba(10, 14, 26, 0.9);
            transform: scale(1.1);
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
        }

        
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 2999;
            cursor: pointer;
        }

        /* Sidebar Menu */
        .sidebar_menu {
            position: fixed;
            left: -100%;
            top: 0;
            height: 100vh;
            width: 280px;
            max-width: 85vw;
            background-color: rgba(10, 14, 26, 0.95);
            backdrop-filter: blur(15px);
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
            transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 3000;
            overflow-y: auto;
        }

        .sidebar_menu .logo {
            position: sticky;
            top: 0;
            width: 100%;
            line-height: 60px;
            height: 60px;
            background: rgba(10, 14, 26, 0.7);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 3001;
            padding-left: 20px;
        }

        .sidebar_menu .logo a {
            color: #ffffff;
            font-size: 1.5rem;
            font-weight: 700;
            text-decoration: none;
        }

        .sidebar_menu .btn_two i {
            color: #ffffff;
            font-size: 25px;
            line-height: 40px;
            position: absolute;
            right: 10px;
            top: 10px;
            opacity: 0;
            cursor: pointer;
            transition: all 0.3s linear;
            z-index: 3002;
        }

        .sidebar_menu .menu {
            position: relative;
            width: 100%;
            top: 20px;
            padding-bottom: 80px;
            cursor: pointer;
        }

        .sidebar_menu .menu ul {
            list-style: none;
            padding: 0;
        }

        .sidebar_menu .menu li {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: background 0.3s ease, padding 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .sidebar_menu .menu li:hover {
            background: rgba(124, 58, 237, 0.15);
            padding-left: 25px;
        }

        .sidebar_menu .menu i,
        .sidebar_menu .menu a {
            color: #ffffff;
            font-size: 1rem;
            text-decoration: none;
        }

        .sidebar_menu .menu i {
            padding-right: 12px;
            color: #7c3aed;
        }

        .sidebar_menu .social_media {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 20px;
            text-align: center;
            opacity: 0.8;
            transition: opacity 0.3s linear;
        }

        .sidebar_menu .social_media ul {
            list-style: none;
            padding: 0;
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .sidebar_menu .social_media i {
            color: #ffffff;
            font-size: 1.2rem;
            transition: color 0.3s ease, transform 0.3s ease;
            cursor: pointer;
        }

        .sidebar_menu .social_media i:hover {
            color: #7c3aed;
            transform: scale(1.2);
        }

        #check {
            display: none;
        }

        #check:checked ~ .sidebar-overlay {
            opacity: 1;
            visibility: visible;
        }

        #check:checked ~ .sidebar_menu {
            left: 0;
        }

        #check:checked ~ .btn_one i {
            opacity: 0;
            transform: scale(0.5);
            visibility: hidden;
            pointer-events: none;
        }

        #check:checked ~ .sidebar_menu .btn_two i {
            opacity: 1;
        }

        /* Content Area */
        .content {
            padding: 100px 20px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .content h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(90deg, #7c3aed, #a78bfa);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .content p {
            line-height: 1.6;
            color: #9ca3af;
            margin-bottom: 1rem;
        }

      
        @media (max-width: 600px) {
            .sidebar_menu {
                width: 75vw;
                max-width: 280px;
            }

            .sidebar_menu .logo {
                height: 55px;
                line-height: 55px;
                padding-left: 15px;
            }

            .sidebar_menu .logo a {
                font-size: 1.25rem;
            }

            .sidebar_menu .menu {
                top: 15px;
            }

            .sidebar_menu .menu li {
                padding: 14px 15px;
            }

            .sidebar_menu .menu i,
            .sidebar_menu .menu a {
                font-size: 0.95rem;
            }

            .btn_one {
                top: 15px;
                left: 15px;
            }

            .btn_one i {
                font-size: 26px;
                padding: 10px;
            }

            .content h1 {
                font-size: 2rem;
            }
        }

        @media (min-width: 601px) and (max-width: 900px) {
            .sidebar_menu {
                width: 300px;
                max-width: 50vw;
            }
        }
/* --- DASHBOARD SECTION & CARDS --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeIn 0.8s ease-out;
    padding: 0 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 48rem;
    font-weight: 400;
    margin: 0 auto 2rem;
    animation: fadeInDelay 1s ease-out;
}

.dashboard-section {
    padding: 5rem 1.5rem;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    animation: slideUp 1s ease-out;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.float-element.top-left {
    top: -2rem;
    left: -2rem;
    width: 128px;
    height: 128px;
    background: rgba(124, 58, 237, 0.2);
}

.float-element.bottom-right {
    bottom: -2rem;
    right: -2rem;
    width: 160px;
    height: 160px;
    background: rgba(167, 139, 250, 0.2);
    animation-delay: 1s;
}

.dashboard-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.dashboard-card:hover {
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.3);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.courses-heading {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: default;
    z-index: 10;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.courses-heading:hover {
    color: #3b82f6;
}

.dashboard-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
}


.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    perspective: 1500px; 
}


.card {
    width: 89%;
    aspect-ratio: 3 / 4; 
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    transform-origin: center;
}


.card-flip-checkbox {
    display: none;
}


.card-flip-trigger {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 5;
    top: 0;
    left: 0;
}


.card-flip-checkbox:checked ~ .card {
    transform: rotateY(180deg);
}


@media (hover: hover) and (pointer: fine) {
    .card:hover {
        transform: rotateY(180deg);
    
    }
   
}


.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    overflow: hidden;
}


.card-front {
    background: linear-gradient(to bottom right, #0a0c10, #3080ff1a);
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    overflow-y: auto;
    text-decoration: none;
}


@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 480px) {
    .card {
        aspect-ratio: 1 / 1.4;
    }
}

@media (hover: hover) and (pointer: fine) {
    .card:hover {
        transform: rotateY(180deg);
    }
}


@media (hover: none) and (pointer: coarse) {
    .card:active {
        transform: rotateY(180deg);
       
    }
}


.back-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.back-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.back-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.back-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.feature-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(124, 58, 237, 0.5);
    text-decoration: none;
}

.back-cta, .cta-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: rgba(124, 58, 237, 0.9);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.back-cta:hover, .cta-button:hover {
    background: rgba(124, 58, 237, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
    text-decoration: none;
}


.card-image-container {
    position: relative;
    width: 100%;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 0.5rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.card-content {
    padding: 0.5rem 0;
}

.card-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.beginner {
    background: rgba(34, 197, 94, 0.2);
    color: #10b981;
}

.badge.intermediate {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.lectures {
    font-size: 0.875rem;
    color: #9ca3af;
}

.card-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0.25rem 0;
    padding: 0 0.25rem;
    color: white;
}

.card-instructor {
    font-size: 0.875rem;
    color: #7c3aed;
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.card-info {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
    line-height: 1.5;
    color: white;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 0.25rem;
}

.tag {
    padding: 0.25rem 0.5rem;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 0.25rem;
    font-size: 0.7rem;
    color: #a78bfa;
}



.features-section {
    padding: 5rem 1.5rem;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.9s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    animation: slideUp 1s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    transform: scale(1.05);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(167, 139, 250, 0.2));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon-inner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.5);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #9ca3af;
    line-height: 1.6;
}


/* CTA Section */
.cta-section {
  padding: clamp(3rem, 5vw, 6rem) 1rem;
  display: flex;
  justify-content: center;
}

.cta-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(167, 139, 250, 0.2));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 1.5rem;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.1), transparent, rgba(167, 139, 250, 0.1));
  animation: glow 2s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: clamp(2rem, 10vw, 5rem);
  line-height: 1.2;
}

.cta-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #9ca3af;
  max-width: 90%;
  margin: 0 auto clamp(1rem, 3vw, 2rem);
  line-height: 1.6;
}

.btn-cta {
  padding: clamp(0.8rem, 1.5vw, 1rem) clamp(2rem, 4vw, 2.5rem);
  background: #ffffff;
  color: #0a0e1a;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #e5e7eb;
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Loader */
.loader {
  border: clamp(6px, 0.8vw, 10px) solid #cfb0ed;
  border-top: clamp(6px, 0.8vw, 10px) solid rgb(137, 63, 233);
  box-shadow: #291b53;
  border-color: 10px solid rgb(110, 100, 220);
  border-radius: 50%;
  width: clamp(150px, 40vw, 320px);
  height: clamp(150px, 40vw, 320px);
  animation: spin 2s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
  
}

.loader img {

  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  animation: spin-reverse 2s linear infinite;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}


@keyframes glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}


@media (max-width: 768px) {
  .cta-card {
    padding: 2.5rem 1.2rem;
  }
  .cta-title {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .cta-card {
    padding: 2rem 1rem;
  }
  .cta-title {
    margin-bottom: 2rem;
  }
  .loader {
    width: 150px;
    height: 150px;
  }
}

html{
    scroll-behavior: smooth;
}





footer {
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(167, 139, 250, 0.2); 
    background: #050510; 
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.1) inset; 
    
    color: #e5e7eb;
    font-family: 'Poppins', sans-serif;
    position: relative;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 3rem; 
}


.footer-about h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;

    
    background: linear-gradient(
        45deg,
        #facc15, #ef4444, #a78bfa, #2dd4bf
    );
    background-size: 200% auto;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s linear infinite; 
    display: inline-block;
}


@keyframes gradientShift {
    to {
        background-position: 200% center;
    }
}

.footer-about p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4); 
    background: rgba(255, 255, 255, 0.08);
    color: #a78bfa;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #7c3aed, #2dd4bf);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.6);
}


.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #2dd4bf; 
    position: relative;
}


.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: #a78bfa;
    box-shadow: 0 0 8px #a78bfa; 
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-left: 10px;
    transition: color 0.3s ease;
}


.footer-links ul li a::before {
    content: '→'; 
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-10px); 
    color: #a78bfa;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    transform: translateY(-50%) translateX(0); 
    opacity: 1;
}


.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    color: #9ca3af;
    font-size: 0.95rem;
}


.contact-section {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    background-color: var(--bg-dark, #0b001a); 
    padding: 4rem 2rem; 
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s ease-out forwards;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info {
    flex: 1;
    text-align: left;
    padding: 2rem;
    border-radius: 12px;
    background-color: rgba(31, 41, 55, 0.2); 
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15); 
}
.contact-info h2 { 
    text-align: left; 
    color: var(--primary-color, #7c3aed);
    border-bottom: 2px solid var(--secondary-color, #38bdf8);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.contact-info p { 
    color: var(--text-muted, #a3a3a3); 
    margin-bottom: 3rem; 
    line-height: 1.6;
}
.contact-info ul { list-style: none; padding: 0; }
.contact-info ul li {
    display: flex;
    align-items: center;
    gap: 1.5rem; 
    margin-bottom: 1.5rem; 
    font-size: 1.1rem;
    color: var(--text-color, #e5e5e5);
    transition: color 0.3s ease, transform 0.3s ease;
}
.contact-info ul li:hover {
    color: var(--secondary-color, #38bdf8);
    transform: translateX(5px);
}
.contact-info ul li i {
    color: var(--secondary-color, #38bdf8);
    font-size: 1.8rem; 
    filter: drop-shadow(0 0 5px var(--secondary-color, #38bdf8)); 
}

.contact-form { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 1rem;
    background-color: var(--card-background, #1f2937); 
    border: 1px solid var(--border-color, rgba(124, 58, 237, 0.4));
    border-radius: 10px; 
    color: var(--text-color, #e5e5e5); font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary-color, #7c3aed);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6); 
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: var(--text-muted, #a3a3a3); opacity: 0.8;
}
.contact-form textarea { resize: vertical; }

.contact-form button.btn-primary {
    background-color: var(--primary-color, #7c3aed);
    color: white; border: none; padding: 0.75rem 2rem; border-radius: 8px;
    font-size: 1.1rem; cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    align-self: flex-start; text-transform: uppercase; font-weight: bold; letter-spacing: 1px;
}
.contact-form button.btn-primary:hover {
    background-color: color-mix(in srgb, var(--primary-color, #7c3aed) 90%, white);
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4); 
}


@media (max-width: 900px) {
    
   
    .contact-section {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 1rem;
    }
    .contact-info, .contact-form {
        flex: none;
        width: 100%;
    }
    .contact-info h2 {
        font-size: 1.8rem;
    }
    .contact-form button.btn-primary {
        width: 100%;
        align-self: center;
    }

    
    .footer-container {
        grid-template-columns: 1fr; 
        gap: 2.5rem;
    }
    
    .footer-about, 
    .footer-links {
        text-align: center;
    }

    .footer-about h4 {
        text-align: center;
        width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    
    .footer-links ul li a {
        padding-left: 0;
    }
    .footer-links ul li a:hover {
        padding-left: 0;
    }
    .footer-links ul li a::before,
    .footer-links ul li a:hover::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .contact-section {
       
        flex-direction: column;
        gap: 3rem;
    }
    .contact-info, .contact-form {
        flex: none; 
        width: 100%;
    }
    .contact-info {
        padding: 1.5rem; 
    }
    .contact-form button.btn-primary {
      
        width: 100%;
        align-self: center;
    }
}


@media (max-width: 600px) {
   
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .btn-hero {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
    
    
    .nav-links, .nav-buttons {
        display: none;
        

    }
    
    .nav-container {
        justify-content: center;
       
    }
    
   
    .btn_one {
        display: block !important;
    }
    
    /* Breaking News */
    .breaking-news-container {
        margin: 2rem 1rem;
    }
    
    .breaking-news-label {
        position: relative;
        left: 0;
        transform: none;
        display: inline-block;
        margin-bottom: 0.5rem;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .breaking-news-ticker {
        padding-left: 0;
    }
    
    .breaking-news-text {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .main-heading {
        font-size: 1.75rem;
    }
    
    
    .featured-course-container {
        max-width: 100%;
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .featured-card {
        min-height: 380px;
    }
    
    /* CARDS */
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .card {
        height: 420px;
        max-width: 100%;
    }
    
    
    .card-front,
    .card-back {
        padding: 0.875rem;
    }
    
    .card-img {
        max-height: 160px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-info {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .back-title {
        font-size: 1.25rem;
    }
    
    .back-description {
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .back-cta, .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Logo Section */
    .logos-section {
        margin-top: 3rem;
    }
    
    .logo-item {
        width: 100px;
        height: 60px;
        margin: 0 1rem;
    }
    
    
    .features-title {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
   

    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}



@media (min-width: 601px) and (max-width: 900px) {
    /* Hero */
    .hero {
        padding: 7rem 1.5rem 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-buttons {
        gap: 0.75rem;
    }
    
    
    .btn_one {
        display: block !important;
    }
    
   
    .section-header {
        font-size: 1.75rem;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    
    .featured-course-container {
        max-width: 450px;
    }
    
   
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .card {
        height: 440px;
    }
    
    .card-img {
        max-height: 180px;
    }
    
   
    .breaking-news-text {
        font-size: 1rem;
    }
    
   
    .features-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* CTA */
    .cta-card {
        padding: 3rem 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}


@media (min-width: 901px) and (max-width: 1200px) {
    
    .hero h1 {
        font-size: 3rem;
    }
    
   
    .btn_one {
        display: block !important;
    }
    
   
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
    }
    
    .card {
        height: 450px;
    }
    
   
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*LARGE DESKTOP */
@media (min-width: 1201px) {
    
    .btn_one {
        display: block !important;
    }
    
    
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 1100px;
    }
    
    .card {
        height: 480px;
    }
}

/**/
@media (hover: none) and (pointer: coarse), (max-width: 1024px) {
    
    .card::after {
        
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(124, 58, 237, 0.9);
        color: white;
        padding: 0.4rem 0.85rem;
        border-radius: 1.5rem;
        font-size: 0.7rem;
        font-weight: 600;
        z-index: 100;
        pointer-events: none;
        opacity: 0.9;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
   
    .logo-item:hover,
    .feature-card:hover {
        transform: none;
    }
}


@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 5rem 1.5rem 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .card {
        height: auto;
        min-height: 350px;
    }
}

