/* Base Styles */
:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #121212;
    --tertiary-dark: #1a1a1a;
    --primary-neon: #00ffff;
    --secondary-neon: #39ff14;
    --accent-neon: #ff00ff;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(0, 255, 255, 0.15);
    --neon-shadow: 0 0 10px var(--primary-neon);
    --neon-text-shadow: 0 0 5px var(--primary-neon), 0 0 15px var(--primary-neon);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.light-theme {
    --primary-dark: #f8f9fa;
    --secondary-dark: #e9ecef;
    --tertiary-dark: #dee2e6;
    --text-primary: #212529;
    --text-secondary: #495057;
    --glass-bg: rgba(248, 249, 250, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-neon);
    color: #111;
    box-shadow: var(--neon-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--primary-neon);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-neon);
}

.btn-secondary:hover {
    background-color: var(--primary-neon);
    color: #111;
}

.neon-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.neon-btn:hover::before {
    left: 100%;
}

.btn-login {
    background-color: transparent;
    color: var(--primary-neon);
    border: 2px solid var(--primary-neon);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    background-color: var(--primary-neon);
    color: #111;
    box-shadow: var(--neon-shadow);
}

.btn-logout {
    background-color: transparent;
    color: #ff5555;
    border: 2px solid #ff5555;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-logout:hover {
    background-color: #ff5555;
    color: #111;
    box-shadow: 0 0 10px #ff5555;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.admin-header {
    background-color: var(--tertiary-dark);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.neon-text {
    color: var(--primary-neon);
    text-shadow: var(--neon-text-shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-right: 8px;
}

.nav-links a:hover {
    color: var(--primary-neon);
}

.nav-links a.active {
    color: var(--primary-neon);
    text-shadow: var(--neon-text-shadow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-neon);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-neon);
    transform: rotate(30deg);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExcGJjY2J0d3VvZ3l1d2xqY2V3bGJ6eGJ6d2V0b2R4dXZqZ2R5dSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/26tn33aiTi1jkl6H6/giphy.gif') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.glowing-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-neon), 0 0 20px var(--primary-neon);
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--primary-neon), 0 0 40px var(--primary-neon);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Notification Banner */
.notification-banner {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    border-top: 1px solid var(--primary-neon);
    border-bottom: 1px solid var(--primary-neon);
    overflow: hidden;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.banner-content {
    display: flex;
    white-space: nowrap;
    animation: scrollBanner 30s linear infinite;
}

.banner-content span {
    margin-right: 50px;
    color: var(--primary-neon);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.banner-content i {
    margin-right: 10px;
}

@keyframes scrollBanner {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: var(--secondary-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
    border-color: var(--primary-neon);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-neon);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Courses & Internships Sections */
.courses-preview, .internships-preview {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-neon);
    box-shadow: var(--neon-shadow);
}

.course-grid, .internship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.course-card, .internship-card {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.course-card::before, .internship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover::before, .internship-card:hover::before {
    opacity: 1;
}

.course-card:hover, .internship-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    border-color: var(--primary-neon);
}

.course-img, .internship-img {
    height: 180px;
    overflow: hidden;
}

.course-img img, .internship-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-img img, .internship-card:hover .internship-img img {
    transform: scale(1.1);
}

.course-content, .internship-content {
    padding: 20px;
}

.course-content h3, .internship-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-neon);
}

.course-content p, .internship-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.company {
    color: var(--secondary-neon);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.course-meta, .internship-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.course-meta span, .internship-meta span {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.course-meta i, .internship-meta i {
    margin-right: 5px;
    color: var(--primary-neon);
}

.enroll-btn {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    color: var(--primary-neon);
    border: 2px solid var(--primary-neon);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: block;
}

.enroll-btn:hover {
    background-color: var(--primary-neon);
    color: #111;
    box-shadow: var(--neon-shadow);
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Cube Testimonial Slider */
.testimonials {
    padding: 100px 0;
    background-color: var(--secondary-dark);
    position: relative;
}

.testimonial-container {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(-15deg);
    transition: transform 1s ease;
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(30, 30, 30, 0.9);
    border: 2px solid var(--primary-neon);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    backface-visibility: hidden;
}

.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(150px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(150px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(150px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(150px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(150px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(150px); }

.student-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid var(--primary-neon);
}

.student-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.student-name {
    font-size: 1.2rem;
    color: var(--primary-neon);
    margin-bottom: 5px;
}

.student-course {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-neon);
    transform: scale(1.2);
}

/* Certificate Verification CTA */
.certificate-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(57, 255, 20, 0.1));
    position: relative;
    overflow: hidden;
}

.certificate-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExcGJjY2J0d3VvZ3l1d2xqY2V3bGJ6eGJ6d2V0b2R4dXZqZ2R5dSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/26tn33aiTi1jkl6H6/giphy.gif') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--secondary-dark);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-neon);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-neon);
    padding-left: 5px;
}

.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-neon);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.social-icon:hover {
    background-color: var(--primary-neon);
    color: var(--dark-text);
    transform: translateY(-5px);
}

.social-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-neon);
    color: var(--dark-text);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.social-icon:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-neon);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.payment-methods i {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.payment-methods i:hover {
    opacity: 1;
    color: var(--primary-neon);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        padding: 0 20px;
    }
    
    .glowing-title {
        font-size: 2.8rem;
    }
    
    .testimonial-container {
        width: 250px;
        height: 250px;
    }
    
    .cube-face {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--secondary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
        padding: 20px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .glowing-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .glowing-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .course-grid, .internship-grid {
        grid-template-columns: 1fr;
    }
}