/* ===================================
   Modern Portfolio CSS
   =================================== */

/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Colors */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    
    /* Light Theme Colors - High Contrast */
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f5f5;
    
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
}

/* Dark Theme - Comfortable for eyes */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-tertiary: #2e2e2e;
    
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    
    --border-color: #3a3a3a;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

ul {
    list-style: none;
}

/* ===================================
   Particle Background
   =================================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--bg-secondary);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--bg-primary);
    box-shadow: 0 2px 8px var(--shadow-color);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

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

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

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

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

.nav-link:hover {
    color: var(--text-primary);
}

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

.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: var(--transition-base);
    margin-right: 1rem;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    animation: fadeIn 1s ease 0.2s both;
}

.name {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
    animation: fadeIn 1s ease 0.6s both;
}

.typing-text {
    color: var(--primary-light);
}

.cursor {
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeIn 1s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 1s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.about-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    animation: fadeIn 1s ease 1.2s both;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hero-image {
    position: relative;
    animation: fadeIn 1s ease 0.5s both;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.tech-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    border-color: var(--primary-color);
}

.tech-icon-1 {
    top: 10%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.tech-icon-1 i {
    color: #68a063;
}

.tech-icon-2 {
    top: 30%;
    right: 5%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.tech-icon-2 i {
    color: #00add8;
}

.tech-icon-3 {
    top: 55%;
    right: 20%;
    animation: float 8s ease-in-out infinite 1s;
}

.tech-icon-3 i {
    color: #f89820;
}

.tech-icon-4 {
    bottom: 25%;
    right: 8%;
    animation: float 6.5s ease-in-out infinite 1.5s;
}

.tech-icon-4 i {
    color: #2496ed;
}

.tech-icon-5 {
    top: 20%;
    left: 10%;
    animation: float 7.5s ease-in-out infinite 2s;
}

.tech-icon-5 i {
    color: var(--primary-color);
}

.tech-icon-6 {
    bottom: 15%;
    left: 15%;
    animation: float 8.5s ease-in-out infinite 2.5s;
}

.tech-icon-6 i {
    color: #ff9900;
}

/* Developer Animation */
.developer-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.laptop {
    position: relative;
    width: 280px;
    height: 180px;
}

.laptop-screen {
    width: 280px;
    height: 160px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px 12px 0 0;
    border: 3px solid var(--border-color);
    padding: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-color);
    font-family: 'Courier New', monospace;
    font-size: 9px;
    line-height: 1.4;
}

