/* ===== CSS RESET & BASE STYLES ===== */
:root {
  /* Futuristic Dark Theme Colors */
  --primary-gradient: linear-gradient(135deg, #8a2be2 0%, #ff4500 100%);
  --secondary-gradient: linear-gradient(135deg, #ff4500 0%, #ffa500 100%);
  --accent-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --success-gradient: linear-gradient(135deg, #8a2be2 0%, #ff6b35 100%);

  /* Individual Colors */
  --primary-color: #8a2be2;
  --secondary-color: #ff4500;
  --accent-color: #ff6b35;
  --success-color: #8a2be2;
  --warning-color: #ffa500;
  --danger-color: #ff4040;

  /* Neutral Colors */
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-light: #b0b0b0;
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --border-color: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(138, 43, 226, 0.2);
  --shadow-md: 0 4px 12px rgba(138, 43, 226, 0.3);
  --shadow-lg: 0 10px 20px rgba(138, 43, 226, 0.4);
  --shadow-xl: 0 20px 40px rgba(138, 43, 226, 0.5);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
  background: linear-gradient(135deg, #7a1fd2 0%, #ff3500 100%);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: white;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
  background: linear-gradient(135deg, #ff3500 0%, #ffa000 100%);
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

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

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(138, 43, 226, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(138, 43, 226, 0.4);
  border-bottom: 1px solid rgba(138, 43, 226, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 50px;
  background: linear-gradient(
    135deg,
    #000000 0%,
    #1a0033 25%,
    #330033 50%,
    #4d1a00 75%,
    #663300 100%
  );
  position: relative;
  overflow: hidden;
}

/* Animated gradient background */
.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #000000,
    #2d0052,
    #660033,
    #cc3300,
    #ff9933
  );
  background-size: 400% 400%;
  z-index: 1;
}

/* Glow effects */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: 2;
  will-change: transform;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.6), transparent);
  top: 10%;
  left: 10%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.5), transparent);
  top: 50%;
  right: 15%;
}

.hero-glow-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.4), transparent);
  bottom: 15%;
  left: 50%;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero-content {
  /* Removed animation to prevent child elements from moving */
}

/* Achievement Highlights */
.hero-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease 0.3s both;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 30px;
  background: rgba(138, 43, 226, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(138, 43, 226, 0.3);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0.3);
}

.highlight-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
  background: rgba(138, 43, 226, 0.15);
}

.highlight-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.highlight-label {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* 3D Metalic Chrome Title */
.hero-title-main {
  font-family: "Oswald", sans-serif;
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 40px;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #c0c0c0 25%,
    #ffffff 50%,
    #808080 75%,
    #ffffff 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  letter-spacing: 0.1em;
  position: relative;
  animation: fadeInUp 1s ease both;
}

/* Profile Image in Hero */
.hero-profile-image {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease both;
}

.hero-profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 30px rgba(138, 43, 226, 0.6),
    0 0 60px rgba(255, 69, 0, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.hero-profile-img:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 40px rgba(138, 43, 226, 0.8),
    0 0 80px rgba(255, 69, 0, 0.6),
    0 15px 50px rgba(0, 0, 0, 0.9);
}

/* Skill Badges */
.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  animation: fadeInUp 1.3s ease 0.4s both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 128, 64, 0.4);
}

.badge i {
  font-size: 18px;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  text-align: center;
  animation: fadeInUp 1.3s ease 0.4s both;
}

/* Hero Tagline */
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 40px;
  font-style: italic;
  text-align: center;
  opacity: 0.9;
  animation: fadeInUp 1.35s ease 0.45s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease 0.5s both;
}

.hero .btn-primary {
  background: linear-gradient(135deg, #ff8040 0%, #ff6b20 100%);
  color: #ffffff;
  padding: 16px 40px;
  font-size: 18px;
  border: none;
  box-shadow: 0 8px 30px rgba(255, 128, 64, 0.4);
}

.hero .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(255, 128, 64, 0.6);
  transform: translateY(-3px);
}

