:root {
    /* Color scheme - Dark theme (default) */
    --bg-primary: #0a192f;  /* Deep navy blue */
    --bg-secondary: #112240;  /* Slightly lighter navy */
    --bg-tertiary: #233554;  /* Medium navy */
    --text-primary: #e6f1ff;  /* Bright white-blue */
    --text-secondary: #a8b2d1;  /* Light lavender */
    --text-tertiary: #8892b0;  /* Muted lavender */
    --accent-primary: #64ffda;  /* Teal/aqua */
    --accent-secondary: #7b5dfa;  /* Vibrant purple */
    --accent-tertiary: #ff6b97;  /* Soft pink */
    
    /* Glass effects */
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Additional gradients */
    --gradient-primary: linear-gradient(135deg, #64ffda, #7b5dfa);
    --gradient-secondary: linear-gradient(135deg, #7b5dfa, #ff6b97);
    --gradient-text: linear-gradient(90deg, #64ffda, #7b5dfa, #ff6b97);
    
    /* Social icon color */
    --social-icon-color: var(--text-primary);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Font sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-md: 1rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3rem;
    --fs-5xl: 4rem;
}

/* Light theme variables - Enhanced for better visibility */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #1e293b;
    --text-tertiary: #334155;
    --accent-primary: #0066cc;
    --accent-secondary: #6b46c1;
    --accent-tertiary: #e53e3e;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 102, 204, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #0066cc, #6b46c1);
    --gradient-secondary: linear-gradient(135deg, #6b46c1, #e53e3e);
    --gradient-text: linear-gradient(90deg, #0066cc, #6b46c1, #e53e3e);
    --social-icon-color: #0f172a;
}

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

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

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

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0;
}

/* Background elements */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#webgl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 8px 0; /* Reduced padding */
    transition: var(--transition-normal);
}

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

.logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--fs-xl);
    font-weight: 700;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links ul {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    position: relative;
    font-size: var(--fs-sm);
    font-weight: 500;
}

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

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

.theme-toggle {
    width: 40px;
    height: 20px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
}

.toggle-icon {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    transition: var(--transition-normal);
}

[data-theme="light"] .toggle-icon {
    transform: translateX(20px);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* Hero section - Enhanced layout */
.hero {
    min-height: 110vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
    padding-top: 20px; /* Minimal padding for fixed navbar */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.05;
    filter: blur(80px);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.05;
    filter: blur(100px);
    z-index: -1;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-content {
    flex: 1.2;
    z-index: 2;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.model-container {
    width: 100%;
    height: 400px;
    position: relative;
}

/* Enhanced profile image with better effects */
.hero .profile-image-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(6, 182, 212, 0.3);
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
}

.hero .profile-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
    filter: contrast(1.05) saturate(1.2) brightness(1.05);
}

.hero .profile-image-container:hover .profile-image {
    transform: scale(1.05) rotate(2deg);
}

.hero .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3));
    mix-blend-mode: overlay;
}

/* Add a glow effect on hover */
.hero .profile-image-container::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(30px);
    transition: opacity 0.5s ease;
    z-index: -1;
}

.hero .profile-image-container:hover::after {
    opacity: 0.15;
}

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

.pre-heading {
    font-size: var(--fs-md);
    color: var(--accent-primary);
    margin-bottom: var(--space-xs);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: blur(12px);
    opacity: 0.3;
}

.hero h2 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.highlight {
    color: var(--accent-primary);
}

.hero-description {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

/* Enhanced buttons */
.primary-btn {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.15);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.primary-btn:hover {
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25);
}

.primary-btn:hover::before {
    width: 100%;
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--bg-tertiary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.5px;
}

.secondary-btn:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
}

/* Enhanced social icons */
.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icon {
    font-size: var(--fs-lg);
    color: var(--social-icon-color);
    transition: all 0.3s ease;
    position: relative;
}

.social-icon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.social-icon:hover::after {
    width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: var(--radius-full);
    animation: scroll 1.5s infinite;
}

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

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-secondary);
    border-right: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Sections common styles */
section {
    padding: var(--space-md) 0;
    position: relative;
    z-index: 1;
}

/* Adjust stagger section for skills page */
.skills.stagger-section {
    padding-top: 0;
}

.section-title {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    animation: expandLine 1.5s ease-out 0.5s forwards;
}

@keyframes expandLine {
    to {
        width: 80%;
    }
}

