/* CSS Variables for Theme System */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #2d1b69;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #8a9ba8;
    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --accent-orange: #ff6b35;
    --accent-orange-light: #f7931e;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.1);
    --overlay-bg: rgba(0, 0, 0, 0.8);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-primary: #3b82f6;
    --accent-secondary: #1d4ed8;
    --accent-orange: #f59e0b;
    --accent-orange-light: #fbbf24;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-bg-hover: rgba(255, 255, 255, 0.9);
    --overlay-bg: rgba(255, 255, 255, 0.95);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%, var(--bg-primary) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 0.15rem 0;
    transition: all 0.3s ease;
    border-bottom: none;
}

[data-theme="light"] .navbar {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.logo-text h2 {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
}

.logo-tagline {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #00d4ff;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-box {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    width: 120px;
    border-radius: 15px;
}

.login-input::placeholder {
    color: #b8c5d6;
    font-size: 0.8rem;
}

.login-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.login-text {
    color: white;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    width: 120px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

[data-theme="light"] .login-text {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.login-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.nav-cta {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: var(--card-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-toggle i {
    transition: all 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

.profile-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.profile-btn:hover {
    background: var(--card-bg-hover);
    border-color: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.profile-btn i {
    transition: all 0.3s ease;
}

.profile-btn:hover i {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

[data-theme="light"] .hamburger span {
    background: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}



.hero-cta {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    text-decoration: none;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.hero-cta:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.hero-cta i {
    font-size: 0.9rem;
}

/* Hero Background Course Grid */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    filter: blur(2px) brightness(0.3);
}

/* Light mode adjustments for hero background */
[data-theme="light"] .course-grid {
    opacity: 0.4;
    filter: blur(1.5px) brightness(0.5) contrast(1.1);
}

.course-thumbnail {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.course-thumbnail.floating {
    animation: float 6s ease-in-out infinite;
}

.course-thumbnail.floating:nth-child(2) { animation-delay: 0.5s; }
.course-thumbnail.floating:nth-child(3) { animation-delay: 1s; }
.course-thumbnail.floating:nth-child(4) { animation-delay: 1.5s; }
.course-thumbnail.floating:nth-child(5) { animation-delay: 2s; }
.course-thumbnail.floating:nth-child(6) { animation-delay: 2.5s; }
.course-thumbnail.floating:nth-child(7) { animation-delay: 3s; }
.course-thumbnail.floating:nth-child(8) { animation-delay: 3.5s; }
.course-thumbnail.floating:nth-child(9) { animation-delay: 4s; }
.course-thumbnail.floating:nth-child(10) { animation-delay: 4.5s; }
.course-thumbnail.floating:nth-child(11) { animation-delay: 5s; }
.course-thumbnail.floating:nth-child(12) { animation-delay: 5.5s; }
.course-thumbnail.floating:nth-child(13) { animation-delay: 6s; }
.course-thumbnail.floating:nth-child(14) { animation-delay: 6.5s; }
.course-thumbnail.floating:nth-child(15) { animation-delay: 7s; }
.course-thumbnail.floating:nth-child(16) { animation-delay: 7.5s; }

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-thumbnail:hover img {
    transform: scale(1.05);
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(0, 212, 255, 0.6);
    font-size: 2rem;
    animation: floatIcon 8s ease-in-out infinite;
}

/* Light mode adjustments for floating icons */
[data-theme="light"] .floating-icon {
    color: rgba(0, 100, 200, 0.8);
}

.floating-icon.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    top: 45%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icon.icon-4 {
    top: 35%;
    right: 25%;
    animation-delay: 3s;
}

.floating-icon.icon-5 {
    top: 65%;
    left: 15%;
    animation-delay: 4s;
}

.floating-icon.icon-6 {
    top: 55%;
    right: 20%;
    animation-delay: 5s;
}

.floating-icon.icon-7 {
    top: 75%;
    left: 30%;
    animation-delay: 6s;
}

.floating-icon.icon-8 {
    top: 85%;
    right: 10%;
    animation-delay: 7s;
}

/* Waving Lines */
.waving-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wave-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    border-radius: 50%;
    animation: wave 4s ease-in-out infinite;
}

.wave-1 {
    top: 20%;
    width: 60%;
    left: 20%;
    animation-delay: 0s;
}

.wave-2 {
    top: 50%;
    width: 80%;
    left: 10%;
    animation-delay: 1.5s;
}

.wave-3 {
    top: 80%;
    width: 70%;
    left: 15%;
    animation-delay: 3s;
}

/* Particle Effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 30%;
    left: 15%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 40%;
    right: 20%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 60%;
    left: 25%;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    top: 70%;
    right: 15%;
    animation-delay: 1s;
}

.particle:nth-child(7) {
    top: 80%;
    left: 35%;
    animation-delay: 3s;
}

.particle:nth-child(8) {
    top: 90%;
    right: 25%;
    animation-delay: 5s;
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        margin: 0 auto;
        display: block;
    }
    
    .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-prompt {
        font-size: 1rem;
    }
    
    .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.25rem;
        padding: 0.5rem;
    }
}





/* Course Showcase */
.course-showcase {
    padding: 4rem 0;
}

/* Specialized Courses */
.specialized-courses {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

/* Curved Dividers */
.curved-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    margin: -40px 0;
    z-index: 1;
}

.curved-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.curved-divider path {
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.4));
    animation: techGlow 4s ease-in-out infinite alternate;
}

.curved-divider-reverse {
    margin: -40px 0;
}

.curved-divider-reverse path {
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.4));
    animation: techGlow 4s ease-in-out infinite alternate-reverse;
}

/* Tech-themed glow animation */
@keyframes techGlow {
    0% {
        filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.4)) drop-shadow(0 0 15px rgba(0, 212, 255, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.4)) drop-shadow(0 0 15px rgba(0, 212, 255, 0.2));
    }
}

/* Add floating tech elements to dividers */
.curved-divider::before,
.curved-divider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    animation: dividerFloat 6s ease-in-out infinite;
}

.curved-divider::before {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.curved-divider::after {
    top: 70%;
    right: 20%;
    animation-delay: 3s;
}

.curved-divider-reverse::before,
.curved-divider-reverse::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: dividerFloat 6s ease-in-out infinite reverse;
}

.curved-divider-reverse::before {
    top: 30%;
    left: 25%;
    animation-delay: 1s;
}

.curved-divider-reverse::after {
    top: 80%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes dividerFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

/* Tech Dots */
.tech-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 212, 255, 0.8);
    border-radius: 50%;
    animation: techDotPulse 3s ease-in-out infinite;
}