.hero .btn-outline {
  background: transparent;
  color: #ffffff;
  padding: 16px 40px;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

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

.hero .btn-secondary {
  background: var(--secondary-gradient);
  color: #ffffff;
  padding: 16px 40px;
  font-size: 18px;
  border: none;
  box-shadow: 0 8px 30px rgba(255, 69, 0, 0.4);
}

.hero .btn-secondary:hover {
  box-shadow: 0 12px 40px rgba(255, 69, 0, 0.6);
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff3500 0%, #fa000 100%);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 24px;
  animation: bounce 2s infinite;
  z-index: 10;
  opacity: 0.7;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
  font-weight: 400;
}

.skills h3 {
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-weight: 600;
}

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

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
  background: rgba(138, 43, 226, 0.1);
}

.skill-item:nth-child(odd) i {
  color: var(--primary-color);
}

.skill-item:nth-child(even) i {
  color: var(--accent-color);
}

.skill-item i {
  font-size: 32px;
}

.skill-item span {
  font-weight: 500;
  color: var(--text-primary);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-item:nth-child(1) {
  background: var(--primary-gradient);
}

.stat-item:nth-child(2) {
  background: var(--accent-gradient);
}

.stat-item:nth-child(3) {
  background: var(--secondary-gradient);
}

.stat-item {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  padding: 100px 0;
  background: var(--bg-primary);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.filter-btn.active {
  background: var(--primary-gradient);
  color: white;
  border: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.filter-btn:hover:not(.active) {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

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

.portfolio-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
  border: 1px solid var(--border-color);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(138, 43, 226, 0.9) 0%,
    rgba(255, 69, 0, 0.9) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-links {
  display: flex;
  gap: 16px;
}

.portfolio-link {
  width: 50px;
  height: 50px;
  background: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

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

.portfolio-content {
  padding: 24px;
}

.portfolio-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portfolio-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 400;
}

.portfolio-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Project Metrics */
.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  background: rgba(138, 43, 226, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.metric-item i {
  font-size: 20px;
  color: var(--primary-color);
}

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

.metric-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.metric-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-tag:nth-child(odd) {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.tech-tag:nth-child(even) {
  background: var(--accent-color);
  color: white;
  font-weight: 600;
}

.tech-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}

/* ===== RESUME SECTION ===== */
.resume {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.resume-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.resume-column-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  margin-bottom: 40px;
  color: var(--text-primary);
  font-weight: 600;
}

.resume-column:nth-child(1) .resume-column-title i {
  color: var(--primary-color);
}

.resume-column:nth-child(2) .resume-column-title i {
  color: var(--accent-color);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--accent-color)
  );
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-item:nth-child(odd)::before {
  background: var(--primary-color);
}

.timeline-item:nth-child(even)::before {
  background: var(--accent-color);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--border-color);
}

.timeline-item:nth-child(odd) .timeline-date {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-date {
  background: var(--accent-color);
  color: white;
  font-weight: 600;
}

.timeline-date {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* ===== CERTIFICATES SECTION ===== */
.certificates {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.certificate-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.certificate-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.certificate-image {
  height: 200px;
  overflow: hidden;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.certificate-content {
  padding: 24px;
}

.certificate-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.certificate-issuer {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 4px;
}

.certificate-year {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 400;
}

/* ===== GITHUB STATS SECTION ===== */
.github-stats {
  padding: 100px 0;
  background: var(--bg-primary);
}

.github-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

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

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
  background: rgba(138, 43, 226, 0.08);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.stat-card:nth-child(2) .stat-icon {
  background: var(--accent-gradient);
}

.stat-card:nth-child(3) .stat-icon {
  background: var(--secondary-gradient);
}

.stat-card:nth-child(4) .stat-icon {
  background: var(--success-gradient);
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1;
}

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

/* GitHub Profile Card */
.github-profile-card {
  background: rgba(138, 43, 226, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.github-profile-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.profile-header {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.github-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  flex-shrink: 0;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.profile-username {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.profile-bio {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.profile-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.profile-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

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

.profile-stat-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.profile-stat-item a:hover {
  color: var(--primary-color);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
  background: rgba(138, 43, 226, 0.05);
}

.testimonial-content {
  position: relative;
  margin-bottom: 20px;
}

.quote-icon {
  font-size: 40px;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  flex-shrink: 0;
}

.author-img-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
  border: 2px solid var(--primary-color);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== BLOG/ARTICLES SECTION ===== */
.blog {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 16px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-light);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  color: var(--primary-color);
  font-size: 14px;
}

.blog-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.blog-tag {
  padding: 4px 12px;
  background: rgba(138, 43, 226, 0.1);
  color: var(--primary-color);
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  gap: 12px;
  color: var(--accent-color);
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-read-more:hover i {
  transform: translateX(5px);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item:nth-child(1) i {
  background: var(--primary-gradient);
}

.contact-item:nth-child(2) i {
  background: var(--accent-gradient);
}

.contact-item:nth-child(3) i {
  background: var(--secondary-gradient);
}

.contact-item i {
  width: 50px;
  height: 50px;
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.contact-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-item p {
  color: var(--text-secondary);
  font-weight: 400;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-link:nth-child(1) {
  background: var(--accent-color);
  color: white;
}

.social-link:nth-child(1):hover {
  background: var(--accent-gradient);
}

.social-link:nth-child(2) {
  background: var(--primary-color);
  color: white;
}

.social-link:nth-child(2):hover {
  background: var(--primary-gradient);
}

.social-link:nth-child(3) {
  background: var(--secondary-color);
  color: white;
}

.social-link:nth-child(3):hover {
  background: var(--secondary-gradient);
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-link:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

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

/* ===== FOOTER ===== */
.footer {
  background: #000000;
  color: white;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(138, 43, 226, 0.3);
}

.footer-content p {
  margin-bottom: 8px;
}

.footer i {
  color: var(--accent-color);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

/* ===== IMAGE PREVIEW MODAL ===== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  backdrop-filter: blur(10px);
}

.image-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.image-modal img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.image-modal-title {
  color: white;
  font-size: 24px;
  margin-top: 20px;
  font-weight: 600;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-color);
}

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

.modal-header h3 {
  font-size: 24px;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}

.form-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* ===== LOADING SPINNER ===== */
.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  z-index: 3000;
  backdrop-filter: blur(5px);
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 4px solid rgba(138, 43, 226, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

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

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

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

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
  }
}

/* Removed heavy animations */

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

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

@keyframes profileGlow {
  0%,
  100% {
    box-shadow:
      0 0 30px rgba(138, 43, 226, 0.6),
      0 0 60px rgba(255, 69, 0, 0.4),
      0 10px 40px rgba(0, 0, 0, 0.8);
  }
  50% {
    box-shadow:
      0 0 40px rgba(138, 43, 226, 0.8),
      0 0 80px rgba(255, 69, 0, 0.6),
      0 15px 50px rgba(0, 0, 0, 0.9);
  }
}

/* Performance optimization */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-glow,
.hero-bg-gradient {
  pointer-events: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(138, 43, 226, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
  }

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

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: 100vh;
  }

  .hero-container {
    text-align: center;
    padding: 0 15px;
  }

  .hero-profile-img {
    width: 140px;
    height: 140px;
  }

  .hero-title-main {
    font-size: clamp(3rem, 12vw, 6rem);
    margin-bottom: 25px;
  }

  .hero-highlights {
    gap: 20px;
  }

  .highlight-item {
    padding: 15px 20px;
  }

  .highlight-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .highlight-label {
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  }

  .hero-tagline {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    margin-bottom: 30px;
  }

  .hero-badges {
    gap: 8px;
    margin-bottom: 25px;
  }

  .badge {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 30px;
  }

  .hero-buttons {
    gap: 15px;
  }

  .hero .btn-primary,
  .hero .btn-outline,
  .hero .btn-secondary {
    padding: 14px 30px;
    font-size: 16px;
    width: 100%;
    max-width: 280px;
  }

  .hero-glow {
    opacity: 0.2;
  }

  .hero-glow-1 {
    width: 300px;
    height: 300px;
  }

  .hero-glow-2 {
    width: 250px;
    height: 250px;
  }

  .hero-glow-3 {
    width: 200px;
    height: 200px;
  }

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

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

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

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

  .project-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .metric-item {
    gap: 8px;
  }

  .metric-item i {
    font-size: 18px;
  }

  .metric-value {
    font-size: 16px;
  }

  .metric-label {
    font-size: 10px;
  }

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

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

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

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

  .blog-image {
    height: 200px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 18px;
  }

  .blog-excerpt {
    font-size: 14px;
  }

  .github-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .stat-value {
    font-size: 28px;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .github-avatar {
    width: 100px;
    height: 100}

  .profile-name {
    font-size: 24px;
  }

  .profile-stats {
    justify-content: center;
  }

  .modal-content {
    padding: 24px;
    margin: 20px;
  }

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

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

  .nav-container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 15px 50px;
    min-height: 100vh;
  }

  .hero-container {
    padding: 0 10px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-profile-img {
    width: 110px;
    height: 110px;
    border: 3px solid rgba(255, 255, 255, 0.2);
  }

  .hero-title-main {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }
  .hero-highlights {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .highlight-item {
    padding: 12px 20px;
    width: 100%;
  }

  .highlight-number {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }

  .highlight-label {
    font-size: clamp(0.6rem, 1vw, 0.75rem);
  }
  .hero-tagline {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    margin-bottom: 25px;
  }

  .hero-badges {
    gap: 6px;
    margin-bottom: 20px;
  }

  .badge {
    padding: 6px 12px;
    font-size: 11px;
  }

  .badge i {
    font-size: 14px;
  }

  .hero-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .hero .btn-primary,
  .hero .btn-outline,
  .hero .btn-secondary {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 250px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-glow {
    opacity: 0.15;
    filter: blur(80px);
  }

  .hero-glow-1 {
    width: 250px;
    height: 250px;
  }

  .hero-glow-2 {
    width: 200px;
    height: 200px;
  }

  .hero-glow-3 {
    width: 150px;
    height: 150px;
  }

  .scroll-indicator {
    font-size: 20px;
    bottom: 20px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .skill-item {
    padding: 15px;
  }

  .portfolio-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .contact-form {
    padding: 24px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px;
    font-size: 15px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about,
  .portfolio,
  .resume,
  .certificates,
  .contact,
  .github-stats,
  .testimonials,
  .blog {
    padding: 60px 0;
  }

  .github-stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 20px;
    gap: 15px;
  }

  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .github-profilecard {
    padding: 25px;
  }

  .github-avatar {
    width: 80px;
    height: 80border: 3px solid var(--primary-color);
  }

  .profile-name {
    font-size: 20px;
  }

  .profile-username {
    font-size: 16px;
  }

  .profile-bio {
    font-size: 14px;
  }

  .profile-stats {
    gap: 15px;
  }

  .profile-stat-item {
    font-size: 13px;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Floating elements */
.floating {
  animation: float 6s ease-in-out infinite;
}

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

.floating:nth-child(3) {
  animation-delay: -4s;
}

/* Pulse effect for important elements */
.pulse {
  animation: pulse 2s infinite;
}

/* ===== INTERACTIVE ELEMENTS ===== */
.interactive-bg {
  position: relative;
  overflow: hidden;
}

.interactive-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.interactive-bg:hover::before {
  transform: translateX(100%);
}

/* Glowing effect */
.glow {
  position: relative;
}

.glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--primary-gradient);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.glow:hover::after {
  opacity: 1;
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --border-color: #334155;
  }
}
