/* ===== CSS VARIABLES ===== */
:root {
   --bg-primary: #0a0b1e;
   --bg-secondary: #131430;
   --bg-card: #1a1b3a;
   --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   --bg-gradient-alt: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
   
   --text-primary: #ffffff;
   --text-secondary: #a8b2d1;
   --text-muted: #6b7280;
   --text-accent: #64ffda;
   
   --accent-primary: #64ffda;
   --accent-secondary: #667eea;
   --accent-tertiary: #f093fb;
   
   --border-color: #233554;
   --border-light: #2a3550;
   
   --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
   --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
   --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
   --shadow-glow: 0 0 20px rgba(100, 255, 218, 0.3);
   
   --transition-fast: 0.2s ease;
   --transition-normal: 0.3s ease;
   --transition-slow: 0.5s ease;
   
   --border-radius: 12px;
   --border-radius-sm: 8px;
   --border-radius-lg: 16px;
   
   --container-max-width: 1200px;
   --section-padding: 5rem 0;
}

/* ===== BASE STYLES ===== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

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

body {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
   background: var(--bg-primary);
   color: var(--text-primary);
   line-height: 1.6;
   overflow-x: hidden;
   cursor: none;
}

body.loading {
   overflow: hidden;
}

.container {
   max-width: var(--container-max-width);
   margin: 0 auto;
   padding: 0 2rem;
}

.section {
   padding: var(--section-padding);
   position: relative;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
   position: fixed;
   width: 20px;
   height: 20px;
   background: var(--accent-primary);
   border-radius: 50%;
   pointer-events: none;
   z-index: 9999;
   mix-blend-mode: difference;
   transition: transform 0.1s ease;
}

.cursor-follower {
   position: fixed;
   width: 40px;
   height: 40px;
   border: 2px solid var(--accent-primary);
   border-radius: 50%;
   pointer-events: none;
   z-index: 9998;
   transition: all 0.3s ease;
   opacity: 0.5;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: var(--bg-primary);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 10000;
   transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
   opacity: 0;
   visibility: hidden;
}

.loading-content {
   text-align: center;
}

.loading-logo {
   font-size: 4rem;
   font-weight: 700;
   background: var(--bg-gradient);
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   margin-bottom: 1rem;
   animation: pulse 2s infinite;
}

.loading-text {
   color: var(--text-secondary);
   margin-bottom: 2rem;
   font-size: 1.1rem;
}

.loading-bar {
   width: 200px;
   height: 4px;
   background: var(--bg-card);
   border-radius: 2px;
   overflow: hidden;
   margin: 0 auto;
}

.loading-progress {
   height: 100%;
   background: var(--bg-gradient);
   border-radius: 2px;
   animation: loading 3s ease-in-out;
}

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

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

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
   position: fixed;
   top: 0;
   left: 0;
   width: 0%;
   height: 3px;
   background: var(--bg-gradient);
   z-index: 1001;
   transition: width 0.1s ease;
}

/* ===== NAVIGATION ===== */
/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(10, 11, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #233554;
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.logo:hover {
    color: #64ffda;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #a8b2d1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #64ffda;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #131430;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-link {
    color: #a8b2d1;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid #233554;
}

.mobile-link:hover {
    color: #64ffda;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}


/* ===== HERO SECTION ===== */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   position: relative;
   overflow: hidden;
}

.hero-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: -1;
}

.particle {
   position: absolute;
   width: 4px;
   height: 4px;
   background: var(--accent-primary);
   border-radius: 50%;
   opacity: 0.6;
   animation: float 6s ease-in-out infinite;
   animation-delay: calc(var(--i) * 0.5s);
}

.particle:nth-child(1) { top: 20%; left: 20%; }
.particle:nth-child(2) { top: 60%; left: 80%; }
.particle:nth-child(3) { top: 80%; left: 30%; }
.particle:nth-child(4) { top: 40%; left: 70%; }
.particle:nth-child(5) { top: 10%; left: 90%; }

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

.hero-content {
   max-width: 800px;
   padding: 0 2rem;
   z-index: 2;
}

.hero-greeting {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
   margin-bottom: 1rem;
   font-size: 1.1rem;
   color: var(--text-secondary);
}

.wave {
   animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
   0%, 50%, 100% { transform: rotate(0deg); }
   10%, 30% { transform: rotate(14deg); }
   20% { transform: rotate(-8deg); }
   40% { transform: rotate(-4deg); }
}

.hero-title {
   font-family: 'Space Grotesk', sans-serif;
   font-size: clamp(2.5rem, 8vw, 5rem);
   font-weight: 700;
   margin-bottom: 1.5rem;
   line-height: 1.1;
}

.title-line {
   display: block;
   opacity: 0;
   animation: slideUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
   animation-delay: 0.2s;
}

