/* Global Styles */
:root {
  --primary-dark: #0f172a;
  --secondary-dark: #1e293b;
  --accent-color: #6366f1;
  --accent-light: #818cf8;
  --accent-bright: #a5b4fc;
  --title-gradient-1: #0073FF;
  --title-gradient-2: #ff6bff;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-tertiary: #cbd5e1;
  --border-color: #334155;
  --card-bg: #1e293b;
  --transition: all 0.3s ease;
  --text-light-gray: #C5C6D0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "liga" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.02em;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Enhanced glow effect for accent elements */
.btn.primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.2);
  animation: subtlePulse 3s infinite;
  position: relative;
}

.btn.primary::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-light));
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn.primary:hover::after {
  opacity: 0.7;
}

@keyframes subtlePulse {
  0% {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  }
  100% {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  }
}

.btn.primary:hover {
  background-color: var(--accent-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(99, 102, 241, 0.5);
  animation: none;
}

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

.btn.primary:hover::before {
  transform: translateX(100%);
}

.btn.secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--accent-bright);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-color);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  color: var(--text-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  letter-spacing: -0.02em;
}

.cta-section .section-title {
  color: rgba(255, 255, 255, 1);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.cta-section .section-title::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.section-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--title-gradient-1), var(--title-gradient-2));
  margin: 15px auto;
  border-radius: 2px;
}

/* Navigation */
.navbar {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.navbar:hover {
  background-color: rgba(15, 23, 42, 0.98);
}

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

.logo {
  position: relative;
  transition: transform 0.2s ease;
}

.logo h2 {
  font-family: 'Poppins', sans-serif;
  color: var(--accent-color);
  font-size: 1.8rem;
  font-weight: 700;
  cursor: default;
  user-select: none;
  background: linear-gradient(to right, var(--title-gradient-1), var(--title-gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 1rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--accent-bright);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(129, 140, 248, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

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

.nav-link.active::after {
  width: 70%;
  background-color: var(--accent-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

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

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: subtleZoom 40s infinite alternate;
  opacity: 0.85;
  filter: blur(1px);
}

@keyframes subtleZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.03);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  z-index: -1;
  backdrop-filter: blur(2px);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  z-index: -1;
}

.hero-container {
  max-width: 800px;
  padding: 2rem;
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--title-gradient-1), var(--title-gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  transform: translateY(0);
  font-weight: 800;
  position: relative;
  display: inline-block;
  letter-spacing: -0.03em;
  overflow: hidden;
}

/* Typewriter Effect */
.typewriter {
  overflow: hidden;
  border-right: 3px solid #3b82f6;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typing 3s steps(12, end) 0.5s forwards, blink-caret 1s step-end infinite 3.5s;
  width: 0;
  background: linear-gradient(to right, var(--title-gradient-1), var(--title-gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #3b82f6;
  }
}

.typewriter-complete {
  border-right: none;
  animation: none;
  width: 100%;
  background: linear-gradient(to right, var(--title-gradient-1), var(--title-gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.animated-text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--title-gradient-1), var(--title-gradient-2));
  transform: scaleX(0);
  transform-origin: left;
  animation: textLineAnimation 1s 4s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 2px;
}

@keyframes textLineAnimation {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.hero-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--text-light-gray);
  margin-bottom: 2rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: 0.01em;
}

.hero-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  line-height: 1.7;
}

.hero-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-buttons.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Particles effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  opacity: 0.4;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.3);
  animation: float 25s infinite linear;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 25s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  left: 70%;
  animation-delay: 4s;
  animation-duration: 22s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  left: 80%;
  animation-delay: 6s;
  animation-duration: 28s;
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  left: 40%;
  animation-delay: 8s;
  animation-duration: 24s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-10vh) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

/* Featured Section */
.featured-section {
  padding: 6rem 0;
  background-color: var(--secondary-dark);
  position: relative;
  overflow: hidden;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(129, 140, 248, 0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(99, 102, 241, 0.1);
  z-index: 1;
}

.feature-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(129, 140, 248, 0.03));
  border-radius: 20px;
  z-index: -1;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-row:hover::before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(129, 140, 248, 0.06));
}

