:root {
  --bg: #0a0b0f;
  --bg-secondary: #0f1115;
  --panel: #171a22;
  --muted: #9aa3b2;
  --white: #f6f7fb;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --card: #0b0d12;
  --ring: rgba(255, 255, 255, 0.06);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: center;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  gap: 2rem;
  padding: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--ring);
}

nav a {
  color: #f9fafb;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: transform 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--accent-cyan);
  background: rgba(59, 130, 246, 0.1);
}

nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* -----------------------------
   HERO SECTION
-------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  top: 20%;
  right: -5%;
  animation-delay: 7s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent 70%);
  bottom: -10%;
  left: 30%;
  animation-delay: 14s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
  color: var(--accent-cyan);
  font-size: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-tech-stack {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ring);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

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

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: white;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(10px);
}

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

/* -----------------------------
   STATS SECTION
-------------------------------- */
.stats-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.03), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

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

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.stat-number.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

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

footer {
  margin-top: 40px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--ring);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

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

/* -----------------------------
   PROJECT SECTIONS
-------------------------------- */
.home-page .section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--ring);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.home-page .section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.home-page .section:hover::before {
  opacity: 1;
}

.home-page .section+.section {
  margin-top: 48px;
}

.home-page .section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.home-page .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-page .phone {
  background: linear-gradient(135deg, rgba(17, 20, 30, 0.9), rgba(11, 13, 18, 0.9));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 24px;
  padding: 12px 12px 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  animation: cardFadeIn 0.6s ease-out forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.home-page .phone:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.home-page .notch {
  width: 38%;
  height: 8px;
  margin: 8px auto 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.home-page .screen {
  border-radius: 16px;
  overflow: hidden;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.screen-erp {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
}

.screen-streaming {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
}

.screen-ecommerce {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
}

.screen-parking {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
}

.screen-healthcare {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(236, 72, 153, 0.2));
}

.screen-driving {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(20, 184, 166, 0.2));
}

.home-page .screen i {
  font-size: 56px;
  opacity: 0.9;
  transition: all 0.4s ease;
}

.home-page .phone:hover .screen i {
  transform: scale(1.1) rotate(5deg);
}

.home-page .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-erp {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.tag-streaming {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.4);
  color: #f9a8d4;
}

.tag-ecommerce {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.tag-parking {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde68a;
}

.tag-healthcare {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.tag-driving {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  color: #67e8f9;
}

.home-page .app-title {
  font-weight: 700;
  font-size: 14px;
  margin: 12px 8px 4px;
  color: var(--white);
  line-height: 1.3;
}

.home-page .app-desc {
  font-size: 12px;
  margin: 0 8px;
  color: var(--muted);
  line-height: 1.4;
}

.home-page .side {
  padding: 8px 10px;
}

.home-page .kicker {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.home-page .title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 6px 0 16px;
  font-weight: 900;
}

.home-page .desc {
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.7;
  font-size: 15px;
}

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

.tech-tag {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ring);
  border-radius: 6px;
  font-weight: 600;
  color: var(--muted);
}

.home-page .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-page .cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-page .cta:hover {
  transform: translateX(5px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.home-page .cta:hover::before {
  opacity: 1;
}

.home-page .cta span,
.home-page .cta i {
  position: relative;
  z-index: 1;
}

.home-page .accent-android .title span {
  background: linear-gradient(135deg, #34d399, #10b981, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.home-page .accent-ios .title span {
  background: linear-gradient(135deg, #60a5fa, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

/* -----------------------------
   EXPERTISE SECTION
-------------------------------- */
.expertise-section {
  margin-top: 60px;
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.03), transparent);
  border-radius: var(--radius-lg);
}

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

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

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

.expertise-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

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

.expertise-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.expertise-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.expertise-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 14px;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 999px;
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

/* -----------------------------
   RESPONSIVE
-------------------------------- */
@media (max-width: 1024px) {
  .home-page .section {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 36px;
  }

  .home-page .side {
    order: -1;
  }

  .hero {
    min-height: 80vh;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .home-page .grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-tech-stack {
    gap: 1rem;
  }

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

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

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

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .home-page .grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 2rem 1.5rem;
  }

  nav {
    gap: 1rem;
    padding: 1rem;
  }

  nav a {
    font-size: 14px;
    padding: 0.4rem 0.8rem;
  }
}

/* -----------------------------
   About Page (kept original styling)
-------------------------------- */
.about-page .container {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 20px 60px;
}

.about-page section {
  margin-bottom: 2rem;
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.about-page section h2 {
  margin-bottom: 1rem;
  color: #3b82f6;
}

.about-page section p {
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 15px;
  color: var(--muted);
}

.about-page .skill {
  margin-bottom: 1rem;
}

.about-page .skill-name {
  margin-bottom: 0.25rem;
}

.about-page .skill-bar {
  width: 100%;
  background: #374151;
  border-radius: 8px;
  overflow: hidden;
}

.about-page .skill-progress {
  height: 14px;
  background: #3b82f6;
  width: 0;
  border-radius: 8px;
  transition: width 1.2s ease-in-out;
}

.about-page form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-page input,
.about-page textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: #374151;
  color: #f9fafb;
  font-size: 1rem;
}

.about-page input:focus,
.about-page textarea:focus {
  outline: 2px solid #3b82f6;
}

.about-page button {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: #3b82f6;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.about-page button:hover,
.about-page button:focus {
  background: #2563eb;
}

/* -----------------------------
   Project Pages (Android & iOS)
-------------------------------- */
.project-page section {
  margin-bottom: 2rem;
}

.project-page section h2 {
  margin-bottom: 1.5rem;
  color: #3b82f6;
  text-align: center;
}

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

.project-page .card {
  background: #1f2937;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-page .card:hover,
.project-page .card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.project-page .card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.project-page .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 120px;
  padding: 0.5rem;
  text-align: center;
  color: white;
  z-index: 2;
}

.project-page .card-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 41, 55, 0.95) 30%, rgba(202, 206, 213, 0.56) 100%);
  z-index: -1;
}

.project-page .card h3 {
  margin: 0.5rem 0;
  color: #f9fafb;
}

.project-page .card p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.project-page footer {
  margin-top: 2rem;
}

.project-page .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.project-page .modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.project-page .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

header {
  text-align: center;
  padding: 2.5rem 1rem;
  background: #1f2937;
  color: #fff;
}

header h1 {
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: 1rem;
}

header p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--muted);
}
/* ========================================
   ABOUT PAGE - MODERN REDESIGN
======================================== */

/* Profile Hero */
.profile-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg));
}

