/* Portfolio Dark Mode CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

button:focus,
button:focus-visible,
button:active,
a:focus,
a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

ul, ol, li {
    list-style: none;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    border: none;
    outline: none;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #1a1a1a;
    --bg-quaternary: #252525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-primary: #00d4ff;
    --accent-secondary: #ff6b6b;
    --accent-tertiary: #7c3aed;
    --gradient: linear-gradient(135deg, #00d4ff, #ff6b6b);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-dark: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Dark Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
    z-index: 1000;
    transition: var(--transition);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0.3;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    border: none;
    outline: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    border: none;
    outline: none;
    background: none;
    padding: 0;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Enhanced Dark Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 30%, #1a1a1a 70%, #0f0f0f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><circle cx="30" cy="30" r="1"/></g></svg>');
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-main {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.greeting {
    color: #ffffff;
    display: block;
}

.name-highlight {
    background: linear-gradient(135deg, #7c7fc6, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.role-primary {
    color: #ffffff;
    font-weight: 400;
}

.role-highlight {
    background: linear-gradient(135deg, #7c7fc6, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #7c7fc6, #6366f1);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 127, 198, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 127, 198, 0.6);
}

.btn-secondary {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* WhatsApp specific styling */
.social-icon[title="WhatsApp"]:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
    border-color: #25d366;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.profile-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #7c7fc6, #6366f1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(124, 127, 198, 0.4);
    z-index: 3;
}