.section-subtitle {
    font-size: var(--fs-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* Footer Styles */
.footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.3) 0%, rgba(10, 25, 47, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* Decorative elements */
.footer::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.footer .decorative-shape {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: var(--accent-primary);
    opacity: 0.03;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

.footer .decorative-shape:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 100px;
    height: 100px;
    background: var(--accent-tertiary);
    animation-duration: 25s;
    animation-direction: reverse;
}

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

.social-connect {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.social-connect h3 {
    font-size: var(--fs-xl);
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.social-connect h3::before,
.social-connect h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary));
}

.social-connect h3::before {
    right: 100%;
    margin-right: 20px;
}

.social-connect h3::after {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.footer .social-icons {
    justify-content: center;
    gap: var(--space-md);
}

.footer .social-icon {
    color: var(--social-icon-color);
    width: 50px;
    height: 50px;
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    color: var(--text-secondary);
}

.footer .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer .social-icon:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer .social-icon:hover::before {
    opacity: 1;
}

.footer .social-icon i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer .social-icon:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: 3rem;
}

.footer-about {
    padding-right: var(--space-md);
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--fs-xl);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-logo a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.footer-logo:hover a::after {
    width: 100%;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.footer-heading {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 20px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.footer-contact i {
    color: var(--accent-primary);
    font-size: var(--fs-md);
    margin-top: 3px;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-sm);
}

.newsletter-form {
    display: flex;
    margin-bottom: var(--space-md);
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.newsletter-btn {
    padding: 10px 15px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: rgba(100, 255, 218, 0.8);
}

/* Newsletter message styles */
.newsletter-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    animation: fadeIn 0.3s ease-in-out;
    transition: opacity 0.5s ease;
}

.newsletter-message.success {
    background: rgba(72, 187, 120, 0.2);
    color: #2f855a;
    border-left: 3px solid #2f855a;
}

.newsletter-message.error {
    background: rgba(245, 101, 101, 0.2);
    color: #e53e3e;
    border-left: 3px solid #e53e3e;
}

.newsletter-message.fade-out {
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.2), transparent);
    margin: var(--space-md) 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
}

.copyright {
    color: var(--text-tertiary);
    font-size: var(--fs-xs);
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: var(--fs-xs);
    display: flex;
    align-items: center;
    gap: 5px;
}

.heart {
    color: var(--accent-tertiary);
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: var(--fs-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

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

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

/* Custom scrollbar for hover lists */
/* For Webkit browsers (Chrome, Safari, newer versions of Opera) */
.hover-list::-webkit-scrollbar {
    width: 5px;
}

.hover-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 5px;
}

.hover-list::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hover-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--accent-secondary), var(--accent-tertiary));
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.5);
}

/* Add a subtle animation to the scrollbar appearance */
@keyframes scrollbar-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stat-item:hover .hover-list::-webkit-scrollbar-thumb {
    animation: scrollbar-fade-in 0.5s ease forwards;
}

/* Skills Section Styles */
.skills-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.skills-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 93, 250, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.skills-intro {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    text-align: center;
    color: var(--text-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: var(--space-xl);
    padding: 0 var(--space-sm);
}

/* Staggered animation for skill cards */
.skills-grid .skill-card {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

.skills-grid .skill-card:nth-child(1) { animation-delay: 0.1s; }
.skills-grid .skill-card:nth-child(2) { animation-delay: 0.2s; }
.skills-grid .skill-card:nth-child(3) { animation-delay: 0.3s; }
.skills-grid .skill-card:nth-child(4) { animation-delay: 0.4s; }
.skills-grid .skill-card:nth-child(5) { animation-delay: 0.5s; }
.skills-grid .skill-card:nth-child(6) { animation-delay: 0.6s; }
.skills-grid .skill-card:nth-child(7) { animation-delay: 0.7s; }
.skills-grid .skill-card:nth-child(8) { animation-delay: 0.8s; }
.skills-grid .skill-card:nth-child(9) { animation-delay: 0.9s; }
.skills-grid .skill-card:nth-child(10) { animation-delay: 1.0s; }
.skills-grid .skill-card:nth-child(11) { animation-delay: 1.1s; }
.skills-grid .skill-card:nth-child(12) { animation-delay: 1.2s; }
.skills-grid .skill-card:nth-child(13) { animation-delay: 1.3s; }
.skills-grid .skill-card:nth-child(14) { animation-delay: 1.4s; }
.skills-grid .skill-card:nth-child(15) { animation-delay: 1.5s; }
.skills-grid .skill-card:nth-child(16) { animation-delay: 1.6s; }

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

/* Tools Section Styles */
.tools-section {
    margin-top: var(--space-lg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition-normal);
}

.tool-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-sm);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.tool-hover-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.3), transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0;
    transition: var(--transition-normal);
}