.gradient-text {
   background: var(--bg-gradient);
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

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

.hero-subtitle {
   font-size: 1.5rem;
   color: var(--accent-primary);
   margin-bottom: 2rem;
   font-weight: 500;
   min-height: 2rem;
}

.typing-text {
   border-right: 2px solid var(--accent-primary);
}

.cursor-blink {
   animation: blink 1s infinite;
}

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

.hero-description {
   font-size: 1.1rem;
   color: var(--text-secondary);
   margin-bottom: 3rem;
   line-height: 1.7;
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
   opacity: 0;
   animation: fadeInUp 0.8s ease 0.6s forwards;
}

.cta-buttons {
   display: flex;
   gap: 1rem;
   justify-content: center;
   flex-wrap: wrap;
   margin-bottom: 4rem;
   opacity: 0;
   animation: fadeInUp 0.8s ease 0.8s forwards;
}

.btn {
   position: relative;
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.875rem 2rem;
   border-radius: var(--border-radius-sm);
   font-size: 1rem;
   font-weight: 600;
   text-decoration: none;
   border: none;
   cursor: none;
   overflow: hidden;
   transition: all var(--transition-normal);
   z-index: 1;
}

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

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

.btn-primary {
   background: var(--bg-gradient);
   color: white;
   box-shadow: var(--shadow-md);
}

.btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
   background: var(--accent-primary);
   color: var(--bg-primary);
   transform: translateY(-2px);
   box-shadow: var(--shadow-glow);
}

.ripple-effect {
   position: relative;
   overflow: hidden;
}

.ripple-effect::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 0;
   height: 0;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.3);
   transform: translate(-50%, -50%);
   transition: width 0.6s ease, height 0.6s ease;
}

.ripple-effect:active::after {
   width: 300px;
   height: 300px;
}

.scroll-indicator {
   position: absolute;
   bottom: 2rem;
   left: 50%;
   transform: translateX(-50%);
   text-align: center;
   color: var(--text-secondary);
   opacity: 0;
   animation: fadeInUp 0.8s ease 1s forwards;
}

.scroll-text {
   font-size: 0.9rem;
   margin-bottom: 0.5rem;
}

.scroll-arrow {
   animation: bounce 2s infinite;
}

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

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

/* ===== SECTION TITLES ===== */
.section-title {
   font-family: 'Space Grotesk', sans-serif;
   font-size: clamp(2rem, 5vw, 3rem);
   font-weight: 700;
   margin-bottom: 4rem;
   color: var(--text-primary);
   display: flex;
   align-items: center;
   gap: 1rem;
}

.title-number {
   font-family: 'JetBrains Mono', monospace;
   font-size: 1.5rem;
   color: var(--accent-primary);
   font-weight: 400;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
   opacity: 0;
   transform: translateY(50px);
   transition: all 0.8s ease;
}

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

/* ===== ABOUT SECTION ===== */
.about-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: start;
}

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

.about-text .fade-in {
   opacity: 0;
   transform: translateY(20px);
   transition: all 0.6s ease;
}

.about-text .fade-in.visible {
   opacity: 1;
   transform: translateY(0);
}

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

.stat-card {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   padding: 2rem 1.5rem;
   text-align: center;
   transition: all var(--transition-normal);
   position: relative;
   overflow: hidden;
}

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

.stat-card:hover::before {
   left: 100%;
}

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

.stat-number {
   font-size: 2.5rem;
   font-weight: 700;
   color: var(--accent-primary);
   margin-bottom: 0.5rem;
   font-family: 'JetBrains Mono', monospace;
}

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

/* ===== EXPERIENCE SECTION ===== */
.experience-timeline {
   position: relative;
   padding-left: 2rem;
}

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

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

.timeline-marker {
   position: absolute;
   left: -2rem;
   top: 1rem;
   width: 12px;
   height: 12px;
   background: var(--accent-primary);
   border-radius: 50%;
   border: 3px solid var(--bg-primary);
   z-index: 2;
}

.timeline-content {
   margin-left: 2rem;
}

.experience-card {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   padding: 2rem;
   transition: all var(--transition-normal);
   position: relative;
   overflow: hidden;
}

.experience-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 4px;
   height: 100%;
   background: var(--bg-gradient);
   transform: scaleY(0);
   transform-origin: bottom;
   transition: transform var(--transition-normal);
}

.experience-card:hover::before {
   transform: scaleY(1);
}

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

.experience-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   margin-bottom: 1rem;
}

.experience-title {
   font-size: 1.3rem;
   font-weight: 600;
   color: var(--text-primary);
   margin-bottom: 0.25rem;
}

.experience-company {
   color: var(--accent-primary);
   font-weight: 500;
   font-size: 1rem;
}

