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

:root {
    /* Dark theme (default) */
    --primary-color: #0a192f;
    --secondary-color: #64ffda;
    --accent-color: #00b894;
    --text-color: #e6f1ff;
    --text-color-secondary: #8892b0;
    --light-gray: #112240;
    --white: #ffffff;
    --dark-bg: #020c1b;
    --card-bg: #112240;
    --transition: all 0.3s ease;
    --glow: 0 0 10px rgba(100, 255, 218, 0.5);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --border-color: rgba(100, 255, 218, 0.1);
    --matrix-bg: rgba(10, 25, 47, 0.05);
    --matrix-text: #64ffda;
    --particle-color: rgba(100, 255, 218, 0.5);
}

:root[data-theme="light"] {
    /* Light theme */
    --primary-color: #f8f9fa;
    --secondary-color: #0066cc;
    --accent-color: #0099ff;
    --text-color: #2d3748;
    --text-color-secondary: #4a5568;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --dark-bg: #f0f4f8;
    --card-bg: #ffffff;
    --glow: 0 0 10px rgba(0, 102, 204, 0.5);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 102, 204, 0.1);
    --matrix-bg: rgba(240, 244, 248, 0.05);
    --matrix-text: #0066cc;
    --particle-color: rgba(0, 102, 204, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(100, 255, 218, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 184, 148, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
    transition: background-color 0.5s ease, color 0.5s ease;
    cursor: none;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle.pulse {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .fa-moon {
    display: none;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--text-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--secondary-color);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    bottom: -5px;
    left: 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

[data-theme="light"] .navbar {
    background-color: rgba(248, 249, 250, 0.85);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    font-family: 'Fira Code', monospace;
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-left: 2px;
    box-shadow: var(--glow);
    animation: pulse 2s infinite alternate;
}

.logo.glitch {
    animation: glitch 0.2s linear infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

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

/* Active navigation link */
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a.active::after {
    width: 100%;
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    border-radius: 50%;
    animation: pulse 4s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
    border-radius: 50%;
    animation: pulse 5s infinite alternate-reverse;
}

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

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-greeting, .hero h1, .hero h2, .hero-text {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

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

/* Typing animation effect */
.hero-greeting {
    font-family: 'Fira Code', monospace;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.hero h1, .hero h2, .hero-text {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

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

/* Cursor animation for typing effect */
.typing::after {
    content: '|';
    animation: blink 0.7s infinite;
}

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

.hero-text {
    font-size: 1.2rem;
    margin: 2rem 0;
    color: var(--text-color-secondary);
}

.tech-stack-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.tech-stack-hero span {
    background: rgba(100, 255, 218, 0.1);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    font-family: 'Fira Code', monospace;
}

.hero-decoration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.1;
    z-index: 0;
}

.code-snippet {
    background: var(--card-bg);
    border-radius: 5px;
    padding: 1rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--secondary-color);
    overflow: hidden;
}

.code-snippet pre {
    margin: 0;
}

.code-snippet code {
    display: block;
    white-space: pre-wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.btn:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn.primary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    box-shadow: var(--glow);
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.2), transparent);
    transition: var(--transition);
    transform: translateZ(-10px);
}

.btn.primary:hover::before {
    left: 100%;
}

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

.btn.secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 5rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--glow);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.about-text {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.about-intro {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 500;
}

.about-experience,
.about-achievements,
.about-personal {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-cta {
    margin-top: 3rem;
    text-align: center;
}

.about-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.about-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

@media (max-width: 768px) {
    .about-content {
        padding: 1rem;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .about-intro {
        font-size: 1.2rem;
    }
    
    .about-experience,
    .about-achievements,
    .about-personal {
        font-size: 1rem;
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition-all);
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition-transform);
}

.project-content {
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    margin-bottom: 1.5rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-all);
    position: relative;
    z-index: 3;
}

.project-link:hover {
    color: var(--primary-color-dark);
    transform: translateX(5px);
}

.project-link i {
    transition: var(--transition-transform);
}

.project-link:hover i {
    transform: translateX(3px);
}

/* Hover effects */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

/* Ensure links are clickable */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition-opacity);
    z-index: 1;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 0.05;
}

@media (max-width: 768px) {
    .project-card {
        padding: 1.5rem;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
    }
    
    .project-icon {
        font-size: 1.8rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-features {
        padding: 0.8rem;
    }
    
    .project-tech {
        justify-content: center;
    }
    
    .project-link {
        width: 100%;
        justify-content: center;
    }
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.skill-category:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.skill-category h3 i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
    transition: transform 0.5s ease;
    transform: translateZ(20px);
}

.skill-category:hover h3 i {
    transform: translateZ(30px) scale(1.2);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color-secondary);
}

.skill-category li::before {
    content: ">";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Certifications Section */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cert-card:hover::before {
    transform: translateX(100%);
}

.cert-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.cert-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

.cert-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cert-card p {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cert-date {
    display: inline-block;
    background: rgba(100, 255, 218, 0.1);
    color: var(--secondary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(100, 255, 218, 0.1);
}

.cert-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.cert-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cert-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        padding: 1.5rem;
    }
    
    .cert-card i {
        font-size: 2rem;
    }
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.blog-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: var(--glow);
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    bottom: -2px;
    left: 0;
    transition: var(--transition);
}

.read-more:hover::after {
    width: 100%;
}

/* Contact Section */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

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

.contact-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-card:hover::before {
    transform: translateX(100%);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--secondary-color);
    transform: rotate(360deg);
}

.contact-card:hover .contact-icon i {
    color: var(--primary-color);
}

.contact-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(100, 255, 218, 0.1);
}