.tool-item:hover .tool-hover-effect {
    opacity: 0.9;
    transform: scale(1.5);
}

.tool-item span {
    font-size: var(--fs-md);
    color: var(--text-primary);
    margin-top: var(--space-xs);
    font-weight: 500;
}

.tool-experience {
    font-size: var(--fs-xs);
    color: var(--accent-primary);
    margin-top: var(--space-xs);
    background: rgba(100, 255, 218, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.skill-card {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), rgba(123, 93, 250, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.skill-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(100, 255, 218, 0.1);
}

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

.skill-card:nth-child(even):hover {
    transform: translateY(-10px) rotateX(-5deg);
}

.skill-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.skill-card:hover i {
    transform: scale(1.1) rotateY(15deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 2px solid rgba(100, 255, 218, 0.2);
    transition: all 0.4s ease;
}

.skill-card:hover .skill-icon {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.4);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

.skill-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

.skill-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.2), transparent 60%);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.skill-card:hover .skill-glow {
    opacity: 1;
    transform: scale(1.2);
}

.skill-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.skill-card:hover h3 {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.skill-card p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.skill-card:hover p {
    color: var(--text-primary);
}

.skill-level {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    position: relative;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-full);
    position: relative;
    transition: width 1.5s ease-in-out;
    width: 0;
}

.progress-percentage {
    position: absolute;
    right: 5px;
    top: -18px;
    font-size: var(--fs-xs);
    color: var(--accent-primary);
    font-weight: 600;
}

.skill-badge {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 500;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}

/* Projects Section Styles */
.projects {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 93, 250, 0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.projects::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 107, 151, 0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
}

.projects-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.projects-intro p {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(17, 34, 64, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(123, 93, 250, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent-primary);
    border-color: rgba(100, 255, 218, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.15);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: var(--space-xl);
}

/* Project Cards */
.project-card {
    position: relative;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(50px);
    animation: projectSlideIn 0.8s ease-out forwards;
}

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

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

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), rgba(123, 93, 250, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3), 0 0 50px rgba(100, 255, 218, 0.1);
}

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

/* Project Image */
.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.8), rgba(35, 53, 84, 0.6));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.9) contrast(1.1);
    opacity: 0;
}

.project-image img.loaded {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

/* Loading placeholder for images */
.project-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(100, 255, 218, 0.3);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.project-image img.loaded + ::before {
    display: none;
}

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

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

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

.project-links {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
}

/* Project Info */
.project-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
    color: var(--accent-primary);
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-info p {
    color: var(--text-primary);
}

/* Tech Tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    color: var(--accent-primary);
    font-size: var(--fs-xs);
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
    background: rgba(100, 255, 218, 0.15);
    border-color: rgba(100, 255, 218, 0.3);
    transform: translateY(-2px);
}

/* Projects CTA */
.projects-cta {
    text-align: center;
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    position: relative;
}

.projects-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transform: translateX(-50%);
}