.experience-period {
   color: var(--text-muted);
   font-size: 0.9rem;
   font-family: 'JetBrains Mono', monospace;
}

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

.experience-skills {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
}

.skill-pill {
   background: rgba(100, 255, 218, 0.1);
   color: var(--accent-primary);
   padding: 0.25rem 0.75rem;
   border-radius: 15px;
   font-size: 0.8rem;
   border: 1px solid rgba(100, 255, 218, 0.3);
}

/* ===== PROJECTS SECTION ===== */
.projects-filter {
   display: flex;
   justify-content: center;
   gap: 1rem;
   margin-bottom: 3rem;
   flex-wrap: wrap;
}

.filter-btn {
   background: transparent;
   color: var(--text-secondary);
   border: 1px solid var(--border-color);
   padding: 0.5rem 1rem;
   border-radius: 25px;
   font-size: 0.9rem;
   cursor: pointer;
   transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
   background: var(--accent-primary);
   color: var(--bg-primary);
   border-color: var(--accent-primary);
}

.projects-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 2rem;
}

.project-card {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   overflow: hidden;
   transition: all var(--transition-normal);
   position: relative;
}

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

.tilt-card {
   transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.project-image {
   position: relative;
   height: 200px;
   background: var(--bg-gradient);
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 3rem;
   overflow: hidden;
}

.project-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.8);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: opacity var(--transition-normal);
}

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

.project-link {
   color: white;
   font-size: 1.5rem;
   text-decoration: none;
   padding: 1rem;
   border: 2px solid white;
   border-radius: 50%;
   transition: all var(--transition-normal);
}

.project-link:hover {
   background: white;
   color: var(--bg-primary);
   transform: scale(1.1);
}

.project-content {
   padding: 2rem;
}

.project-title {
   font-size: 1.25rem;
   font-weight: 600;
   color: var(--text-primary);
   margin-bottom: 1rem;
}

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

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

.tech-tag {
   background: rgba(100, 255, 218, 0.1);
   color: var(--accent-primary);
   padding: 0.25rem 0.75rem;
   border-radius: 15px;
   font-size: 0.8rem;
   border: 1px solid rgba(100, 255, 218, 0.3);
}

/* ===== MEDIA SECTION ===== */
.media-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 2rem;
}

.media-card {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   overflow: hidden;
   transition: all var(--transition-normal);
}

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

.media-image {
   height: 150px;
   background: var(--bg-gradient-alt);
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 2.5rem;
}

.media-content {
   padding: 2rem;
}

.media-title {
   font-size: 1.1rem;
   font-weight: 600;
   color: var(--text-primary);
   margin-bottom: 0.5rem;
   line-height: 1.4;
}

.media-source {
   color: var(--accent-primary);
   font-size: 0.9rem;
   margin-bottom: 1rem;
   font-weight: 500;
}

.media-description {
   color: var(--text-secondary);
   line-height: 1.6;
   margin-bottom: 1.5rem;
   font-size: 0.95rem;
}

.media-link {
   color: var(--accent-primary);
   text-decoration: none;
   font-weight: 500;
   font-size: 0.9rem;
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   transition: all var(--transition-normal);
}

.media-link:hover {
   color: var(--text-primary);
   transform: translateX(5px);
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 2rem;
}

.skill-category {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   padding: 2rem;
   transition: all var(--transition-normal);
   position: relative;
   overflow: hidden;
}

.skill-category::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: conic-gradient(from 0deg, transparent, rgba(100, 255, 218, 0.1), transparent);
   opacity: 0;
   transition: opacity var(--transition-normal);
   animation: rotate 4s linear infinite;
}

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

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

.skill-category:hover {
   transform: translateY(-5px);
   box-shadow: var(--shadow-lg);
   border-color: var(--accent-primary);
}

.skill-icon {
   font-size: 2.5rem;
   color: var(--accent-primary);
   margin-bottom: 1.5rem;
   position: relative;
   z-index: 2;
}

.skill-title {
   font-size: 1.2rem;
   font-weight: 600;
   color: var(--text-primary);
   margin-bottom: 1.5rem;
   position: relative;
   z-index: 2;
}

.skill-items {
   position: relative;
   z-index: 2;
}

.skill-item {
   margin-bottom: 1rem;
}

.skill-name {
   display: block;
   color: var(--text-secondary);
margin-bottom: 0.5rem;
   font-size: 0.9rem;
}

.skill-bar {
   height: 6px;
   background: var(--border-color);
   border-radius: 3px;
   overflow: hidden;
}

.skill-progress {
   height: 100%;
   background: var(--bg-gradient);
   border-radius: 3px;
   width: 0%;
   transition: width 1s ease;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
   max-width: 800px;
   margin: 0 auto;
}

.contact-text {
   text-align: center;
   margin-bottom: 3rem;
}