.feature-row.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-content,
.feature-row.reverse .feature-image {
  direction: ltr;
}

.feature-content {
  padding: 2rem;
}

.feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  letter-spacing: -0.01em;
}

.feature-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease 0.1s;
  max-width: 90%;
}

.feature-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-details ul {
  list-style-type: none;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease 0.2s;
}

.feature-details ul.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-details li {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
}

.feature-details li::before {
  content: '»';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.feature-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease 0.3s;
}

.feature-buttons.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-image.animate {
  opacity: 1;
  transform: translateY(0);
}

.image-placeholder {
  width: 100%;
  height: 300px;
  background-color: rgba(99, 102, 241, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 35%, #8b5cf6 70%, #a78bfa 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 40% 70%, rgba(99, 102, 241, 0.2) 0%, transparent 30%);
  animation: gradientShift 8s ease-in-out infinite;
}

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

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0.8;
}

.cta-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 750px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.cta-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease 0.2s;
  position: relative;
  z-index: 2;
}

.cta-section .btn.primary {
  background: rgba(255, 255, 255, 0.95);
  color: #3b82f6;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.cta-section .btn.primary:hover {
  background: rgba(255, 255, 255, 1);
  color: #1e40af;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cta-section .btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-section .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cta-buttons.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Projects Section */
.projects {
  padding: 6rem 0;
  background-color: var(--secondary-dark);
}

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

.project-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease, all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 1;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-bright));
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before {
  opacity: 0.7;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

.project-image {
  height: 200px;
  background-color: rgba(99, 102, 241, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-image {
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.6;
}

.project-content {
  padding: 1.75rem;
}

.project-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  letter-spacing: -0.01em;
}

.project-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.project-description {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.1s;
}

.project-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.project-details h4 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  color: var(--accent-light);
  font-weight: 600;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.2s;
}

.project-details h4.animate {
  opacity: 1;
  transform: translateY(0);
}

.project-details ul {
  list-style-type: none;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.3s;
}

.project-details ul.animate {
  opacity: 1;
  transform: translateY(0);
}

.project-details li {
  margin-bottom: 0.9rem;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
}

.project-details li::before {
  content: '»';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.4s;
}

.project-tech.animate {
  opacity: 1;
  transform: translateY(0);
}

.tech-tag {
  background-color: rgba(99, 102, 241, 0.15);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.project-btn {
  width: 100%;
  text-align: center;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--accent-color);
  margin-bottom: 0.6rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.5s;
  padding: 0.8rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
}

.project-btn.animate {
  opacity: 1;
  transform: translateY(0);
}

.project-btn:hover {
  background-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Tools Section */
.tools {
  padding: 6rem 0;
  background-color: var(--primary-dark);
}

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

.tool-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease, all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 1;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-bright));
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.tool-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.tool-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tool-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.tool-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.1s;
}

.tool-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.tool-btn {
  display: inline-block;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--accent-color);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.2s;
}

.tool-btn.animate {
  opacity: 1;
  transform: translateY(0);
}

.tool-btn:hover {
  background-color: rgba(99, 102, 241, 0.2);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

/* Minecraft Section */
.minecraft {
  padding: 6rem 0;
  background-color: var(--secondary-dark);
}

.minecraft-steps {
  max-width: 800px;
  margin: 0 auto;
}

.minecraft-step {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease, var(--transition);
}

.minecraft-step.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-number.animate {
  opacity: 1;
  transform: scale(1);
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.1s;
}

.step-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.2s;
}

.step-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-code {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: monospace;
  color: var(--accent-bright);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.3s;
}

.step-code.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-note {
  background-color: rgba(99, 102, 241, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.4s;
}

.step-note.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Rotating Banner Section */
.rotating-banner {
  background-color: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.banner-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.9) contrast(1.1) blur(1px);
  transition: filter 0.5s ease;
  opacity: 0.8;
}