/* Enhanced filter animations */
.project-card.filtering-out {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card.filtering-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Scroll reveal animations */
.project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced tech tags with different colors */
.tech-tag.html { border-color: rgba(227, 79, 38, 0.3); color: #e34f26; background: rgba(227, 79, 38, 0.1); }
.tech-tag.css { border-color: rgba(21, 114, 182, 0.3); color: #1572b6; background: rgba(21, 114, 182, 0.1); }
.tech-tag.javascript { border-color: rgba(247, 223, 30, 0.3); color: #f7df1e; background: rgba(247, 223, 30, 0.1); }
.tech-tag.react { border-color: rgba(97, 218, 251, 0.3); color: #61dafb; background: rgba(97, 218, 251, 0.1); }
.tech-tag.api { border-color: rgba(255, 107, 151, 0.3); color: #ff6b97; background: rgba(255, 107, 151, 0.1); }
.tech-tag.figma { border-color: rgba(242, 78, 30, 0.3); color: #f24e1e; background: rgba(242, 78, 30, 0.1); }

/* Contact Page Styles */
.contact {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.contact::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 93, 250, 0.06), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.contact-intro p {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* Contact Info Cards */
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.contact-card {
    padding: 2rem;
    text-align: center;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), rgba(123, 93, 250, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(100, 255, 218, 0.1);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: all 0.4s ease;
    position: relative;
}

.contact-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.3), transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-card:hover .contact-icon {
    background: rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.4);
    transform: scale(1.1);
}

.contact-card:hover .contact-icon::after {
    opacity: 1;
}

.contact-card h3 {
    font-size: var(--fs-lg);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: var(--fs-md);
    transition: color 0.3s ease;
}

.contact-card:hover p {
    color: var(--accent-primary);
}

/* Contact Form Container */
.contact-form-container {
    padding: 2.5rem;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.03), rgba(123, 93, 250, 0.03));
    z-index: -1;
}

.contact-form-container h3 {
    font-size: var(--fs-xl);
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.contact-form-container h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: var(--fs-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(10, 25, 47, 0.8);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--accent-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
    opacity: 0.7;
}

/* Enhanced Submit Button */
.contact-form .primary-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: var(--fs-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form .primary-btn i {
    transition: transform 0.3s ease;
}

.contact-form .primary-btn:hover i {
    transform: translateX(5px);
}

/* Form Status Messages */
.form-status {
    margin-top: 1rem;
}

.form-status p {
    padding: 1rem;
    border-radius: 8px;
    font-size: var(--fs-sm);
    font-weight: 500;
    display: none;
    animation: slideInUp 0.3s ease;
}

.success-message {
    background: rgba(72, 187, 120, 0.2);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.3);
    border-left: 4px solid #48bb78;
}

.error-message {
    background: rgba(245, 101, 101, 0.2);
    color: #f56565;
    border: 1px solid rgba(245, 101, 101, 0.3);
    border-left: 4px solid #f56565;
}

/* Social Connect Section */
.social-connect {
    text-align: center;
    position: relative;
}

.social-connect h3 {
    font-size: var(--fs-xl);
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.social-connect h3::before,
.social-connect h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary));
}

.social-connect h3::before {
    right: 100%;
    margin-right: 20px;
}

.social-connect h3::after {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.social-connect .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-connect .social-icon {
    width: 60px;
    height: 60px;
    background: rgba(17, 34, 64, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-connect .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-connect .social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(100, 255, 218, 0.2);
}

.social-connect .social-icon:hover::before {
    opacity: 1;
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact {
        padding: var(--space-lg) 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .social-connect .social-icons {
        gap: 1rem;
    }
    
    .social-connect .social-icon {
        width: 50px;
        height: 50px;
        font-size: var(--fs-md);
    }
}

@media (max-width: 480px) {
    .contact-intro p {
        font-size: var(--fs-md);
    }
    
    .contact-card h3 {
        font-size: var(--fs-md);
    }
    
    .contact-card p {
        font-size: var(--fs-sm);
    }
    
    .contact-form-container h3 {
        font-size: var(--fs-lg);
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: var(--fs-sm);
    }
}

/* Project card number indicator */
.project-card::after {
    content: attr(data-index);
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.project-card:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Design for Skills Section */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-card i {
        font-size: 3rem;
    }
    
    .skills-section::before,
    .skills-section::after {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .skill-card {
        padding: 1rem;
    }
    
    .skill-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .skill-card h3 {
        font-size: 1.2rem;
    }
}

/* Responsive Design for Projects Section */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .project-card {
        padding: 0;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-filters {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: var(--fs-xs);
    }
    
    .projects::before,
    .projects::after {
        display: none;
    }
    
    .projects-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .project-info h3 {
        font-size: 1.3rem;
    }
    
    .project-info p {
        font-size: var(--fs-sm);
    }
    
    .project-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .tech-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Education Page Styles */
.education-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 45%;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: var(--fs-lg);
    border: 2px solid var(--accent-primary);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: -75px;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: -75px;
}

.timeline-content h3 {
    font-size: var(--fs-xl);
    margin-bottom: 5px;
    color: var(--accent-primary);
}

.timeline-content h4 {
    font-size: var(--fs-md);
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.timeline-date {
    font-size: var(--fs-sm);
    color: var(--accent-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-description {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tag {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    transition: var(--transition-normal);
}

.timeline-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

/* Certifications Styles */
.certifications {
    margin-top: var(--space-lg);
}

.certifications-title {
    text-align: center;
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-md);
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.certification-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.certification-icon {
    font-size: var(--fs-3xl);
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
}

.certification-content h4 {
    font-size: var(--fs-lg);
    margin-bottom: 5px;
    color: var(--text-primary);
}

.certification-provider {
    font-size: var(--fs-sm);
    color: var(--accent-secondary);
    margin-bottom: 5px;
}

.certification-date {
    font-size: var(--fs-xs);
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.certification-description {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

/* Mobile footer adjustments */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .footer-about {
        grid-column: span 2;
    }
    
    /* Mobile Timeline Adjustments */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 85%;
        margin-left: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: -45px;
    }
    
    .certification-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .social-connect h3::before,
    .social-connect h3::after {
        width: 30px;
    }
}

/* Enhanced About Page Styles */
.about-container {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.about-image {
    flex: 1;
}

.about-content {
    flex: 1.5;
}

.profile-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.profile-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.profile-image {
    width: auto;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.1), rgba(10, 25, 47, 0.7));
}

.profile-details {
    padding: var(--space-md);
    text-align: center;
}

.profile-details h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--fs-lg);
    color: var(--text-primary);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-sm);
}

.profile-tag {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
}

.about-intro {
    font-size: var(--fs-lg);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin: var(--space-lg) 0;
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    flex: 1;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-item:hover .stat-details {
    opacity: 1;
    transform: translateY(0);
}

.hover-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
}

.hover-list li {
    padding: 4px 0;
    font-size: var(--fs-sm);
    color: var(--text-primary);
    position: relative;
}

.hover-list li:not(:last-child) {
    margin-bottom: 4px;
}

.hover-list li::before {
    content: '•';
    color: var(--accent-primary);
    display: inline-block;
    margin-right: 5px;
}

.stat-number {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.about-cta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* Section header with line */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--accent-primary);
    margin: 15px auto 0;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 20px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.footer-contact i {
    color: var(--accent-primary);
    font-size: var(--fs-md);
    margin-top: 3px;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-sm);
}

.newsletter-form {
    display: flex;
    margin-bottom: var(--space-md);
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.newsletter-btn {
    padding: 10px 15px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: rgba(100, 255, 218, 0.8);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.2), transparent);
    margin: var(--space-md) 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
}

.footer-bottom .social-icons {
    display: flex;
    gap: var(--space-md);
}

.footer-bottom .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(10, 25, 47, 0.95);
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-md);
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.footer-bottom .social-icon:hover {
    background: #0a1629; /* Much darker navy blue */
    color: var(--accent-primary);
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(10, 22, 41, 0.8);
}

/* Enhanced Light theme navigation */
[data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links a {
    color: #1e293b;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: var(--accent-primary);
    background: rgba(0, 102, 204, 0.1);
}

[data-theme="light"] .nav-links a::after {
    background-color: var(--accent-primary);
    height: 3px;
}

[data-theme="light"] .logo a {
    color: #0f172a;
}

[data-theme="light"] .logo span {
    color: var(--accent-primary);
}

[data-theme="light"] .theme-toggle {
    background: #e2e8f0;
    border: 2px solid #cbd5e1;
}

[data-theme="light"] .toggle-icon {
    background: var(--accent-primary);
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
}

[data-theme="light"] .hamburger-menu span {
    background-color: #1e293b;
}

/* Enhanced Light theme newsletter */
[data-theme="light"] .newsletter-input {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    padding: 12px 16px;
    border-radius: 8px;
}

[data-theme="light"] .newsletter-input::placeholder {
    color: #64748b;
}

[data-theme="light"] .newsletter-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

[data-theme="light"] .newsletter-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

/* Enhanced Light theme social icons */
[data-theme="light"] .social-icon {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

[data-theme="light"] .social-icon:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* Enhanced Light theme skills cards */
[data-theme="light"] .skill-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

[data-theme="light"] .skill-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
}

[data-theme="light"] .skill-progress {
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

[data-theme="light"] .skill-progress-bar {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    height: 8px;
    border-radius: 10px;
}

/* Enhanced Light theme contact form */
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea,
[data-theme="light"] .contact-form select {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
}

[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
    color: #64748b;
}

[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form textarea:focus,
[data-theme="light"] .contact-form select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

[data-theme="light"] .contact-form label {
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

[data-theme="light"] .contact-form .submit-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-form .submit-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* Enhanced Light theme components */
[data-theme="light"] .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

[data-theme="light"] .project-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .project-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

[data-theme="light"] .tech-tag {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .nav-links a {
    color: #1e293b;
    font-weight: 600;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: var(--accent-primary);
}

[data-theme="light"] .section-title {
    color: #0f172a;
}

[data-theme="light"] .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .primary-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
}

[data-theme="light"] .secondary-btn {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

[data-theme="light"] .secondary-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.copyright {
    color: var(--text-tertiary);
    font-size: var(--fs-xs);
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: var(--fs-xs);
    display: flex;
    align-items: center;
    gap: 5px;
}

.heart {
    color: var(--accent-tertiary);
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: var(--fs-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

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

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

/* Mobile footer adjustments */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .social-connect h3::before,
    .social-connect h3::after {
        width: 30px;
    }
}