* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #02030a;
  color: #ffffff;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(65, 105, 225, 0.23), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(30, 144, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(106, 90, 205, 0.16), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 45%);
  z-index: -4;
}

.background-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent 85%);
  z-index: -3;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.04), transparent 20%),
    linear-gradient(to top, rgba(65, 105, 225, 0.07), transparent 30%);
  z-index: -2;
  pointer-events: none;
}

.hero {
  min-height: 100vh;
  padding: 28px 7%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.glass-nav {
  position: sticky;
  top: 20px;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  padding: 16px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #f4f8ff;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #d9e8ff;
  font-size: 15px;
  transition: 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #8db9ff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #7aa8ff, #d7e4ff);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero-content {
  max-width: 1200px;
  padding: 90px 0 180px;
  margin: 0 auto;
}

.eyebrow {
  color: #a8c8ff;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: -3px;
  margin-bottom: 28px;
  max-width: 1050px;
}

.gradient-text {
  background: linear-gradient(90deg, #dce9ff 0%, #8ab4ff 30%, #5b7fff 60%, #cfdcff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 220% auto;
  animation: gradientShift 7s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.hero-text {
  max-width: 760px;
  font-size: 24px;
  line-height: 1.75;
  color: #e7eeff;
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.primary {
  background: linear-gradient(135deg, #4169e1, #2747c7, #1f3fae);
  color: white;
  box-shadow: 0 12px 38px rgba(65, 105, 225, 0.45);
}

.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.btn:hover {
  transform: translateY(-5px) scale(1.02);
}

.primary:hover {
  box-shadow: 0 18px 45px rgba(65, 105, 225, 0.55);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, transparent, #02030a);
  pointer-events: none;
}

.section {
  width: min(1150px, 88%);
  margin: 0 auto;
  padding: 120px 0;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #a7c8ff;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
}

.section-title {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  color: #f4f8ff;
}

.section p {
  max-width: 840px;
  font-size: 19px;
  line-height: 1.9;
  color: #d3dcef;
}

.projects-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}

.project-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  padding: 32px;
  backdrop-filter: blur(18px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(138, 180, 255, 0.45);
  box-shadow: 0 22px 60px rgba(65, 105, 225, 0.2);
}

.project-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
  color: #f7fbff;
}

.project-card p {
  font-size: 17px;
  line-height: 1.75;
}

.contact-lines p {
  margin-bottom: 10px;
}

.footer {
  width: min(1150px, 88%);
  margin: 0 auto;
  padding: 0 0 40px;
  color: #95a7c5;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 0.95s ease, transform 0.95s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(35px);
  animation: heroFade 0.9s ease forwards;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.15s;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.35s;
}

.hero-content > *:nth-child(3) {
  animation-delay: 0.55s;
}

.hero-content > *:nth-child(4) {
  animation-delay: 0.75s;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .logo {
    text-align: center;
    font-size: 21px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 60px 0 100px;
  }

  .hero-text,
  .section p {
    font-size: 17px;
  }

  .project-card {
    border-radius: 24px;
  }
}
strong {
  color: #cfe0ff;
}

.project-card h3 {
  background: linear-gradient(90deg, #ffffff, #9fc2ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


.contact-lines a {
  color: #bcd4ff;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-lines a:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(65, 105, 225, 0.45);
}
.animated-heading {
  transform-origin: center;
  will-change: transform, filter;
}

.hero-title {
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.04);
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #b7c8ff 20%, #8f6bff 50%, #6ea8ff 75%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 250% auto;
  animation: gradientShift 6s ease infinite, glowPulse 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(123, 104, 238, 0.22));
}

@keyframes headingFloat {
  0% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes glowPulse {
  0% {
    filter: drop-shadow(0 0 8px rgba(123, 104, 238, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(123, 104, 238, 0.35));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(123, 104, 238, 0.18));
  }
}
.word-reveal-heading .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  animation: wordReveal 0.9s ease forwards;
}

.word-reveal-heading .word:nth-child(1) {
  animation-delay: 0.15s;
}

.word-reveal-heading .word:nth-child(2) {
  animation-delay: 0.3s;
}

.word-reveal-heading .word:nth-child(3) {
  animation-delay: 0.45s;
}

.word-reveal-heading .word:nth-child(4) {
  animation-delay: 0.6s;
}

.word-reveal-heading .word:nth-child(6) {
  animation-delay: 0.8s;
}

.word-reveal-heading .word:nth-child(7) {
  animation-delay: 0.95s;
}

.word-reveal-heading .word:nth-child(8) {
  animation-delay: 1.1s;
}

@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.slideshow-wrapper {
  position: relative;
  width: min(1100px, 88%);
  margin: 40px auto 0;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(65, 105, 225, 0.2);
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 520px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.slide-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 3;
}

.slide-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font-size: 30px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: 0.3s ease;
}

.slide-btn:hover {
  background: rgba(65, 105, 225, 0.55);
  transform: scale(1.08);
}

.slide-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.active {
  background: #7da8ff;
  box-shadow: 0 0 16px rgba(125, 168, 255, 0.8);
}

@media (max-width: 768px) {
  .slideshow-track {
    height: 300px;
  }

  .slide-btn {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}
.hero-slideshow {
  position: relative;
  width: 360px;
  height: 430px;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 25px 70px rgba(65, 105, 225, 0.28);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.94);
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-dot.active {
  background: #8faeff;
  box-shadow: 0 0 18px rgba(143, 174, 255, 0.8);
}

.hero-slideshow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18), transparent 35%);
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-slideshow {
    width: 300px;
    height: 360px;
  }
}
.hero-text strong {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(143, 174, 255, 0.28);
}
.hero-text-centered {
  max-width: 900px;
  margin: 30px auto 40px auto;
  text-align: center;
  font-size: 30px;
  line-height: 1.75;
  color: #eef3ff;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.hero-name-glow {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(138, 174, 255, 0.35);
}

.hero-gradient-word {
  background: linear-gradient(90deg, #ffffff 0%, #9ec2ff 25%, #8d7bff 50%, #5fb7ff 75%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 220% auto;
  animation: heroWordShift 5s ease infinite;
}

@keyframes heroWordShift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

@media (max-width: 900px) {
  .hero-text-centered {
    font-size: 22px;
    max-width: 95%;
  }
}

@media (max-width: 600px) {
  .hero-text-centered {
    font-size: 18px;
    line-height: 1.65;
  }
}
.hero-left .eyebrow,
.hero-left .hero-title {
  text-align: center;
}