.contact-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-link i {
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(3px);
}

.resume-download {
    text-align: center;
    margin-top: 2rem;
}

.resume-download .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-download .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.resume-download .btn i {
    transition: transform 0.3s ease;
}

.resume-download .btn:hover i {
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-tech {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-tech span {
    background: rgba(100, 255, 218, 0.1);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    font-family: 'Fira Code', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        color: var(--text-light);
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        padding-top: 6rem;
    }

    section {
        padding: 3rem 1rem;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .theme-toggle {
        bottom: 10px;
        right: 10px;
    }
}

/* Ensure the body can scroll when menu is open */
body.menu-open {
    overflow: auto;
    position: relative;
}

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

.hero-content, .project-card, .skill-category, .cert-card, .blog-card {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Matrix-like background effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

#matrix-canvas {
    width: 100%;
    height: 100%;
}

/* Particle effect */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--particle-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Completely disable all animations on hero content */
.hero-content,
.hero-content h1,
.hero-content h2,
.hero-content p,
.hero-content .hero-greeting,
.hero-content .cta-buttons,
.hero-content .tech-stack-hero,
.hero-content * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
}

/* Ensure hero content stays on top and is not affected by background effects */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Keep floating animation only for decorative elements */
.project-icon, 
.skill-icon, 
.cert-card i {
    animation: float 3s ease-in-out infinite;
}

/* 3D Logo Container */
.logo-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#logo-3d-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    filter: blur(1px);
}

/* Enhanced Project Features */
.project-features {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.project-features:hover {
    transform: translateZ(20px);
}

/* Skill Icons Enhancement */
.skills-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-icon:hover {
    transform: translateY(-5px);
    background: rgba(100, 255, 218, 0.1);
}

.skill-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
}

.skill-icon:hover i {
    transform: rotate(360deg);
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Contact Cards Enhancement */
.contact-card {
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-card:hover::before {
    transform: translateX(100%);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--secondary-color);
    transform: rotate(360deg);
}

.contact-card:hover .contact-icon i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-icons {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
    
    .skill-icon {
        padding: 0.8rem;
    }
    
    .skill-icon i {
        font-size: 1.5rem;
    }
    
    .skill-icon span {
        font-size: 0.8rem;
    }
}

.effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Ensure hero content stays above the robot */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Add these new animations and effects */

/* 3D Card Hover Effect */
.project-card, .skill-category, .cert-card, .contact-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.project-card:hover, .skill-category:hover, .cert-card:hover, .contact-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-content, .project-icon, .cert-card i {
    animation: float 3s ease-in-out infinite;
}

.skill-icon {
    animation: none !important;
}

/* Glowing Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(100, 255, 218, 0.5),
                    0 0 10px rgba(100, 255, 218, 0.3),
                    0 0 15px rgba(100, 255, 218, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(100, 255, 218, 0.8),
                    0 0 20px rgba(100, 255, 218, 0.5),
                    0 0 30px rgba(100, 255, 218, 0.3);
    }
}

.btn.primary {
    animation: glow 2s ease-in-out infinite;
}

/* Matrix Rain Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

/* Particle Effect */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--particle-color);
    border-radius: 50%;
    pointer-events: none;
    animation: float linear infinite;
}

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