.tech-dot:nth-child(1) {
    top: 25%;
    left: 20%;
    animation-delay: 0s;
}

.tech-dot:nth-child(2) {
    top: 50%;
    left: 50%;
    animation-delay: 1s;
}

.tech-dot:nth-child(3) {
    top: 75%;
    left: 80%;
    animation-delay: 2s;
}

@keyframes techDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    }
}

/* Responsive curved dividers */
@media (max-width: 768px) {
    .curved-divider {
        height: 60px;
        margin: -30px 0;
    }
    
    .curved-divider-reverse {
        margin: -30px 0;
    }
    
    .curved-divider::before,
    .curved-divider::after {
        width: 15px;
        height: 15px;
    }
    
    .curved-divider-reverse::before,
    .curved-divider-reverse::after {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .curved-divider {
        height: 50px;
        margin: -25px 0;
    }
    
    .curved-divider-reverse {
        margin: -25px 0;
    }
    
    .curved-divider::before,
    .curved-divider::after {
        width: 12px;
        height: 12px;
    }
    
    .curved-divider-reverse::before,
    .curved-divider-reverse::after {
        width: 10px;
        height: 10px;
    }
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.course-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.course-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.course-item:hover {
    transform: translateY(-10px);
    background: var(--card-bg-hover);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.course-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-item:hover .course-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 212, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-item:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    color: white;
    font-size: 1.5rem;
}

.course-info {
    padding: 1.5rem;
}

.course-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.course-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #8a9ba8;
}

.course-meta i {
    margin-right: 0.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

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

/* News Portal Section */
.news-portal-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.news-portal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.news-portal-preview {
    position: relative;
}

.news-portal-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.news-portal-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.portal-screenshot {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 13px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 212, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 13px;
}

.news-portal-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.overlay-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.overlay-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.news-portal-mockup {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.browser-header {
    background: #f5f5f5;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #28ca42;
}

.browser-url {
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    border: 1px solid #ddd;
    flex: 1;
    text-align: center;
}

.news-portal-content {
    padding: 2rem;
    background: #ffffff;
    min-height: 400px;
}

.news-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #00d4ff;
}

.news-header h3 {
    color: #2d1b69;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.news-header p {
    color: #666;
    font-size: 1rem;
}

.news-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-article {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #00d4ff;
    transition: transform 0.3s ease;
}

.news-article:hover {
    transform: translateX(5px);
}

.article-category {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.news-article h4 {
    color: #2d1b69;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-article p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.news-portal-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.news-portal-info p {
    color: #b8c5d6;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.news-portal-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.news-portal-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #b8c5d6;
}

.news-portal-info li i {
    color: #00d4ff;
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
}

.news-portal-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.news-portal-btn:hover {
    background: linear-gradient(135deg, #0099cc, #00d4ff);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

/* Access Anywhere */
.access-anywhere {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.section-subtitle {
    text-align: center;
    color: #b8c5d6;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.device-mockups {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.device {
    position: relative;
}

.device.laptop {
    width: 300px;
    height: 200px;
}

.device.tablet {
    width: 200px;
    height: 250px;
}

.device.mobile {
    width: 120px;
    height: 200px;
}

.device-screen {
    background: #1a1f2e;
    border-radius: 10px;
    padding: 1rem;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.screen-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-preview {
    text-align: center;
    width: 100%;
}

.preview-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.preview-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.preview-progress span {
    font-size: 0.8rem;
    color: #b8c5d6;
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2d1b69, #1a1f2e);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.98), rgba(26, 31, 46, 0.95));
    padding: 4rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    color: #b8c5d6;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #b8c5d6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

/* Footer Brand Section */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 10px;
}

.footer-logo .logo-text h3 {
    color: #00d4ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.footer-logo .tagline {
    color: #b8c5d6;
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8c5d6;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #b8c5d6;
}

.contact-item i {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    width: 16px;
    flex-shrink: 0;
}

.contact-item span {
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8a9ba8;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-right {
    display: flex;
    gap: 2rem;
}

.footer-bottom-right a {
    color: #8a9ba8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #00d4ff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu .theme-toggle,
    .nav-menu .nav-cta {
        font-size: 1.2rem;
        margin: 1rem 0;
        padding: 1rem 2rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        width: 200px;
        text-align: center;
    }
    
    .nav-menu .theme-toggle:hover,
    .nav-menu .nav-cta:hover {
        transform: translateY(-2px);
    }
    
    [data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .news-portal-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .device-mockups {
        flex-direction: column;
        align-items: center;
    }
    
    .course-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Responsive */
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-right {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo img {
        width: 80px;
        height: 80px;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        margin-top: 0;
    }
    
    .footer-bottom-right {
        gap: 1rem;
    }
    
    .footer-bottom-right a {
        font-size: 0.8rem;
    }
}

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

.course-item,
.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.course-item:nth-child(1) { animation-delay: 0.1s; }
.course-item:nth-child(2) { animation-delay: 0.2s; }
.course-item:nth-child(3) { animation-delay: 0.3s; }
.course-item:nth-child(4) { animation-delay: 0.4s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0099cc, #00d4ff);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .login-box {
        gap: 0.4rem;
        padding: 0.4rem;
    }
    
    .login-input {
        width: 100px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .logo-text h2 {
        font-size: 1.6rem;
    }
    
    .logo-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-auth {
        display: none;
    }
    
    .logo-text .logo-tagline {
        display: none;
    }
    
    .logo-text h2 {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-text h2 {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(3px);
    }
    50% {
        transform: translateY(-20px) translateX(0px);
    }
    75% {
        transform: translateY(-10px) translateX(-3px);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) translateX(4px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-25px) translateX(0px) scale(1);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) translateX(-4px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes wave {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */

/* Profile Page Layout */
.profile-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.profile-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.profile-logo {
    margin-bottom: 2rem;
}

.profile-logo img {
    height: 60px;
    width: auto;
}

.profile-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Profile Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    width: 100%;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 15px;
    background: var(--card-bg);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
}

.profile-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: var(--card-bg-hover);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.profile-card:visited {
    color: inherit;
    text-decoration: none;
}

/* Profile Avatars */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-avatar.tec {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.profile-avatar.ca1c {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.profile-avatar.ca1c-ca2c {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.profile-avatar.ca2c {
    background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
}

.profile-avatar i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.profile-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 400;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Profile Page Buttons */
.profile-container .btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.profile-container .btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.profile-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.profile-container .btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.profile-container .btn-secondary:hover {
    background: var(--card-bg);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

/* Profile Page Theme Toggle - Only for profile page */
body:has(.profile-container) .theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

body:has(.profile-container) .theme-toggle:hover {
    background: var(--card-bg-hover);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(5px);
    }
    50% {
        transform: translateY(-20px) translateX(0px);
    }
    75% {
        transform: translateY(-15px) translateX(-5px);
    }
}

/* Profile Page Responsive Design */
@media (max-width: 768px) {
    .profile-title {
        font-size: 2.5rem;
    }
    
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .profile-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-container {
        padding: 1rem;
    }
}