.contact-text p {
   color: var(--text-secondary);
   line-height: 1.7;
   font-size: 1.1rem;
}

.contact-form-container {
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   padding: 2rem;
   margin-bottom: 3rem;
}

.contact-form {
   display: grid;
   gap: 1.5rem;
}

.form-group {
   position: relative;
}

.form-group input,
.form-group textarea {
   width: 100%;
   background: transparent;
   border: 2px solid var(--border-color);
   border-radius: var(--border-radius-sm);
   padding: 1rem;
   color: var(--text-primary);
   font-size: 1rem;
   transition: all var(--transition-normal);
   resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--accent-primary);
   box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.form-group label {
   position: absolute;
   top: 1rem;
   left: 1rem;
   color: var(--text-muted);
   pointer-events: none;
   transition: all var(--transition-normal);
   background: var(--bg-card);
   padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
   top: -0.5rem;
   left: 0.75rem;
   font-size: 0.8rem;
   color: var(--accent-primary);
}

.contact-links {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 1rem;
}

.contact-link {
   display: flex;
   align-items: center;
   gap: 1rem;
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   padding: 1.5rem;
   text-decoration: none;
   color: var(--text-primary);
   transition: all var(--transition-normal);
}

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

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

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

.contact-label {
   font-size: 0.9rem;
   color: var(--text-muted);
   margin-bottom: 0.25rem;
}

.contact-value {
   font-weight: 500;
   color: var(--text-primary);
}

/* ===== FOOTER ===== */
.footer {
   background: var(--bg-secondary);
   border-top: 1px solid var(--border-color);
   padding: 3rem 0 2rem;
   margin-top: 4rem;
}

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

.footer-text p {
   color: var(--text-secondary);
   margin-bottom: 0.5rem;
}

.footer-quote {
   font-style: italic;
   color: var(--text-muted);
   font-size: 0.9rem;
}

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

.social-link {
   width: 40px;
   height: 40px;
   background: var(--bg-card);
   border: 1px solid var(--border-color);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-secondary);
   text-decoration: none;
   transition: all var(--transition-normal);
}

.social-link:hover {
   background: var(--accent-primary);
   color: var(--bg-primary);
   transform: translateY(-3px);
   box-shadow: var(--shadow-glow);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
   position: fixed;
   bottom: 2rem;
   right: 2rem;
   width: 50px;
   height: 50px;
   background: var(--bg-gradient);
   border: none;
   border-radius: 50%;
   color: white;
   font-size: 1.2rem;
   cursor: pointer;
   opacity: 0;
   visibility: hidden;
   transition: all var(--transition-normal);
   z-index: 1000;
}

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

.back-to-top:hover {
   transform: translateY(-3px);
   box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
   :root {
       --section-padding: 3rem 0;
   }
   
   .nav-toggle {
       display: flex;
   }
   
   .nav-links {
       display: none;
   }
   
   .hero-title {
       font-size: 2.5rem;
   }
   
   .hero-subtitle {
       font-size: 1.2rem;
   }
   
   .cta-buttons {
       flex-direction: column;
       align-items: center;
   }
   
   .about-content {
       grid-template-columns: 1fr;
       gap: 2rem;
   }
   
   .about-stats {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .section-title {
       font-size: 2rem;
       flex-direction: column;
       align-items: flex-start;
       gap: 0.5rem;
   }
   
   .experience-timeline {
       padding-left: 1rem;
   }
   
   .timeline-marker {
       left: -1.5rem;
   }
   
   .timeline-content {
       margin-left: 1rem;
   }
   
   .experience-header {
       flex-direction: column;
       align-items: flex-start;
       gap: 0.5rem;
   }
   
   .projects-grid {
       grid-template-columns: 1fr;
   }
   
   .media-grid {
       grid-template-columns: 1fr;
   }
   
   .skills-grid {
       grid-template-columns: 1fr;
   }
   
   .contact-links {
       grid-template-columns: 1fr;
   }
   
   .footer-content {
       flex-direction: column;
       text-align: center;
   }
   
   .container {
       padding: 0 1rem;
   }
}

@media (max-width: 480px) {
   .about-stats {
       grid-template-columns: 1fr;
   }
   
   .hero-content {
       padding: 0 1rem;
   }
   
   .projects-filter {
       flex-direction: column;
       align-items: center;
   }
   
   .skill-category {
       padding: 1.5rem;
   }
   
   .contact-form-container {
       padding: 1.5rem;
   }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
   * {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
       scroll-behavior: auto !important;
   }
}

/* ===== PRINT STYLES ===== */
@media print {
   .navbar,
   .scroll-progress,
   .back-to-top,
   .loading-screen {
       display: none !important;
   }
   
   body {
       background: white !important;
       color: black !important;
   }
   
   .section {
       break-inside: avoid;
   }
}