.profile-hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.profile-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.profile-avatar {
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.avatar-placeholder {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
  border: 3px solid var(--ring);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--muted);
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.avatar-placeholder:hover {
  transform: scale(1.05);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 15px 50px rgba(6, 182, 212, 0.3);
}

.profile-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.profile-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.profile-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.profile-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ring);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

/* Container & Typography */
.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 20px 80px;
}

.section-label {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
  display: inline-block;
}

.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

/* Bio Section */
.bio-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: start;
}

.bio-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 15px;
}

.bio-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  animation: cardFadeIn 0.6s ease-out forwards;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.highlight-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* Experience Timeline */
.experience-section {
  margin-bottom: 5rem;
}

.timeline {
  position: relative;
  padding-left: 3rem;
  margin-top: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  animation: cardFadeIn 0.6s ease-out forwards;
}

.timeline-marker {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border: 3px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}

.timeline-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateX(10px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.timeline-period {
  color: var(--accent-cyan);
  font-weight: 600;
}

.timeline-separator {
  color: var(--ring);
}

.timeline-company {
  font-weight: 600;
}

.timeline-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.tech-badge-small {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 6px;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Skills Section */
.skills-section {
  margin-bottom: 5rem;
}

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

.skill-category {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ring);
}

.category-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.category-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

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

.skill-item:last-child {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.skill-percentage {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(139, 92, 246, 0.05));
  border: 1px solid var(--ring);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

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

.form-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.125rem;
  z-index: 2;
  pointer-events: none;
}

.form-group textarea + .form-icon {
  top: 1.25rem;
  transform: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  border-radius: 12px;
  border: 1px solid var(--ring);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1), 0 0 20px rgba(6, 182, 212, 0.2);
}

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

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

.submit-btn:hover::before {
  opacity: 1;
}

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

.submit-btn span,
.submit-btn i {
  position: relative;
  z-index: 1;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
  .bio-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bio-highlights {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .profile-hero {
    min-height: 60vh;
    padding: 3rem 1.5rem 2rem;
  }

  .about-container {
    padding: 2rem 20px 60px;
  }

  .bio-highlights {
    flex-direction: column;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-marker {
    left: -2.5rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .timeline-content:hover {
    transform: translateX(5px);
  }

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

  .contact-section {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-social {
    gap: 0.75rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-marker {
    left: -1.75rem;
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }

  .section-heading {
    font-size: 24px;
  }
}

/* ========================================
   PROJECT PAGES - MODERN REDESIGN
======================================== */

/* Project Hero Section */
.project-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem 3rem;
}

.project-hero-android {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), var(--bg));
}

.project-hero-ios {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1), var(--bg));
}

.project-hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.orb-android-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.orb-android-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25), transparent 70%);
  bottom: -5%;
  right: -5%;
  animation-delay: 7s;
}

.orb-ios-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb-ios-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25), transparent 70%);
  bottom: -5%;
  left: -5%;
  animation-delay: 7s;
}

.project-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.project-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.android-page .project-icon {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ios-page .project-icon {
  background: linear-gradient(135deg, #3b82f6, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text-android {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-ios {
  background: linear-gradient(135deg, #3b82f6, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.project-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 12px;
  padding: 1rem 2rem;
  text-align: center;
  min-width: 140px;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Projects Container */
.projects-container {
  max-width: 1300px;
  padding: 3rem 20px 80px;
}

.projects-section {
  margin-bottom: 3rem;
}

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

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Project Cards */
.project-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.reveal {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.15);
}

.android-page .project-card:hover {
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
}

.ios-page .project-card:hover {
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.project-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

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

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

.project-year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  z-index: 2;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  min-height: 66px;
}

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

.project-tags .tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.android-page .project-tags .tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.ios-page .project-tags .tag {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

/* Enhanced Modal */
.project-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalZoomIn 0.3s ease-out;
}

@keyframes modalZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  max-width: 80%;
  text-align: center;
}

/* Responsive Design for Project Pages */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .project-hero {
    min-height: 50vh;
    padding: 3rem 1.5rem 2rem;
  }

  .project-icon {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-badge {
    width: 100%;
  }

  .project-hero {
    padding: 2.5rem 1rem 2rem;
  }

  .projects-container {
    padding: 2rem 20px 60px;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .modal-caption {
    bottom: 20px;
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .project-icon {
    font-size: 3rem;
  }

  .project-hero-title {
    font-size: 2rem;
  }

  .project-image {
    height: 220px;
  }

  .project-info p {
    min-height: auto;
  }
}
