/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #001a33 0%, #001122 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    padding-top: 70px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
    object-fit: cover;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .hero h1 {
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 191, 255, 0.5);
    }
}

.tagline {
    font-size: 1.2rem;
    color: #a8d9ff;
    margin-bottom: 1.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #a8d9ff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(0, 150, 255, 0.3);
    border-color: rgba(0, 150, 255, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.4);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.4) 0%, rgba(0, 100, 200, 0.3) 100%);
    color: white;
    border: 2px solid rgba(0, 150, 255, 0.6);
}

.btn-primary:hover {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.6) 0%, rgba(0, 100, 200, 0.5) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 150, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #a8d9ff;
    border: 2px solid rgba(168, 217, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(168, 217, 255, 0.1);
    border-color: rgba(168, 217, 255, 0.6);
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-alt {
    background: rgba(255, 255, 255, 0.03);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #a8d9ff;
    font-size: 1.1rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
}

.skill-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.skill-icon svg {
    color: #00bfff;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.skill-card p {
    color: #a8d9ff;
    font-size: 0.95rem;
    margin: 0;
}

/* Education Section */
.education-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
    transition: all 0.3s ease;
}

.education-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
}

.education-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.education-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.school-name {
    color: #a8d9ff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-year {
    color: #a8d9ff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.education-details {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.education-details p {
    color: #a8d9ff;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
    border-color: rgba(0, 150, 255, 0.4);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-icon svg {
    color: #00bfff;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.project-card p {
    color: #a8d9ff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    text-align: left;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(0, 150, 255, 0.2);
    color: #a8d9ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.project-link {
    color: #00bfff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.project-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Contact Section */
.contact-intro {
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.4) 0%, rgba(0, 100, 200, 0.3) 100%);
    color: white;
    border: 2px solid rgba(0, 150, 255, 0.6);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

.contact-btn:hover {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.6) 0%, rgba(0, 100, 200, 0.5) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 150, 255, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    color: #a8d9ff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #a8d9ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, #a8d9ff);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link:hover::after {
    width: 100%;
}

.footer p {
    font-size: 0.95rem;
    margin: 0;
}

/* Bubbles Animation */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .profile-img {
        width: 120px;
        height: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 3rem 1rem;
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #a8d9ff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Education Section */
.education-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
    transition: all 0.3s ease;
}

.education-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
}

.education-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.education-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.school-name {
    font-size: 1.2rem;
    color: #a8d9ff;
    margin-bottom: 0.5rem;
}

.education-year {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.education-details {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.education-details p {
    color: #a8d9ff;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Footer Updates */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #a8d9ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(168, 217, 255, 0.5);
}

/* Contact Button Variations */
.btn-download {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.3) 0%, rgba(0, 200, 100, 0.2) 100%);
    border-color: rgba(0, 255, 136, 0.5);
}

.btn-download:hover {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.5) 0%, rgba(0, 200, 100, 0.4) 100%);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.4) 0%, rgba(0, 100, 200, 0.3) 100%);
    border: 2px solid rgba(0, 150, 255, 0.6);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.6) 0%, rgba(0, 100, 200, 0.5) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 150, 255, 0.4);
}

.scroll-to-top.visible {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Icon Styling for SVGs */
.education-icon svg {
    color: #00bfff;
    filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.4));
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 17, 34, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00bfff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #a8d9ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, #0096ff);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #a8d9ff;
    transition: all 0.3s ease;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(0, 150, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00bfff 0%, #0096ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #a8d9ff;
    font-size: 0.95rem;
}

/* Tech Stack */
.tech-stack {
    margin-top: 4rem;
    text-align: center;
}

.tech-stack h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-tag {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 20px;
    color: #a8d9ff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Project Images */
.project-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 100, 200, 0.05) 100%);
}

.project-image-placeholder svg {
    color: rgba(0, 191, 255, 0.3);
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    margin-bottom: 0.8rem;
}