/* 3D Logo Container */
.logo-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#logo-3d-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    filter: blur(1px);
}

/* Enhanced Project Features */
.project-features {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.project-features:hover {
    transform: translateZ(20px);
}

/* Skill Icons Enhancement */
.skills-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-icon:hover {
    transform: translateY(-5px);
    background: rgba(100, 255, 218, 0.1);
}

.skill-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
}

.skill-icon:hover i {
    transform: rotate(360deg);
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Contact Cards Enhancement */
.contact-card {
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-card:hover::before {
    transform: translateX(100%);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--secondary-color);
    transform: rotate(360deg);
}

.contact-card:hover .contact-icon i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-icons {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
    
    .skill-icon {
        padding: 0.8rem;
    }
    
    .skill-icon i {
        font-size: 1.5rem;
    }
    
    .skill-icon span {
        font-size: 0.8rem;
    }
}

.effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Ensure hero content stays above the robot */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Responsive adjustments for the robot */
@media (max-width: 1200px) {
    .ai-robot-container {
        width: 250px;
        height: 250px;
        right: 2%;
    }
}

@media (max-width: 768px) {
    .ai-robot-container {
        width: 200px;
        height: 200px;
        right: 50%;
        transform: translate(50%, -50%);
        top: auto;
        bottom: 20px;
    }
}

/* Remove AI robot container styles */
.ai-robot-container {
    display: none;
}

/* Matrix Rain Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

/* Loading Animation */
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-animation.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--text-color);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-animation p {
    color: var(--text-color);
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: 'Fira Code', monospace;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.contact-form .btn {
    align-self: flex-end;
    margin-top: 1rem;
}

/* Improved form success message */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.5s forwards;
}

.form-success i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.form-success p {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-content {
        position: relative;
        padding-right: 3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Project Cards */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.project-info p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.project-tech span {
    background: rgba(100, 255, 218, 0.2);
    color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Parallax Scrolling */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.custom-cursor.hover {
    transform: scale(1.5);
    background-color: var(--accent-color);
}

/* Text Highlighting Effects */
.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Loading Screen */
.loading-screen {
    display: none;
}

.loading-screen.fade-out {
    display: none;
}

/* Micro-interactions */
button, a {
    transition: all 0.2s ease;
}

button:hover, a:hover {
    transform: translateY(-2px);
}

/* Background Patterns */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        radial-gradient(var(--primary-color) 1px, transparent 1px),
        radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: -1;
}

/* Timeline Animation */
.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    left: 50%;
    transform: translateX(50px);
}

.timeline-item:nth-child(even).visible {
    transform: translateX(0);
}

.timeline-content {
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-date {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.timeline-content ul {
    list-style-type: none;
    padding-left: 0;
}

.timeline-content ul li {
    color: var(--text-color-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content ul li::before {
    content: ">";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--card-bg);
    border: 4px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
}

/* Scroll Progress Line */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: rgba(100, 255, 218, 0.1);
    z-index: 1000;
    transition: height 0.1s ease;
}

.scroll-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 10px var(--secondary-color);
    opacity: 0.8;
}

[data-theme="light"] .scroll-progress {
    background: rgba(0, 102, 204, 0.1);
}

[data-theme="light"] .scroll-progress::before {
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 10px var(--secondary-color);
}

@media (max-width: 768px) {
    .scroll-progress {
        width: 3px;
    }
} 
.hero h2 {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    transition: opacity 0.4s !important;
}