/* Professional Blue Color Scheme */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-blue: #1e3a8a;
    --accent-blue: #2563eb;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --blue-950: #172554;
    
    /* Light theme colors */
    --bg-primary: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    --bg-secondary: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(30, 58, 138, 0.95);
    --navbar-bg-scrolled: rgba(30, 58, 138, 0.98);
}

/* Dark theme colors */
[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --bg-secondary: rgba(15, 23, 42, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.9);
    --text-muted: rgba(248, 250, 252, 0.6);
    --border-color: rgba(71, 85, 105, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --navbar-bg-scrolled: rgba(15, 23, 42, 0.98);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Enhanced smooth scrolling */
* {
    scroll-behavior: smooth;
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: var(--blue-50);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--blue-600), var(--blue-800));
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Fixed scroll indicators (for scroll to top button) */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(30, 64, 175, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(30, 58, 138, 0.9);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

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

/* Smooth scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--secondary-blue));
    z-index: 1001;
    transition: width 0.1s ease;
}


body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px var(--shadow-color);
}

.navbar.scrolled {
    background: var(--navbar-bg-scrolled);
    box-shadow: 0 4px 30px var(--shadow-color);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.3px;
    display: inline-block;
}

.nav-logo a:hover {
    color: var(--text-secondary);
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    letter-spacing: 0.2px;
    display: inline-block;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    transition: all 0.3s ease;
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    margin-left: 1rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--blue-400);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.theme-toggle:active {
    transform: translateY(0) scale(0.95);
}

.theme-toggle i {
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

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

/* Theme transition animation */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Ultra smooth scrolling enhancement */
body.smooth-scrolling {
    scroll-behavior: auto;
}

body.smooth-scrolling * {
    pointer-events: none;
}

body.smooth-scrolling .navbar {
    pointer-events: auto;
}

/* Enhanced smooth scroll for all elements */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Smooth scroll performance optimization */
* {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.bar {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundShift 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 20%, rgba(96, 165, 250, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
    animation: backgroundShift 25s ease-in-out infinite reverse;
}

/* Floating background elements */
.hero .floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.05));
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero .floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.hero .floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.hero .floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 30%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.hero .floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-greeting {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--blue-300);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    position: relative;
}

.name-gradient {
    background: linear-gradient(135deg, var(--blue-300), var(--secondary-blue), var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: nameReveal 1.2s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.name-gradient::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-300), var(--secondary-blue), var(--blue-400));
    border-radius: 2px;
    animation: underlineReveal 1s ease-out 1.6s forwards;
}

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

@keyframes underlineReveal {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}


.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.hero-social {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.0s forwards;
}

.hero-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.hero-social .social-link:hover::before {
    opacity: 1;
}

.hero-social .social-link svg {
    color: var(--blue-300);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 26px;
    height: 26px;
    display: inline-block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-social .social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 12px 35px rgba(96, 165, 250, 0.25), 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-social .social-link:hover svg {
    color: #ffffff;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-social .social-link:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

/* Staggered animation for social icons */
.hero-social .social-link:nth-child(1) {
    animation-delay: 1.4s;
}

.hero-social .social-link:nth-child(2) {
    animation-delay: 1.5s;
}

.hero-social .social-link:nth-child(3) {
    animation-delay: 1.6s;
}

.hero-social .social-link:nth-child(4) {
    animation-delay: 1.7s;
}

.hero-social .social-link:nth-child(5) {
    animation-delay: 1.8s;
}


.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-300);
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: #cbd5e1;
}

.btn-primary {
    background: #ffffff;
    color: var(--primary-blue);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
    background: var(--blue-50);
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.25);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-resume {
    background: linear-gradient(135deg, var(--blue-400), var(--secondary-blue));
    color: #ffffff;
    border: 2px solid var(--blue-400);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.btn-resume:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
}

/* Staggered animation for buttons */
.hero-buttons .btn:nth-child(1) {
    animation-delay: 1.0s;
}

.hero-buttons .btn:nth-child(2) {
    animation-delay: 1.1s;
}

.hero-buttons .btn:nth-child(3) {
    animation-delay: 1.2s;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
    position: relative;
}

.profile-card {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.6s forwards;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.profile-image {
    font-size: 4rem;
    color: var(--blue-400);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.profile-card:hover .profile-image {
    transform: scale(1.1);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

/* Hero section scroll indicator */
.hero .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hero .scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.hero .scroll-arrow {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero .scroll-indicator:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 1);
    transform: rotate(-45deg) scale(1.1);
}

.hero .scroll-text {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero .scroll-indicator:hover .scroll-text {
    color: rgba(255, 255, 255, 1);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
    opacity: 0.6;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-300), var(--secondary-blue), var(--blue-300));
    border-radius: 2px;
    opacity: 0;
    animation: underlineExpand 1s ease-out 1s forwards;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.about-text {
    text-align: left;
}

.about-intro h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease-out 0.4s forwards;
}

.about-intro h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-300), var(--secondary-blue));
    border-radius: 2px;
}

.intro-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease-out 0.6s forwards;
    position: relative;
}

.intro-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s ease-out 1.2s forwards;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.about-details {
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.detail-item:nth-child(1) {
    animation-delay: 0.8s;
}

.detail-item:nth-child(2) {
    animation-delay: 1.0s;
}

.detail-item:nth-child(3) {
    animation-delay: 1.2s;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--blue-300);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.detail-item:hover .detail-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.detail-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
    position: relative;
    display: inline-block;
}

.detail-content h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-300), var(--secondary-blue));
    animation: underlineExpand 0.8s ease-out forwards;
}

