@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #07111f;
  color: #e5eefb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-container {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #38bdf8;
  font-size: 1.4rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

.nav-button {
  background: #38bdf8;
  color: #07111f;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s;
}

.nav-button:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 70px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 35%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 35%),
    linear-gradient(135deg, #07111f, #0f172a);
}

.hero-container {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #cbd5e1;
  max-width: 760px;
}

.hero-buttons,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.btn-primary {
  background: #25d366;
  color: #07111f;
}

.btn-primary:hover {
  background: #1fb85a;
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e5eefb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px;
  border-radius: 18px;
}

.hero-stats strong {
  display: block;
  color: #38bdf8;
  margin-bottom: 6px;
}

.hero-stats span {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.hero-image-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.hero-image-box img {
  border-radius: 28px;
}

.section {
  padding: 90px 24px;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header span {
  color: #38bdf8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 14px 0;
  color: #ffffff;
}

.section-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
}

.services,
.why {
  background: #0f172a;
}

.projects,
.videos {
  background: #07111f;
}

.cards-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: #111c2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.card i {
  width: 52px;
  height: 52px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: #94a3b8;
  line-height: 1.7;
}

.projects-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  background: #111c2e;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.project-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #0f172a;
}

.project-content {
  padding: 24px;
}

.project-content h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.project-content p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
}

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

.tags span,
.tech-list span {
  background: rgba(56, 189, 248, 0.1);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.about {
  background: #0f172a;
}

.about-container {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 22px;
}

.about p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-box {
  background: #111c2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
}

.about-box h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.video-card {
  background: #111c2e;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card h3 {
  color: #ffffff;
  margin-bottom: 16px;
}

.video-card iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 16px;
}

.contact {
  padding: 90px 24px;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.18), transparent 40%),
    #07111f;
}

.contact-box {
  max-width: 900px;
  margin: auto;
  text-align: center;
  background: #111c2e;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 32px;
  padding: 50px 30px;
}

.contact-box h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.contact-box p {
  color: #cbd5e1;
  line-height: 1.8;
  max-width: 680px;
  margin: auto;
}

.contact-buttons {
  justify-content: center;
}

.footer {
  text-align: center;
  padding: 28px;
  background: #050b14;
  color: #94a3b8;
}

@media (max-width: 980px) {
  .hero-container,
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-box {
    max-width: 360px;
    margin: auto;
  }

  .cards-grid,
  .projects-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.menu-toggle {
  display: none;
  width: 32px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #38bdf8;
  border-radius: 999px;
  transition: 0.3s;
}

.mobile-budget-button {
  display: none;
}
@media (max-width: 720px) {
  .navbar-container {
    position: relative;
    padding: 16px 20px;
  }

  .nav-button {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;

    display: none;
    flex-direction: column;
    gap: 0;

    padding: 18px;
    background: #111c2e;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    text-align: center;
  }

  .nav-links .mobile-budget-button {
    display: block;
    margin-top: 10px;
    padding: 13px 18px;
    background: #38bdf8;
    color: #07111f;
    border-radius: 999px;
    font-weight: 800;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
  }

  .hero {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

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

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

  .cards-grid,
  .projects-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 20px;
  }

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

  .contact-box {
    padding: 38px 20px;
  }

  .project-card img {
    height: 190px;
  }
}