[data-theme="dark"] .laptop-screen {
    background: linear-gradient(135deg, #0f172a 0%, #000000 100%);
}

.code-line {
    color: #e8e8e8;
    margin-bottom: 4px;
    white-space: nowrap;
    position: absolute;
    left: 12px;
    width: calc(100% - 24px);
}

.code-line.line-1 {
    color: #10b981;
    top: 12px;
}

.code-line.line-1::after {
    content: '$ whoami';
    animation: typing 0.5s steps(8) 0s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-2 {
    color: #60a5fa;
    padding-left: 10px;
    top: 26px;
}

.code-line.line-2::after {
    content: '> Govind M J';
    animation: typing 0.6s steps(12) 0.3s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-3 {
    color: #10b981;
    top: 40px;
}

.code-line.line-3::after {
    content: '$ cat role.txt';
    animation: typing 0.7s steps(14) 0.6s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-4 {
    color: #f59e0b;
    padding-left: 10px;
    top: 54px;
}

.code-line.line-4::after {
    content: '> Software Developer';
    animation: typing 1s steps(20) 0.9s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-5 {
    color: #10b981;
    top: 68px;
}

.code-line.line-5::after {
    content: '$ echo $COMPANY';
    animation: typing 0.8s steps(15) 1.2s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-6 {
    color: #ec4899;
    padding-left: 10px;
    top: 82px;
}

.code-line.line-6::after {
    content: '> SAP Labs India';
    animation: typing 0.8s steps(16) 1.5s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-7 {
    color: #10b981;
    top: 96px;
}

.code-line.line-7::after {
    content: '$ ls skills/';
    animation: typing 0.6s steps(12) 1.8s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-8 {
    color: #8b5cf6;
    padding-left: 10px;
    top: 110px;
}

.code-line.line-8::after {
    content: '> Go | Java | Node.js';
    animation: typing 1s steps(21) 2.1s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-9 {
    color: #10b981;
    top: 124px;
}

.code-line.line-9::after {
    content: '$ cat experience.txt';
    animation: typing 1s steps(20) 2.4s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-10 {
    color: #f59e0b;
    padding-left: 10px;
    top: 138px;
}

.code-line.line-10::after {
    content: '> 1.5+ yrs @ SAP Labs';
    animation: typing 1s steps(21) 2.7s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-11 {
    color: #10b981;
    top: 152px;
}

.code-line.line-11::after {
    content: '$ echo $EDUCATION';
    animation: typing 0.9s steps(17) 3s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-12 {
    color: #60a5fa;
    padding-left: 10px;
    top: 166px;
}

.code-line.line-12::after {
    content: '> B.Tech CSE | CUSAT';
    animation: typing 1s steps(20) 3.3s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-13 {
    color: #10b981;
    top: 180px;
}

.code-line.line-13::after {
    content: '$ pwd';
    animation: typing 0.3s steps(5) 3.6s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.code-line.line-14 {
    color: #ec4899;
    padding-left: 10px;
    top: 194px;
}

.code-line.line-14::after {
    content: '> Bangalore, India';
    animation: typing 0.9s steps(18) 3.9s forwards;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 0;
}

.cursor-blink {
    position: absolute;
    width: 8px;
    height: 12px;
    background: var(--primary-light);
    bottom: 12px;
    left: 12px;
    animation: blink 1s infinite;
}

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

.laptop-base {
    width: 320px;
    height: 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    position: absolute;
    bottom: 0;
    left: -20px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.coffee-cup {
    position: absolute;
    width: 50px;
    height: 60px;
    background: var(--bg-tertiary);
    border: 3px solid var(--border-color);
    border-radius: 0 0 20px 20px;
    bottom: -80px;
    right: -60px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.coffee-cup::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 25px;
    border: 3px solid var(--border-color);
    border-left: none;
    border-radius: 0 15px 15px 0;
    right: -20px;
    top: 15px;
}

.steam {
    position: absolute;
    width: 3px;
    height: 20px;
    background: var(--text-muted);
    opacity: 0.6;
    border-radius: 50%;
    animation: steam 2s ease-in-out infinite;
}

.steam-1 {
    left: 15px;
    top: -25px;
    animation-delay: 0s;
}

.steam-2 {
    left: 23px;
    top: -25px;
    animation-delay: 0.5s;
}

.steam-3 {
    left: 31px;
    top: -25px;
    animation-delay: 1s;
}

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

@keyframes steam {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-30px) scale(0.5);
        opacity: 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    animation: fadeIn 1s ease 1.5s both;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

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

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.1;
    transition: var(--transition-base);
}

.image-container:hover .about-img {
    transform: scale(1.05);
}

.image-container:hover .image-overlay {
    opacity: 0.1;
}

.about-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===================================
   Skills Section
   =================================== */
.skills-content {
    display: grid;
    gap: 3rem;
}

.skill-category {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-base);
}

.skill-category:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition-base);
    cursor: pointer;
}

.skill-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition-base);
}

.skill-item:hover .skill-icon {
    transform: scale(1.2);
    color: var(--primary-color);
}

.skill-name {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===================================
   Experience Section
   =================================== */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 4px var(--bg-tertiary);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition-base);
}

.timeline-content:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.timeline-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* ===================================
   Education Section
   =================================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.education-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-base);
}

.education-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.education-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 15px;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.education-degree {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.education-field {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-school {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-year {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-muted);
    line-height: 1.8;
}

.certification-list {
    list-style: none;
}

.certification-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.certification-list li:last-child {
    border-bottom: none;
}

.certification-list i {
    color: var(--primary-color);
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 12px;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-text p,
.contact-text a {
    color: var(--text-secondary);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 2px solid var(--primary-color);
    padding: 4rem 0 2rem;
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-logo {
    max-width: 400px;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-logo .footer-tagline {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.footer-links a::before {
    content: '→';
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: translateY(100%);
    transition: var(--transition-base);
    z-index: -1;
}

.footer-social a:hover::before {
    transform: translateY(0);
}

.footer-social a:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-bottom .footer-credit {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-bottom .footer-credit a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-base);
}

.footer-bottom .footer-credit a:hover {
    text-decoration: underline;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.scroll-top:hover {
    transform: translateY(-5px);
}

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

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

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

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

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

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
    100% {
        transform: translate(-50%, 0);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: var(--transition-base);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

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

    .hamburger {
        display: flex;
    }

    .theme-toggle {
        margin-right: 0.5rem;
    }

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

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

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

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

    .hero-image {
        order: -1;
    }

    .image-wrapper {
        height: 400px;
    }

    .name {
        font-size: 2.5rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -2.5rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 2rem;
    }

    .name {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .stat-item {
        padding: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}