.profile-image {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-pic:hover {
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    animation: scrollLine 2s ease-in-out infinite;
}



/* Profile Picture Fallback */
.profile-pic[src="profile.jpg"]:not([src*="/"]) {
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.profile-pic[src="profile.jpg"]:not([src*="/"])::before {
    content: "Add Your Photo";
}

/* Animations */
@keyframes ringPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 300px;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.profile-card {
    background: var(--bg-secondary);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.profile-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.placeholder-text {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 500;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tech-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: floatBadge 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.tech-badge.html { top: 10%; left: -10%; animation-delay: 0s; color: #e34c26; }
.tech-badge.css { top: 20%; right: -15%; animation-delay: 0.5s; color: #1572b6; }
.tech-badge.js { bottom: 30%; left: -15%; animation-delay: 1s; color: #f7df1e; }
.tech-badge.react { bottom: 10%; right: -10%; animation-delay: 1.5s; color: #61dafb; }
.tech-badge.node { top: 50%; left: -20%; animation-delay: 2s; color: #339933; }
.tech-badge.python { top: 60%; right: -20%; animation-delay: 2.5s; color: #3776ab; }

.code-window {
    position: absolute;
    top: -20px;
    right: -50px;
    width: 300px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: float 8s ease-in-out infinite reverse;
    backdrop-filter: blur(10px);
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.window-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.code-content {
    padding: 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    animation: typewriter 0.5s ease forwards;
    opacity: 0;
}

.code-line:nth-child(1) { animation-delay: 2s; }
.code-line:nth-child(2) { animation-delay: 2.3s; }
.code-line:nth-child(3) { animation-delay: 2.6s; }
.code-line:nth-child(4) { animation-delay: 2.9s; }
.code-line:nth-child(5) { animation-delay: 3.2s; }

.line-number {
    color: var(--text-secondary);
    margin-right: 1rem;
    opacity: 0.5;
    min-width: 15px;
}

.keyword { color: #ff79c6; }
.variable { color: #8be9fd; }
.operator { color: #ff79c6; }
.property { color: #50fa7b; }
.string { color: #f1fa8c; }
.punctuation { color: #f8f8f2; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.8s ease 2s both;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--accent-primary);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Dark About Section */
.about {
    background: linear-gradient(135deg, #000000 0%, #0f0f0f 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-dark);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(124, 58, 237, 0.04) 0%, transparent 60%);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #7c7fc6, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--glow);
}

.stat-card:hover::before {
    opacity: 0.6;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c7fc6, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.about-skills h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #7c7fc6, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-card {
    background: var(--glass);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--glow);
}

.skill-card:hover::before {
    opacity: 0.6;
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skill-content h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.skill-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Enhanced Dark Projects Section */
.projects {
    background: linear-gradient(135deg, #0f0f0f 0%, #000000 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-dark);
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.03) 0%, transparent 60%);
    z-index: 1;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--border-dark);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

/* Center the last card when odd number */
.project-card:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
}

.project-card {
    background: var(--glass);
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--glow), var(--shadow-dark);
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.project-card:hover::before {
    opacity: 0.8;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.project-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.browser-mockup {
    width: 100%;
    max-width: 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.project-card:hover .browser-mockup {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.browser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-dark);
}

.browser-dots {
    display: flex;
    gap: 0.25rem;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.5;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: 'Fira Code', monospace;
}

.browser-content {
    height: 120px;
    background: linear-gradient(135deg, #7c7fc6 0%, #ff6b6b 100%);
    position: relative;
    overflow: hidden;
}

.project-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: var(--transition);
    filter: brightness(0.9) contrast(1.1);
}

.project-card:hover .project-screenshot {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

/* Ensure gradient overlays work with different project types */
.preview-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 2;
    opacity: 0.7;
}

.preview-ecommerce {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    z-index: 2;
    opacity: 0.7;
}

.preview-photography {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    z-index: 2;
    opacity: 0.7;
}

.preview-analytics {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    z-index: 2;
    opacity: 0.7;
}

.preview-developer {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    z-index: 2;
    opacity: 0.7;
}

.project-card:hover .preview-dashboard,
.project-card:hover .preview-ecommerce,
.project-card:hover .preview-photography,
.project-card:hover .preview-analytics,
.project-card:hover .preview-developer {
    opacity: 0.3;
}

.preview-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 127, 198, 0.6) 0%, rgba(255, 107, 107, 0.6) 100%);
    z-index: 2;
    opacity: 0.8;
    transition: var(--transition);
}

.project-card:hover .preview-gradient {
    opacity: 0.4;
}

.preview-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.preview-ecommerce {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.preview-photography {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.preview-analytics {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.preview-developer {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-category {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(124, 127, 198, 0.1);
    border: 1px solid rgba(124, 127, 198, 0.3);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-icon {
    font-size: 1rem;
}

.projects-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 4rem auto 0;
    padding: 4rem 3rem;
    max-width: 600px;
    background: var(--glass);
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.projects-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0.4;
}

.projects-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.projects-cta p {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Projects Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin: 0 1rem;
    }
    
    .projects-filter {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .browser-mockup {
        max-width: 240px;
    }
    
    .project-actions {
        gap: 0.75rem;
    }
    
    .action-btn {
        width: 40px;
        height: 40px;
    }
    
    .projects-cta {
        margin: 3rem 1rem 0;
        padding: 2.5rem 2rem;
        max-width: none;
    }
    
    .projects-cta p {
        font-size: 1.1rem;
    }
    
    /* Reset centering on mobile - all cards full width */
    .project-card:nth-child(3):last-child {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }
}

/* Enhanced Dark Contact Section */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #0f0f0f 100%);
    position: relative;
    border-top: 1px solid var(--border-dark);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.04) 0%, transparent 50%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 2rem;
}

.contact-intro h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-intro p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.contact-method:hover::before {
    opacity: 0.6;
}

.whatsapp-method:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.method-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.method-value {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form-container {
    background: var(--glass);
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0.3;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-dark);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--glow);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Footer */
/* Enhanced Dark Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #0f0f0f 50%, #1a1a1a 100%);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-dark);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.developer-signature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.signature-line {
    width: 60px;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
    animation: lineGlow 3s ease-in-out infinite;
}

.developer-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    position: relative;
    animation: nameGlow 4s ease-in-out infinite;
}

.developer-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
    opacity: 0;
    animation: underlineGlow 4s ease-in-out infinite;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease 0.5s both;
}

/* Footer Animations */
@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.2);
    }
}

@keyframes nameGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@keyframes underlineGlow {
    0%, 80%, 100% {
        opacity: 0;
        transform: scaleX(0);
    }
    85%, 95% {
        opacity: 0.8;
        transform: scaleX(1);
    }
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-primary);
}

/* Professional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

    .profile-image {
        width: 320px;
        height: 320px;
    }

    .profile-badge {
        top: -5px;
        right: -5px;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .scroll-indicator {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-methods {
        gap: 0.75rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .developer-signature {
        gap: 1rem;
    }
    
    .signature-line {
        width: 40px;
    }
    
    .developer-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
/* Enhanced Hero Content Styles */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 25px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 500;
}

.letter {
    display: inline-block;
    animation: letterDrop 0.8s ease forwards;
    opacity: 0;
    transform: translateY(-50px);
}

.letter:nth-child(1) { animation-delay: 0.5s; }
.letter:nth-child(2) { animation-delay: 0.6s; }
.letter:nth-child(3) { animation-delay: 0.7s; }
.letter:nth-child(4) { animation-delay: 0.8s; }
.letter:nth-child(6) { animation-delay: 1s; }
.letter:nth-child(7) { animation-delay: 1.1s; }
.letter:nth-child(8) { animation-delay: 1.2s; }
.letter:nth-child(9) { animation-delay: 1.3s; }
.letter:nth-child(10) { animation-delay: 1.4s; }
.letter:nth-child(11) { animation-delay: 1.5s; }
.letter:nth-child(12) { animation-delay: 1.6s; }

.title-effects {
    position: relative;
    margin-top: 1rem;
}

.title-glow {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    filter: blur(10px);
    opacity: 0.5;
    animation: glowPulse 3s ease-in-out infinite;
}

.rotating-text-container {
    position: relative;
    height: 2rem;
    overflow: hidden;
    margin-left: 0.5rem;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease 1.2s both;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.highlight-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 12px;
    flex-shrink: 0;
}

.highlight-text {
    display: flex;
    flex-direction: column;
}

.highlight-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.highlight-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.counter {
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-glow:hover .btn-shine {
    left: 100%;
}

.btn-magnetic {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn-magnetic:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-hover-fill {
    position: relative;
    overflow: hidden;
}

.btn-hover-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-hover-fill:hover::before {
    width: 100%;
}

.btn-hover-fill:hover {
    color: white;
}

.social-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link.github:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
    border-color: #0077b5;
}

.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
    border-color: #1da1f2;
}

/* Enhanced Visual Section */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-container {
    position: relative;
    z-index: 2;
}

.profile-ring {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 220px;
    height: 220px;
    position: relative;
    z-index: 3;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: profilePulse 4s ease-in-out infinite;
}

.placeholder-avatar {
    color: white;
    opacity: 0.8;
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    animation: glowRotate 8s linear infinite;
}

.ring-animation {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-primary);
    border-right: 2px solid var(--accent-secondary);
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
}

.status-card {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.tech-orbit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 350px;
    height: 350px;
    animation: orbitRotate 20s linear infinite;
}

.orbit-2 {
    width: 400px;
    height: 400px;
    animation: orbitRotate 25s linear infinite reverse;
}

.orbit-3 {
    width: 450px;
    height: 450px;
    animation: orbitRotate 30s linear infinite;
}

.orbit-4 {
    width: 500px;
    height: 500px;
    animation: orbitRotate 35s linear infinite reverse;
}

.tech-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.tech-badge:hover {
    transform: translateX(-50%) scale(1.2);
    box-shadow: var(--shadow);
}

.tech-badge.html { color: #e34c26; }
.tech-badge.css { color: #1572b6; }
.tech-badge.js { color: #f7df1e; }
.tech-badge.react { color: #61dafb; }

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    position: relative;
    margin-bottom: 0.5rem;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

/* Enhanced Animations */
@keyframes letterDrop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes profilePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes gridMove {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0.5; }
    100% { top: 6px; opacity: 1; }
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Simple WhatsApp Button */
.whatsapp-section {
    margin-top: 2rem;
    text-align: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.whatsapp-icon {
    font-size: 1.2rem;
}
/* About Section Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card,
    .skill-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-text h3,
    .about-skills h3 {
        font-size: 1.5rem;
    }
}
/* Enhanced About Section Elements */
.about-experience {
    margin-top: 2rem;
}

.about-experience h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #7c7fc6, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.experience-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(124, 127, 198, 0.3);
}

.exp-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.exp-content strong {
    color: #ffffff;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.exp-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.specializations {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.specializations h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #7c7fc6, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.spec-tag {
    padding: 0.5rem 1rem;
    background: rgba(124, 127, 198, 0.2);
    border: 1px solid rgba(124, 127, 198, 0.3);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.spec-tag:hover {
    background: rgba(124, 127, 198, 0.3);
    border-color: rgba(124, 127, 198, 0.5);
    transform: translateY(-2px);
}

/* Responsive for new elements */
@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .exp-icon {
        align-self: flex-start;
    }
    
    .spec-tags {
        gap: 0.5rem;
    }
    
    .spec-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
/* Enhanced Dark Mode Animations */
@keyframes darkGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    }
}

@keyframes darkPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes darkFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Dark Mode Particle Effects */
.dark-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

.particle:nth-child(2n) {
    background: rgba(255, 107, 107, 0.3);
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: rgba(124, 58, 237, 0.3);
    animation-duration: 10s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Glass Morphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Dark Mode Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-quaternary);
}

/* Dark Mode Selection */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

/* Enhanced Dark Mode Utilities */
.dark-shadow {
    box-shadow: var(--shadow-dark);
}

.dark-glow {
    box-shadow: var(--glow);
}

.dark-border {
    border: 1px solid var(--border-dark);
}

.dark-glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
}

/* Dark Mode Focus States */
.btn:focus,
.filter-btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid rgba(0, 212, 255, 0.5);
    outline-offset: 2px;
}

/* Enhanced Dark Mode Hover Effects */
.hover-glow:hover {
    animation: darkGlow 2s ease-in-out infinite;
}

.hover-float:hover {
    animation: darkFloat 2s ease-in-out infinite;
}

/* Dark Mode Loading States */
.loading-shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Dark Mode Text Glow */
.text-glow {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Enhanced Dark Mode Responsive */
@media (max-width: 768px) {
    .glass-effect {
        backdrop-filter: blur(15px);
    }
    
    .dark-particles {
        display: none; /* Hide particles on mobile for performance */
    }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.theme-toggle:focus,
.theme-toggle:focus-visible,
.theme-toggle:active,
.theme-toggle:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.15);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-label {
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .theme-label {
        display: none;
    }
    .theme-toggle {
        padding: 0.5rem 0.75rem;
    }
}

/* ============================================
   LIGHT / SLATE MODE
   ============================================ */
body.light-mode {
    --bg-primary: #f1f5f9;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #cbd5e1;
    --bg-quaternary: #94a3b8;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #f43f5e;
    --accent-tertiary: #7c3aed;
    --gradient: linear-gradient(135deg, #6366f1, #f43f5e);
    --gradient-dark: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #cbd5e1 100%);
    --shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.12);
    --glow: 0 0 20px rgba(99, 102, 241, 0.25);
    --border-dark: rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.7);
}

/* Body background */
body.light-mode {
    background: #f1f5f9;
    color: #0f172a;
}

body.light-mode::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
}

/* Navbar */
body.light-mode .navbar {
    background: rgba(241, 245, 249, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .nav-link {
    color: #475569;
}

body.light-mode .nav-link:hover {
    color: #6366f1;
}

body.light-mode .logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Theme toggle in light mode */
body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
    outline: none !important;
}

body.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle:focus,
body.light-mode .theme-toggle:focus-visible,
body.light-mode .theme-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.12);
}

/* Hero Section */
body.light-mode .hero {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 40%, #cbd5e1 100%);
}

body.light-mode .hero::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
}

body.light-mode .greeting {
    color: #0f172a;
}

body.light-mode .name-highlight {
    background: linear-gradient(135deg, #6366f1, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .role-primary {
    color: #0f172a;
}

body.light-mode .role-highlight {
    background: linear-gradient(135deg, #6366f1, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .hero-description {
    color: #334155;
}

body.light-mode .social-icon {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: #475569;
}

body.light-mode .social-icon:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

body.light-mode .social-icon[title="WhatsApp"]:hover {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border-color: #25d366;
}

body.light-mode .profile-image {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

body.light-mode .profile-badge {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

body.light-mode .scroll-indicator {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .scroll-line {
    background: rgba(0, 0, 0, 0.2);
}

/* About Section */
body.light-mode .about {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #cbd5e1 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .section-subtitle {
    color: #475569;
}

body.light-mode .about-text h3,
body.light-mode .about-skills h3 {
    background: linear-gradient(135deg, #6366f1, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .about-text p {
    color: #334155;
}

body.light-mode .stat-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .stat-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

body.light-mode .stat-number {
    background: linear-gradient(135deg, #6366f1, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .stat-label {
    color: #475569;
}

body.light-mode .skill-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .skill-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

body.light-mode .skill-content h4 {
    color: #0f172a;
}

body.light-mode .skill-content p {
    color: #475569;
}

/* Projects Section */
body.light-mode .projects {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .filter-btn {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

body.light-mode .filter-btn:hover,
body.light-mode .filter-btn.active {
    color: white;
    border-color: transparent;
}

body.light-mode .project-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .project-card:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2), 0 20px 60px rgba(0, 0, 0, 0.1);
}

body.light-mode .browser-mockup {
    background: #e2e8f0;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .browser-header {
    background: #cbd5e1;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .project-info h3 {
    color: #0f172a;
}

body.light-mode .project-info p {
    color: #475569;
}

body.light-mode .projects-cta {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .projects-cta p {
    color: #0f172a;
}

/* Contact Section */
body.light-mode .contact {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #cbd5e1 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .contact-intro h3 {
    color: #0f172a;
}

body.light-mode .contact-intro p {
    color: #475569;
}

body.light-mode .contact-method {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

body.light-mode .contact-method:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

body.light-mode .method-icon {
    background: #e2e8f0;
}

body.light-mode .method-label {
    color: #64748b;
}

body.light-mode .method-value {
    color: #0f172a;
}

body.light-mode .contact-form-container {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .form-header h3 {
    color: #0f172a;
}

body.light-mode .form-header p {
    color: #475569;
}

body.light-mode .form-group label {
    color: #0f172a;
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder {
    color: #94a3b8;
}

/* Footer */
body.light-mode .footer {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #cbd5e1 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .footer-tagline {
    color: #64748b;
}

/* Hamburger in light mode */
body.light-mode .hamburger span {
    background: #0f172a;
}

/* Nav menu mobile in light mode */
body.light-mode .nav-menu {
    background: #f1f5f9;
}

/* Scrollbar in light mode */
body.light-mode ::-webkit-scrollbar-track {
    background: #e2e8f0;
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: #94a3b8;
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Section title in light mode */
body.light-mode .section-title {
    background: linear-gradient(135deg, #6366f1, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Btn secondary in light mode */
body.light-mode .btn-secondary {
    background: rgba(244, 63, 94, 0.08);
    color: #f43f5e;
    border-color: #f43f5e;
}

body.light-mode .btn-secondary:hover {
    background: #f43f5e;
    color: white;
}

/* Contact subtitle */
body.light-mode .contact-subtitle {
    color: #475569;
}

/* ============================================
   SOCIAL CONTACT CARDS GRID
   ============================================ */
.social-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.social-card-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.social-card:hover .social-card-icon {
    transform: scale(1.1);
}

.social-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.social-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* WhatsApp Card */
.whatsapp-card {
    border-color: rgba(37, 211, 102, 0.2);
}
.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.15);
}
.whatsapp-card .social-card-icon {
    background: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Email Card */
.email-card {
    border-color: rgba(239, 68, 68, 0.2);
}
.email-card:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.15);
}
.email-card .social-card-icon {
    background: #ef4444;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Facebook Card */
.facebook-card {
    border-color: rgba(24, 119, 242, 0.2);
}
.facebook-card:hover {
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 15px 40px rgba(24, 119, 242, 0.15);
}
.facebook-card .social-card-icon {
    background: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* LinkedIn Card */
.linkedin-card {
    border-color: rgba(0, 119, 181, 0.2);
}
.linkedin-card:hover {
    border-color: rgba(0, 119, 181, 0.5);
    box-shadow: 0 15px 40px rgba(0, 119, 181, 0.15);
}
.linkedin-card .social-card-icon {
    background: #0077b5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

/* Light mode social cards */
body.light-mode .social-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .social-card h4 {
    color: #0f172a;
}
body.light-mode .social-card p {
    color: #64748b;
}
body.light-mode .social-card:hover {
    background: #ffffff;
}

/* Responsive */
@media (max-width: 480px) {
    .social-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .social-card {
        padding: 1.5rem 0.75rem;
    }
    .social-card-icon {
        width: 60px;
        height: 60px;
    }
    .social-card h4 {
        font-size: 1rem;
    }
}
