:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #38bdf8;

  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.7);

  --text-main: #0f172a;
  --text-muted: #64748b;

  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-blue: 0 20px 40px -12px rgba(37, 99, 235, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: #f0f9ff;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(56, 189, 248, 0.1) 0%, transparent 40%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  color: var(--text-main);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 800px;
}

/* Header - Glass Effect */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 20px;
}

.site-header .container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.site-nav a:hover {
  color: white;
}

.site-nav .btn.small {
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.site-nav .btn.small:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: white;
}

/* Hero - Enhanced with Background Image */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 0 60px;
  margin-top: -96px;
  padding-top: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(30, 58, 138, 0.85) 50%,
      rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
}

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

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(56, 189, 248, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  animation: particleFloat 15s infinite;
}

.hero-particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.hero-particles span:nth-child(2) {
  left: 30%;
  top: 60%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.hero-particles span:nth-child(3) {
  left: 60%;
  top: 30%;
  animation-delay: 4s;
  animation-duration: 14s;
}

.hero-particles span:nth-child(4) {
  left: 80%;
  top: 70%;
  animation-delay: 1s;
  animation-duration: 16s;
}

.hero-particles span:nth-child(5) {
  left: 50%;
  top: 80%;
  animation-delay: 3s;
  animation-duration: 20s;
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

.hero-container {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(56, 189, 248, 0.2);
  }
}

.headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: white;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

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

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

.hero .subhead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero .tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

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

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
}

.btn:not(.primary):not(.glass):not(.small) {
  background: white;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
}

.btn:not(.primary):not(.glass):not(.small):hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

.btn.pulse {
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {

  0%,
  100% {
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.4);
  }

  50% {
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.6), 0 0 30px rgba(56, 189, 248, 0.3);
  }
}

.btn.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn.glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    top: 8px;
    opacity: 1;
  }

  50% {
    top: 18px;
    opacity: 0.5;
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: -24px auto 40px;
}

.section.alt {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Cards - Liquid Glass */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.75);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Enhanced Service Cards - What I Do Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.7);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(56, 189, 248, 0.2) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-tags li {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid #bae6fd;
  transition: all 0.2s ease;
}

.service-tags li:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 24px;
  }
}

/* Skills - Liquid Glass */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.skill-col {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.skill-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.skill-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.7);
}

.skill-col:hover::before {
  transform: scaleX(1);
}

.skill-col h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-col h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: skillDot 2s ease-in-out infinite;
}

@keyframes skillDot {

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

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.skill-col ul {
  padding-left: 0;
  list-style: none;
  color: var(--text-muted);
}

.skill-col li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.skill-col li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.skill-col:hover li::before {
  opacity: 1;
  transform: translateX(0);
}

.skill-col:hover li {
  padding-left: 24px;
  color: var(--text-main);
}

/* Awards Carousel - Magical */
.awards-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 60px;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  animation: carouselFloat 6s ease-in-out infinite;
}

@keyframes carouselFloat {

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

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

.carousel-slide:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) saturate(1.2);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
  padding: 60px 24px 24px;
  font-size: 1.2rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide:hover .slide-caption {
  transform: translateY(0);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  color: white;
}

.carousel-btn:hover {
  background: rgba(37, 99, 235, 0.8);
  color: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4), 0 0 20px rgba(56, 189, 248, 0.3);
  border-color: rgba(56, 189, 248, 0.6);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Awards List Section */
.awards-list-section {
  max-width: 900px;
  margin: 0 auto;
}

.awards-list-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.awards-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.awards-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255, 251, 235, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(254, 243, 199, 0.6);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.awards-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(255, 251, 235, 0.8);
}

.award-list-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.award-list-icon svg {
  width: 22px;
  height: 22px;
}

.awards-list li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.awards-list li strong {
  font-size: 1.05rem;
  color: var(--text-main);
}

.awards-list li span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Projects Carousel */
.projects-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px;
}

.projects-track-container {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.projects-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.project-slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  animation: projectZoom 8s ease-in-out infinite;
}

@keyframes projectZoom {

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

  25% {
    transform: scale(1.08) translateX(-1%);
  }

  75% {
    transform: scale(1.08) translateX(1%);
  }
}

.project-slide:hover img {
  transform: scale(1.15);
  filter: brightness(1.1) saturate(1.15);
  animation-play-state: paused;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  color: white;
  padding: 80px 32px 32px;
  transform: translateY(20px);
  opacity: 0.9;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide:hover .project-info {
  transform: translateY(0);
  opacity: 1;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.98) 60%);
}

.project-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: white;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.1s;
}

.project-slide:hover .project-info h3 {
  transform: translateY(0);
}

.project-info p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 600px;
  transform: translateY(10px);
  opacity: 0.8;
  transition: all 0.4s ease 0.2s;
}

.project-slide:hover .project-info p {
  transform: translateY(0);
  opacity: 1;
}

.projects-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.projects-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.projects-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* About Section with Side Image */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-image-accent {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  background: var(--gradient-primary);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.12;
}

.about-content {
  padding-top: 0;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-content .lead {
  text-align: left;
  margin-left: 0;
  margin-top: 0;
  font-size: 1.15rem;
}

.about-content p:not(.lead) {
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-content p:not(.lead):hover {
  padding-left: 24px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}

.about-content p.highlight {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  border-left-color: var(--accent);
}

/* Lucide Icon Styles */
.icon-sm {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.skill-col h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-col h3::before {
  display: none;
}

.skill-col h3 .icon-sm {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* Service Icon Update for Plain Icons */
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
}

.service-card:hover .service-icon svg {
  color: white;
}

/* Contact - Enhanced CTA Section */
#contact {
  background: linear-gradient(180deg, var(--bg-surface) 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

#contact .container {
  position: relative;
  z-index: 1;
}

#contact .section-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#contact .lead {
  font-size: 1.5rem;
  color: var(--text-main);
  font-weight: 500;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-links .btn {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 18px 36px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-links .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-links .btn:hover {
  color: white;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px -10px rgba(37, 99, 235, 0.4);
}

.contact-links .btn:hover::before {
  opacity: 1;
}

/* Footer - Enhanced with Gradient */
.site-footer {
  padding: 48px 0 32px;
  text-align: center;
  color: white;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

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

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.5);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* About Section Enhancement */
#about {
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

#about .container {
  position: relative;
}

#about .lead {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-main);
  font-weight: 400;
}

#about p:not(.lead) {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid transparent;
  border-image: var(--gradient-primary) 1;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

#about p:not(.lead):hover {
  padding-left: 32px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}

/* Enhanced Card Hover Effects */
.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(37, 99, 235, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.card img {
  transition: transform 0.5s ease;
}

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

.card h3 {
  position: relative;
  display: inline-block;
}

.card h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.card:hover h3::after {
  width: 100%;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--text-main);
}

/* Skip Link Enhancement */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Responsive Updates */
@media (max-width: 1024px) {
  .hero-stats {
    gap: 40px;
  }

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

  .headline {
    font-size: 3rem;
  }

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

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

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

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-content .section-title,
  .about-content .lead {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    padding: 0 20px;
    height: 60px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 100px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

  .scroll-indicator {
    display: none;
  }

  .grid.cards,
  .skills-grid,
  .services-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .headline {
    font-size: 2.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-links .btn {
    width: 100%;
    max-width: 320px;
  }

  .about-content p:not(.lead) {
    padding-left: 16px;
  }
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Delays */
.reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal:nth-child(6) {
  transition-delay: 0.5s;
}