.project-content p {
    flex-grow: 1;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 17, 34, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .tech-tags {
        gap: 0.5rem;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001a33 0%, #001122 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 191, 255, 0.1);
    border-top-color: #00bfff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-screen.hidden .loader-circle {
    display: none;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #00bfff;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.loading-screen.hidden .loader-text {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #a8d9ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 150, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    position: relative;
}

.btn-submit .btn-loader svg {
    animation: spin 1s linear infinite;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
}

.form-success svg {
    color: #00ff88;
    margin-bottom: 1.5rem;
}

.form-success h3 {
    color: #00ff88;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-success p {
    color: #a8d9ff;
    margin-bottom: 2rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    border-color: rgba(0, 150, 255, 0.3);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 150, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.contact-info-icon svg {
    color: #00bfff;
}

.contact-info-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-card p,
.contact-info-card a {
    color: #a8d9ff;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: #ffffff;
}

.contact-social {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
}

.contact-social h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 10px;
    color: #a8d9ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link-btn:hover {
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.5);
    color: #ffffff;
    transform: translateX(5px);
}

.btn-download-resume {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

body.light-mode .btn-outline {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: #000000;
    font-weight: 600;
}

body.light-mode .btn-outline:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.4);
    color: #000000;
}

/* Call to Action Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 100, 200, 0.05) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    color: #a8d9ff;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #00bfff, #0096ff);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(0, 191, 255, 0.6);
}

body.light-mode .scroll-progress {
    background: linear-gradient(90deg, #0096ff, #0066cc);
    box-shadow: 0 2px 10px rgba(0, 150, 255, 0.4);
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(180deg);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

.theme-toggle .sun-icon {
    display: block;
    color: #ffd700;
}

.theme-toggle .moon-icon {
    display: none;
    color: #a8d9ff;
}

body.light-mode .theme-toggle .sun-icon {
    display: none;
}

body.light-mode .theme-toggle .moon-icon {
    display: block;
}

/* Light Mode Styles */
body.light-mode {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #000000;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-logo {
    color: #0096ff;
}

body.light-mode .nav-link {
    color: #000000;
    font-weight: 600;
}

body.light-mode .nav-link:hover {
    color: #0096ff;
}

body.light-mode .nav-link::after {
    background: linear-gradient(90deg, #0096ff, #0066cc);
}

body.light-mode .section {
    color: #000000;
}

body.light-mode .section h2 {
    background: linear-gradient(135deg, #000000 0%, #0096ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .section p,
body.light-mode .contact-intro {
    color: #000000;
}

body.light-mode .tagline {
    color: #000000;
}

body.light-mode h1 {
    color: #000000;
    font-weight: 700;
    text-shadow: none;
}

body.light-mode .hero h1 {
    background: linear-gradient(135deg, #000000 0%, #0096ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@supports not (background-clip: text) {
    body.light-mode .hero h1 {
        color: #000000;
    }
}

body.light-mode .skill-card,
body.light-mode .project-card,
body.light-mode .education-card,
body.light-mode .stat-card,
body.light-mode .contact-form,
body.light-mode .contact-info-card,
body.light-mode .contact-social {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .skill-card h3,
body.light-mode .project-card h3,
body.light-mode .education-card h3,
body.light-mode .stat-card .stat-number,
body.light-mode .contact-info-card h4 {
    color: #000000;
}

body.light-mode .skill-card p,
body.light-mode .project-card p,
body.light-mode .education-card p,
body.light-mode .stat-card .stat-label,
body.light-mode .contact-info-card p,
body.light-mode .contact-info-card a {
    color: #000000;
}

body.light-mode .skill-card:hover,
body.light-mode .project-card:hover,
body.light-mode .education-card:hover,
body.light-mode .stat-card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 150, 255, 0.2);
}

body.light-mode .footer {
    background: rgba(255, 255, 255, 0.8);
    color: #000000;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .footer-link {
    color: #000000;
}

body.light-mode .footer-link:hover {
    color: #0096ff;
}

body.light-mode .status-badge {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 200, 100, 0.3);
    color: #059669;
}

body.light-mode .status-dot {
    background: #10b981;
}

body.light-mode .btn-primary {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.9) 0%, rgba(0, 100, 200, 0.8) 100%);
    border-color: rgba(0, 150, 255, 0.8);
    color: #ffffff;
    font-weight: 600;
}

body.light-mode .btn-primary:hover {
    background: linear-gradient(145deg, rgba(0, 150, 255, 1) 0%, rgba(0, 100, 200, 0.9) 100%);
    color: #ffffff;
}

body.light-mode .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #000000;
}

body.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
}

body.light-mode .project-image-placeholder {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.08) 0%, rgba(0, 100, 200, 0.05) 100%);
}

body.light-mode .tag {
    background: rgba(0, 150, 255, 0.12);
    color: #0096ff;
    border-color: rgba(0, 150, 255, 0.25);
}

