/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Modern Blue-Gray Color Scheme */
:root {
    /* Primary Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Slate/Gray Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Accent Colors */
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --rose-400: #fb7185;
    --rose-500: #f43f5e;

    /* Theme Variables */
    --bg-primary: var(--slate-50);
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-card: rgba(255, 255, 255, 0.9);
    --text-primary: var(--slate-900);
    --text-secondary: var(--slate-700);
    --text-muted: var(--slate-500);
    --accent-primary: var(--primary-600);
    --accent-secondary: var(--primary-700);
    --accent-hover: var(--primary-800);
    --border-glass: rgba(148, 163, 184, 0.2);
    --shadow-glass: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 60px rgba(15, 23, 42, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    --gradient-background: linear-gradient(135deg, var(--primary-50) 0%, var(--slate-100) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--gradient-background);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced background with subtle patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Enhanced Header Styles */
.header {
    text-align: center;
    padding: 80px 0 60px;
    margin-bottom: 40px;
    position: relative;
}

.profile-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: 
        0 0 0 8px rgba(59, 130, 246, 0.1),
        0 20px 40px rgba(59, 130, 246, 0.2),
        var(--shadow-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
}

.profile-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 0 0 8px rgba(59, 130, 246, 0.2),
        0 30px 60px rgba(59, 130, 246, 0.3),
        var(--shadow-hover);
}

.profile-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: var(--emerald-500);
    border: 4px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.name {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg-glass);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glass);
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.social-link.github:hover {
    background: var(--slate-900);
    color: white;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Enhanced Navigation */
/* Sticky Nav Container */
.navigation {
  position: sticky;
  top: 20px;
  z-index: 1000;
  margin-bottom: 60px;
}

/* Desktop Nav Menu */
.navigation ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  padding: 8px;
  box-shadow: var(--shadow-glass);
  gap: 4px;
}

.navigation ul li a {
  display: block;
  padding: 14px 24px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navigation ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.navigation ul li a:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.navigation ul li a:hover::before {
  left: 0;
}

/* Checkbox Toggle */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 15px;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: var(--text-secondary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    padding: 1.5rem;
    z-index: 1000;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-toggle:checked ~ .hamburger .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .hamburger .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle:checked ~ .nav-menu {
    display: block;
  }

  .nav-backdrop {
    display: none;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .hamburger,
  .nav-backdrop {
    display: none;
  }
}


/* Enhanced Section Styles */
.section {
    margin-bottom: 80px;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.section:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    position: relative;
    padding-left: 30px;
    line-height: 1.2;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

/* Enhanced About Section */
.about-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Education Timeline */
.education-timeline {
    position: relative;
    padding-left: 40px;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-accent);
}

.education-item {
    position: relative;
    margin-bottom: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-primary);
}

.education-item.current::before {
    background: var(--emerald-500);
    box-shadow: 0 0 0 4px var(--emerald-500);
    animation: pulse 2s infinite;
}

.education-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.education-date {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.education-item h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.coursework {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.course-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Enhanced Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.interest-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.interest-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.interest-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.interest-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.interest-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
}

.skill-category:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.skill-category h3 svg {
    color: var(--accent-primary);
}

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

.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.skill-level {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-level.advanced {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-500);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.skill-level.intermediate {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber-500);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.skill-level.beginner {
    background: rgba(244, 63, 94, 0.1);
    color: var(--rose-500);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.skill-bar {
    height: 8px;
    background: var(--slate-200);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 4px;
    position: relative;
    transform-origin: left;
    animation: fillSkill 1.5s ease-out forwards;
    transform: scaleX(0);
}

@keyframes fillSkill {
    to {
        transform: scaleX(1);
    }
}

.skill-progress[data-level="85"] { width: 85%; }
.skill-progress[data-level="75"] { width: 75%; }
.skill-progress[data-level="70"] { width: 70%; }
.skill-progress[data-level="60"] { width: 60%; }
.skill-progress[data-level="55"] { width: 55%; }
.skill-progress[data-level="50"] { width: 50%; }
.skill-progress[data-level="45"] { width: 45%; }
.skill-progress[data-level="90"] { width: 90%; }
.skill-progress[data-level="80"] { width: 80%; }

/* Enhanced Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 0;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid var(--border-glass);
}

.project-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.project-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--emerald-500);
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-tag.react {
    background: rgba(97, 218, 251, 0.1);
    color: #61dafb;
    border: 1px solid rgba(97, 218, 251, 0.2);
}

.tech-tag.django {
    background: rgba(9, 46, 32, 0.1);
    color: #092e20;
    border: 1px solid rgba(9, 46, 32, 0.2);
}

.tech-tag.python {
    background: rgba(55, 118, 171, 0.1);
    color: #3776ab;
    border: 1px solid rgba(55, 118, 171, 0.2);
}

.tech-tag.js {
    background: rgba(240, 219, 79, 0.1);
    color: #f0db4f;
    border: 1px solid rgba(240, 219, 79, 0.2);
}

.tech-tag.css {
    background: rgba(21, 114, 182, 0.1);
    color: #1572b6;
    border: 1px solid rgba(21, 114, 182, 0.2);
}

.tech-tag.api {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.tech-tag.data {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.tech-tag.responsive {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.tech-tag.mobile {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--accent-primary);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    font-size: 0.9rem;
}

.project-link:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Enhanced Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-glass);
    border-color: var(--accent-primary);
}

.contact-method svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

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

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Enhanced Contact Form */
.contact-form {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-glass);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.required {
    color: var(--rose-500);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 0 20px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

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

.submit-btn {
    background: var(--gradient-accent);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced Footer */
.footer {
    margin-top: 80px;
    padding: 50px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    border-radius: 24px 24px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: var(--text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* CTA Link */
.cta {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.cta:hover {
    color: var(--accent-hover);
}

.cta:hover::after {
    width: 100%;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

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

    .header {
        padding: 60px 0 40px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .navigation {
        top: 10px;
    }

    .navigation ul {
        padding: 6px;
        border-radius: 25px;
    }

    .navigation ul li a {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .section {
        padding: 35px 25px;
        margin-bottom: 50px;
    }

    .section-title {
        padding-left: 25px;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .interests-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .interest-card {
        padding: 30px 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
        margin: 30px 0;
        padding: 25px;
    }

    .contact-form {
        padding: 30px 25px;
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        gap: 20px;
    }
}

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

    .section {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .navigation ul {
        flex-direction: column;
        padding: 10px;
        gap: 5px;
        border-radius: 20px;
    }

    .navigation ul li a {
        text-align: center;
        padding: 14px 20px;
        border-radius: 12px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .project-card,
    .interest-card,
    .skill-category {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .submit-btn {
        padding: 16px 30px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

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

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

/* Smooth animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bg-glass: rgba(255, 255, 255, 0.95);
        --border-glass: rgba(0, 0, 0, 0.3);
        --shadow-glass: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
}

/* Print styles */
@media print {
    .navigation,
    .back-to-top,
    .social-links,
    .contact-form {
        display: none;
    }
    
    .section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        background: white;
        color: black;
    }
}s {
    display: flex;
    gap: 15px;
}

.project-link {
    color: #008080;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 2px solid #008080;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #008080;
    color: white;
}