.banner-slide.active .banner-image {
  filter: brightness(1.0) contrast(1.15) blur(0px);
  opacity: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 1.5rem;
}

.banner-text {
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 700px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.banner-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.banner-text p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.banner-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.banner-links .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.5);
  white-space: nowrap;
  border-radius: 6px;
}

.banner-links .btn:hover {
  background-color: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-color);
  transform: translateY(-2px);
}

.banner-text h3,
.banner-text p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-links .btn {
  text-shadow: none;
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: var(--primary-dark);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-text p.animate {
  opacity: 1;
  transform: translateY(0);
}

.about-links h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-light);
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease 0.1s;
}

.about-links h3.animate {
  opacity: 1;
  transform: translateY(0);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease 0.2s;
}

.social-links.animate {
  opacity: 1;
  transform: translateY(0);
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  transition: var(--transition);
  background-color: rgba(30, 41, 59, 0.5);
  font-weight: 500;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.social-links a.animate {
  opacity: 1;
  transform: translateX(0);
}

.social-links a:hover {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--accent-bright);
  transform: translateX(5px);
}

.social-links i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* Websites Section */
.websites {
  padding: 6rem 0;
  background-color: var(--secondary-dark);
}

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

.website-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease, var(--transition);
  position: relative;
  z-index: 1;
}

.website-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-bright));
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.website-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.website-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.website-image {
  height: 180px;
  background-color: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.website-content {
  padding: 1.5rem;
}

.website-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.website-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.website-description {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.1s;
}

.website-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.website-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--accent-color);
  padding: 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease 0.2s;
}

.website-btn.animate {
  opacity: 1;
  transform: translateY(0);
}

.website-btn:hover {
  background-color: rgba(99, 102, 241, 0.2);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--primary-dark);
}

.contact-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-content p.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease 0.2s;
}

.contact-methods.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  padding: 1.2rem 2rem;
  border-radius: 8px;
  transition: var(--transition);
  background-color: rgba(30, 41, 59, 0.5);
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-link.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-link:hover {
  background-color: rgba(99, 102, 241, 0.2);
  color: var(--accent-bright);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-link i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

footer.animate {
  opacity: 1;
  transform: translateY(0);
}

footer p {
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

/* Animations */
@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(100vw, -100vh) rotate(360deg);
    opacity: 0;
  }
}

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

/* Responsive Design */
@media screen and (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .feature-row {
    grid-template-columns: 1fr;
  }
  
  .feature-row.reverse {
    direction: ltr;
  }
  
  .feature-row.reverse .feature-content,
  .feature-row.reverse .feature-image {
    direction: ltr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--secondary-dark);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
  }

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

  .nav-item {
    margin: 1.5rem 0;
  }

  .hamburger {
    display: flex;
  }

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

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .projects-grid,
  .tools-grid,
  .websites-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .contact-link {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .banner-container {
    height: 220px;
  }
  
  .banner-content {
    align-items: flex-start;
    padding: 0.5rem;
  }
  
  .banner-text {
    padding: 0.8rem;
    max-width: 100%;
  }
  
  .banner-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  
  .banner-text p {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }
  
  .banner-links {
    gap: 0.3rem;
  }
  
  .banner-links .btn {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 576px) {
  .nav-container {
    padding: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-content {
    padding: 1rem 0;
  }
  
  .banner-container {
    height: 240px;
  }
  
  .banner-text h3 {
    font-size: 1.1rem;
  }
  
  .banner-text p {
    font-size: 0.75rem;
  }
  
  .banner-links .btn {
    padding: 4px 8px;
    font-size: 0.65rem;
  }
}

/* Modern Enhancements */

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

/* Enhanced focus states for accessibility */
.btn:focus,
.nav-link:focus {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

/* Improved text selection */
::selection {
  background-color: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background-color: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
}

/* Subtle loading state for better UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced particle system for hero */
.particles .particle {
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.4);
}