body.light-mode .tech-tag {
    background: rgba(0, 150, 255, 0.08);
    border-color: rgba(0, 150, 255, 0.2);
    color: #0096ff;
}

body.light-mode .tech-tag:hover {
    background: rgba(0, 150, 255, 0.15);
    color: #0066cc;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: #000000;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 255, 0.5);
}

body.light-mode .form-group label {
    color: #000000;
}

body.light-mode .cta-section {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.08) 0%, rgba(0, 100, 200, 0.05) 100%);
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .cta-content h2 {
    background: linear-gradient(135deg, #000000 0%, #0096ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .cta-content p {
    color: #000000;
}

body.light-mode .education-year,
body.light-mode .school-name {
    color: #000000;
}

body.light-mode .education-details p {
    color: #000000;
}

body.light-mode .project-link {
    color: #0096ff;
}

body.light-mode .project-link:hover {
    color: #0066cc;
}

body.light-mode .skill-progress-name,
body.light-mode .skill-progress-percent {
    color: #1a202c;
}

body.light-mode .skill-progress-bar {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .social-icon {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000000;
}

body.light-mode .social-icon:hover {
    background: rgba(0, 150, 255, 0.1);
    border-color: rgba(0, 150, 255, 0.3);
    color: #0096ff;
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
}

body.light-mode .scroll-to-top {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.9) 0%, rgba(0, 100, 200, 0.8) 100%);
    border-color: rgba(0, 150, 255, 0.8);
    color: #ffffff;
}

body.light-mode .scroll-to-top:hover {
    background: linear-gradient(145deg, rgba(0, 150, 255, 1) 0%, rgba(0, 100, 200, 0.9) 100%);
}

body.light-mode .contact-info-icon {
    background: rgba(0, 150, 255, 0.1);
}

body.light-mode .social-link-btn {
    background: rgba(0, 150, 255, 0.08);
    border-color: rgba(0, 150, 255, 0.2);
    color: #0096ff;
}

body.light-mode .social-link-btn:hover {
    background: rgba(0, 150, 255, 0.15);
    color: #0066cc;
}

/* Typing Animation */
.tagline {
    min-height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

#typingText {
    display: inline-block;
}

.typing-cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #00bfff;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Skills Progress Bars */
.skills-progress {
    margin: 3rem 0;
}

.skill-progress-item {
    margin-bottom: 2rem;
}

.skill-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.skill-progress-name {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.skill-progress-name svg {
    color: #00bfff;
    flex-shrink: 0;
}

.skill-progress-percent {
    color: #00bfff;
    font-weight: 700;
    font-size: 1.1rem;
}

.skill-progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00bfff, #0096ff);
    border-radius: 10px;
    transition: width 1.5s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.skill-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

body.light-mode .skill-progress-name,
body.light-mode .skill-progress-percent {
    color: #1a202c;
}

body.light-mode .skill-progress-bar {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Enhanced Micro-interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.project-card,
.skill-card,
.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.skill-card:hover,
.stat-card:hover {
    transform: translateY(-5px) rotateX(5deg);
}

/* Enhanced Scroll to Top */
.scroll-to-top {
    position: relative;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00bfff;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .theme-toggle {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .skill-progress-name {
        font-size: 0.95rem;
    }

    .skill-progress-percent {
        font-size: 0.95rem;
    }

    .skill-progress-bar {
        height: 10px;
    }
}

/* Additional Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .status-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .status-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: none;
    }
}

/* Animated Particles Canvas */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

body.light-mode .particles-canvas {
    opacity: 0.15;
}

/* Hide particles on mobile for performance */
@media (max-width: 768px) {
    .particles-canvas {
        display: none;
    }
}

/* Copy Email Button */
.copy-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    margin-top: 0.5rem;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 8px;
    color: #00bfff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-email-btn:hover {
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.5);
    transform: translateY(-2px);
}

.copy-email-btn:focus {
    outline: 2px solid rgba(0, 150, 255, 0.5);
    outline-offset: 2px;
}

.copy-email-btn.copied {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
    color: #00ff88;
}

.copy-email-btn svg {
    width: 16px;
    height: 16px;
}

body.light-mode .copy-email-btn {
    background: rgba(0, 150, 255, 0.08);
    border-color: rgba(0, 150, 255, 0.2);
    color: #0096ff;
}

body.light-mode .copy-email-btn:hover {
    background: rgba(0, 150, 255, 0.15);
    border-color: rgba(0, 150, 255, 0.4);
}

body.light-mode .copy-email-btn:focus {
    outline-color: rgba(0, 150, 255, 0.4);
}

body.light-mode .copy-email-btn.copied {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 200, 100, 0.4);
    color: #059669;
}