.detail-content h4:nth-child(1)::after {
    animation-delay: 1.1s;
}

.detail-content h4:nth-child(2)::after {
    animation-delay: 1.3s;
}

.detail-content h4:nth-child(3)::after {
    animation-delay: 1.5s;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.detail-content h4:nth-child(1) {
    animation-delay: 0.9s;
}

.detail-content h4:nth-child(2) {
    animation-delay: 1.1s;
}

.detail-content h4:nth-child(3) {
    animation-delay: 1.3s;
}

.detail-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.detail-content p:nth-child(1) {
    animation-delay: 1.0s;
}

.detail-content p:nth-child(2) {
    animation-delay: 1.2s;
}

.detail-content p:nth-child(3) {
    animation-delay: 1.4s;
}

.about-passion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--blue-300);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease-out 1.4s forwards;
}

.about-passion p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    position: relative;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
    transition: text-shadow 0.3s ease;
}

.about-passion:hover p {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}


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

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease-out 0.6s forwards;
}

.profile-showcase {
    position: relative;
    text-align: center;
}

.profile-image-large {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--blue-300);
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease-out 0.8s forwards;
}

.profile-image-large:hover {
    transform: scale(1.05) !important;
    border-color: var(--blue-300);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1.0s forwards;
}

.profile-badge i {
    color: var(--blue-300);
}

.profile-badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1.6s forwards;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat:nth-child(1) {
    animation-delay: 1.8s;
}

.stat:nth-child(2) {
    animation-delay: 2.0s;
}

.stat:nth-child(3) {
    animation-delay: 2.2s;
}

.stat:nth-child(4) {
    animation-delay: 2.4s;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--blue-300);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-300);
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.skill-category:nth-child(1) {
    animation-delay: 0.2s;
}

.skill-category:nth-child(2) {
    animation-delay: 0.4s;
}

.skill-category:nth-child(3) {
    animation-delay: 0.6s;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--blue-300);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-tag i {
    font-size: 1rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.skill-tag:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Consistent blue theme for all skill icons */
.skill-tag i {
    color: var(--blue-300);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--dark-blue);
}

/* Compact Projects Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.project-card:nth-child(1) {
    animation-delay: 0.2s;
}

.project-card:nth-child(2) {
    animation-delay: 0.4s;
}

.project-card:nth-child(3) {
    animation-delay: 0.6s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--blue-300);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.project-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.project-links {
    display: flex;
    gap: 0.8rem;
}

.project-link {
    color: var(--blue-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.projects-footer {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.projects-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.projects-footer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: var(--primary-blue);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

/* Removed conflicting social-link styles */

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

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

/* Enhanced Contact Styles */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.contact-intro p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

.contact-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-header p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--blue-300);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.method-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.method-content h4 i {
    color: var(--blue-300);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-method:hover .method-content h4 i {
    color: #ffffff;
    transform: scale(1.1);
}

.method-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--blue-300);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: #ffffff;
}

.contact-link i {
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.contact-link:hover i {
    transform: scale(1.1);
}

.contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-text i {
    color: var(--blue-300);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-text i {
    color: #ffffff;
    transform: scale(1.1);
}

.social-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.1rem;
    color: var(--blue-300);
    transition: all 0.3s ease;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.social-link:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.social-link span {
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-form-section {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease-out 0.4s forwards;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-300);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--blue-300), var(--secondary-blue));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
}

.submit-btn i {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

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

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

@keyframes typeWriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes nameGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(251, 191, 36, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.4);
    }
}

@keyframes highlightSlide {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes wordHighlight {
    0% {
        background-size: 0% 100%;
    }
    100% {
        background-size: 100% 100%;
    }
}

@keyframes underlineSlide {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes professionalGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
    }
    25% {
        transform: translateX(-10px) translateY(-5px) scale(1.02);
    }
    50% {
        transform: translateX(5px) translateY(-10px) scale(0.98);
    }
    75% {
        transform: translateX(-5px) translateY(5px) scale(1.01);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--navbar-bg-scrolled);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 40px var(--shadow-color);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 12px 0;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        transform: translateY(-2px);
        color: var(--text-secondary);
    }
    
    .theme-toggle {
        margin-left: 0;
        margin-top: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .theme-toggle i {
        font-size: 1.1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-greeting {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
        gap: 1rem;
        margin: 2rem 0;
    }

    .hero-social .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        border-radius: 14px;
    }

    .hero-social .social-link svg {
        width: 22px;
        height: 22px;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 80px;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-intro h3 {
        font-size: 1.8rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .detail-icon {
        align-self: center;
    }

    .profile-image-large {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .skill-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .skill-tags {
        gap: 0.6rem;
    }

    .skill-tag {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .skill-tag i {
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .project-card {
        padding: 1.2rem;
    }

    .project-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
    }

    .project-content p {
        font-size: 0.85rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .project-links {
        gap: 0.6rem;
    }

    .project-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .projects-footer {
        margin-top: 2rem;
    }

    .projects-footer .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-method {
        padding: 1.2rem;
    }

    .method-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .method-content h4 {
        font-size: 1rem;
    }

    .method-content p {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.8rem;
        justify-content: center;
    }

    .social-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }

    .social-link i {
        font-size: 1rem;
        width: 18px;
    }

    .social-link span {
        font-size: 0.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

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

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .profile-card {
        width: 250px;
        height: 250px;
    }

    .profile-image {
        font-size: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .profile-card {
        width: 250px;
        height: 250px;
    }

    .project-card {
        margin: 0 10px;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.project-link:focus,
.social-link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .btn-secondary {
        border-color: #fff;
        color: #fff;
    }
}
