:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #7c3aed;
  --accent-color: #06b6d4;
  --dark-color: #0f172a;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --gray-light: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;

  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);

  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --dark-color: #f8fafc;
  --light-color: #0f172a;
  --gray-color: #cbd5e1;
  --gray-light: #1e293b;
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
}

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

section {
  padding: 100px 0;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

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

.data-spinner {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.data-spinner i {
  font-size: 2.5rem;
  color: var(--accent-color);
  animation: pulse 2s infinite;
}

.data-spinner i:nth-child(2) {
  animation-delay: 0.2s;
}

.data-spinner i:nth-child(3) {
  animation-delay: 0.4s;
}

.loading-text {
  color: var(--light-color);
  font-size: 1.2rem;
  font-family: 'Source Code Pro', monospace;
  position: relative;
}

.loading-text::after {
  content: '';
  animation: dots 1.5s infinite;
}

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

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

[data-theme="dark"] header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-highlight {
  color: var(--primary-color);
  font-family: 'Source Code Pro', monospace;
}

.nav_links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav_links .link a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

[data-theme="dark"] .nav_links .link a {
  color: var(--light-color);
}

.nav_links .link a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav_links .link a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--dark-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .theme-toggle {
  color: var(--light-color);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-dark);
  color: white;
  overflow: hidden;
}

.data-visualization {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite linear;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; left: 80%; animation-delay: 5s; }
.floating-element:nth-child(3) { top: 40%; left: 85%; animation-delay: 10s; }
.floating-element:nth-child(4) { top: 80%; left: 15%; animation-delay: 15s; }

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-1000px) rotate(720deg); }
}

.home-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.block h6 {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-family: 'Source Code Pro', monospace;
}

.block h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.role-badge {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.badge {
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 500;
}

.badge-primary {
  background: var(--gradient-primary);
  color: white;
}

.badge-secondary {
  background: var(--gradient-secondary);
  color: white;
}

.badge-accent {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

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

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

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

.profile-image {
  position: relative;
}

.image-container {
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.image-frame {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

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

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.stat {
  text-align: center;
}

.stat h4 {
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator a {
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

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

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.title-line {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.title-line::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  font-weight: 400;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.tech-bubbles {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.bubble {
  padding: 8px 16px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  animation: float-bubble 3s infinite ease-in-out;
}

.bubble:nth-child(2) { animation-delay: 0.2s; }
.bubble:nth-child(3) { animation-delay: 0.4s; }
.bubble:nth-child(4) { animation-delay: 0.6s; }

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

.highlight-box {
  background: var(--gray-light);
  padding: 15px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

[data-theme="dark"] .highlight-box {
  background: rgba(30, 41, 59, 0.5);
}

.highlight-box i {
  color: var(--primary-color);
}

.specializations {
  margin: 30px 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--gray-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

[data-theme="dark"] .spec-item {
  background: rgba(30, 41, 59, 0.5);
}

.spec-item:hover {
  transform: translateX(5px);
  background: var(--primary-color);
  color: white;
}

.spec-item:hover i {
  color: white;
}

.spec-item i {
  color: var(--primary-color);
}

.about-cta {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

/* Skills Section */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.category-card {
  background: var(--light-color);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

[data-theme="dark"] .category-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

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

.category-header h3 {
  font-size: 1.3rem;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.skill-name {
  min-width: 120px;
  font-weight: 500;
}

.skill-bar {
  flex: 1;
  height: 8px;
  background: var(--gray-light);
  border-radius: var(--border-radius-full);
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
  transition: width 1s ease-in-out;
}

.skill-percent {
  min-width: 40px;
  text-align: right;
  font-weight: 600;
  color: var(--primary-color);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background: var(--light-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

[data-theme="dark"] .project-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--gradient-dark);
  color: white;
}

.project-category {
  padding: 5px 15px;
  background: var(--accent-color);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 10px;
}

.project-links a {
  color: white;
  transition: var(--transition);
}

.project-links a:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

[data-theme="dark"] .project-content h3 {
  color: var(--light-color);
}

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

.tech-tag {
  padding: 5px 12px;
  background: var(--gray-light);
  color: var(--dark-color);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  transition: var(--transition);
}

[data-theme="dark"] .tech-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
}

.tech-tag:hover {
  background: var(--primary-color);
  color: white;
}

.view-all {
  text-align: center;
}

/* Experience Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) {
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 4px solid var(--light-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
  left: -50px;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: -50px;
}

.timeline-date {
  position: absolute;
  top: 0;
  padding: 5px 15px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 500;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: calc(100% + 70px);
}

.timeline-item:nth-child(even) .timeline-date {
  left: calc(100% + 70px);
}

.timeline-content {
  background: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

[data-theme="dark"] .timeline-content {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.timeline-content h4 {
  color: var(--gray-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tag {
  padding: 4px 12px;
  background: var(--gray-light);
  color: var(--dark-color);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  transition: var(--transition);
}

[data-theme="dark"] .tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
}

.tag:hover {
  background: var(--primary-color);
  color: white;
}

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

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--light-color);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

[data-theme="dark"] .contact-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-card h3 {
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-dark);
}

.contact-form-wrapper {
  background: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}

[data-theme="dark"] .contact-form-wrapper {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

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

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group label i {
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--light-color);
  color: var(--dark-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background: rgba(30, 41, 59, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
footer {
  background: var(--gradient-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

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

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

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-primary);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
  .home-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .block h1 {
    font-size: 2.8rem;
  }

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

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

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

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

  .timeline-line {
    left: 40px;
  }

  .timeline-item {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }

  .timeline-dot {
    left: -50px !important;
    right: auto !important;
  }

  .timeline-date {
    position: relative;
    left: auto !important;
    right: auto !important;
    margin-bottom: 10px;
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav_links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: var(--transition);
    z-index: 999;
  }

  [data-theme="dark"] .nav_links {
    background: var(--dark-color);
  }

  .nav_links.active {
    left: 0;
  }

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

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

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

  .image-container {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 576px) {
  .block h1 {
    font-size: 2.2rem;
  }

  .section-title h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1rem;
  }

  .category-card {
    padding: 20px;
  }

  .project-card {
    padding: 15px;
  }

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

  .profile-stats {
    gap: 20px;
  }

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

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Typed Text Animation */
.typed-cursor {
  opacity: 1;
  animation: blink 0.7s infinite;
}

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