/* Stat Number Animation */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00bfff 0%, #0096ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
}

/* Enhanced Light Mode Visibility */
body.light-mode .hero {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.03) 0%, rgba(0, 100, 200, 0.02) 100%);
}

body.light-mode .typing-cursor {
    color: #0096ff;
}

body.light-mode #typingText {
    color: #000000;
}

body.light-mode .social-links {
    filter: none;
}

body.light-mode .cta-buttons .btn {
    font-weight: 600;
}

body.light-mode .skill-progress-name svg,
body.light-mode .skill-progress-percent,
body.light-mode .project-icon svg,
body.light-mode .education-icon svg,
body.light-mode .contact-info-icon svg {
    color: #0096ff;
}

body.light-mode .skill-icon svg {
    color: #0096ff;
    filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.2));
}

body.light-mode .tech-stack h3 {
    color: #000000;
}

body.light-mode .contact-social h4 {
    color: #000000;
}

body.light-mode .education-card h3,
body.light-mode .education-card .school-name {
    color: #000000;
}

/* Fix button visibility in light mode */
body.light-mode .contact-btn {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.9) 0%, rgba(0, 100, 200, 0.8) 100%);
    border-color: rgba(0, 150, 255, 0.8);
    color: #ffffff !important;
    font-weight: 600;
}

body.light-mode .contact-btn:hover {
    background: linear-gradient(145deg, rgba(0, 150, 255, 1) 0%, rgba(0, 100, 200, 0.9) 100%);
    color: #ffffff !important;
}

body.light-mode .btn-download-resume {
    background: rgba(0, 0, 0, 0.08) !important;
    border: 2px solid rgba(0, 0, 0, 0.3) !important;
    color: #000000 !important;
    font-weight: 600;
}

body.light-mode .btn-download-resume:hover {
    background: rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(0, 0, 0, 0.4) !important;
    color: #000000 !important;
}

/* Fix CTA section button visibility in light mode */
body.light-mode .cta-buttons .btn-primary {
    background: linear-gradient(145deg, rgba(0, 150, 255, 0.95) 0%, rgba(0, 100, 200, 0.9) 100%);
    border-color: rgba(0, 150, 255, 0.9);
    color: #ffffff !important;
    font-weight: 600;
}

body.light-mode .cta-buttons .btn-primary:hover {
    background: linear-gradient(145deg, rgba(0, 150, 255, 1) 0%, rgba(0, 100, 200, 1) 100%);
    color: #ffffff !important;
}

body.light-mode .cta-buttons .btn-outline {
    background: rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 0, 0, 0.3);
    color: #000000 !important;
    font-weight: 600;
}

body.light-mode .cta-buttons .btn-outline:hover {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.4);
    color: #000000 !important;
}


/* ===== AUTH NAVIGATION STYLES ===== */
.nav-auth-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-auth-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-user-menu {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 6px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-user-btn:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: var(--primary-color);
}

.nav-user-btn svg {
    color: var(--primary-color);
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-user-menu:hover .nav-user-dropdown,
.nav-user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
    border-top: 1px solid var(--border-color);
}

.dropdown-item:hover {
    background: rgba(0, 191, 255, 0.1);
    color: var(--primary-color);
}

.dropdown-item svg {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.dropdown-item:hover svg {
    color: var(--primary-color);
}

/* Light mode adjustments */
body.light-mode .nav-user-btn {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: #000;
}

body.light-mode .nav-user-btn:hover {
    background: rgba(37, 99, 235, 0.2);
}

body.light-mode .nav-user-dropdown {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .dropdown-item {
    color: #000;
}

body.light-mode .dropdown-item:hover {
    background: rgba(37, 99, 235, 0.1);
}

body.light-mode .dropdown-item:last-child {
    border-top-color: #e5e7eb;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-user-dropdown {
        position: fixed;
        top: auto;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
    
    .nav-menu.active .nav-user-menu {
        width: 100%;
    }
    
    .nav-menu.active .nav-user-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu.active .nav-user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0.5rem;
    }
}
