* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* adjust based on navbar height */
}
body {
  font-family: 'Inter', sans-serif;
  background: #07090f;
  color: #fff;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 15, 0.6);
 -webkit-backdrop-filter: blur(18px);
backdrop-filter: blur(18px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

/* LOGO */
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #8b90a3;
  font-size: 0.9rem;
  transition: 0.3s;
}

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

/* BUTTON */
.nav-btn {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  padding: 10px 20px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
}

/* MENU ICON */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* MOBILE MENU (SLIDE) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #07090f;
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: 0.3s ease;
  z-index: 999;
}

.mobile-menu a {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
}

.mobile-menu.show {
  right: 0;
}

/* HERO */
.hero {
  height: 100vh; /* full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px; /* 🔥 remove extra spacing */

  background:
    radial-gradient(circle at 15% 30%, rgba(139,92,246,0.15), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(59,130,246,0.12), transparent 40%),
    #07090f;
}

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

/* BADGE */
.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 25px;
  font-size: 0.8rem;
  color: #9aa0b5;
}

/* TITLE */
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero h1 span {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TEXT */
.hero p {
  margin: 22px 0;
  color: #8b90a3;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  padding: 14px 28px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  width: auto;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 28px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {

  .nav-links,
  .nav-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

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

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}


/* ===== ABOUT SECTION (FIXED) ===== */
.about {
  padding: 40px 20px 100px;
  text-align: center;
}
section {
  scroll-margin-top: 90px;
}
/* HEADER */
.about-header {
  max-width: 750px;
text-align: center;
  margin: auto;
}

/* LABEL */
.section-label {
  color: #8b5cf6;
  font-size: 0.75rem;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

/* TITLE */
.about h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* GRADIENT TEXT */
.about h2 span {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.section-desc {
  color: #8b90a3;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

/* CARDS GRID */
.about-cards {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* tighter spacing */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* CARD */
.about-card {
  padding: 35px 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.4);
}

/* ICON */
.icon-box {
  width: 55px;
  height: 55px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* TEXT */
.about-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.about-card p {
  color: #8b90a3;
  font-size: 0.9rem;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  .about {
    padding: 100px 20px 80px;
  }

  .about h2 {
    font-size: 2.1rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 50px;
  }

}


.services {
  padding: 100px 10%;
  background: #0b0f1a;
  text-align: center;
  color: white;
}

.subtitle {
  color: #7c5cff;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 10px;
}

.title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 60px;
}

.title span {
  color: #7c5cff;
}

/* Cards Layout */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Card Design */
.card {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hover Effect */
.card:hover {
  transform: translateY(-10px);
  border-color: #7c5cff;
  box-shadow: 0 0 25px rgba(124, 92, 255, 0.3);
}

/* Icon */
.icon {
  font-size: 28px;
  margin-bottom: 15px;
  color: #7c5cff;
}

/* Text */
.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: #b0b3c0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 100px 20px;
  text-align: center;
}

/* TITLE */
.portfolio-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  margin-bottom: 50px; /* spacing after title */
}

.portfolio-title span {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ITEM */
.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

/* IMAGE */
.portfolio-item img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: 0.4s ease;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.4s ease;
}

/* TEXT */
.overlay h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.overlay p {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 10px;
}

.overlay a {
  color: #8b5cf6;
  font-size: 0.85rem;
  text-decoration: none;
}

/* HOVER EFFECT */
.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .portfolio-title {
    font-size: 2rem;
  }

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

/* ===== WHY US ===== */
.why-us {
  padding: 100px 20px;
  text-align: center;
}

/* TITLE */
.why-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 70px;
}

.why-title span {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */
.why-card {
  text-align: center;
}

/* ICON */
.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* TITLE */
.why-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* TEXT */
.why-card p {
  font-size: 0.9rem;
  color: #8b90a3;
  line-height: 1.6;
  max-width: 220px;
  margin: auto;
}

@media (max-width: 768px) {
  .why-title {
    font-size: 2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 20px;
  text-align: center;
}

.contact-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 60px;
}

.contact-title span {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 16px;
  border-radius: 12px;
  color: white;
  font-size: 0.9rem;
  outline: none;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8b5cf6;
}

.contact-form button {
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

/* RIGHT SIDE */
.contact-info {
  text-align: left;
}

.contact-info p {
  color: #8b90a3;
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: #8b90a3;
  font-size: 0.85rem;
}

/* SOCIAL ICONS */
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  color: #8b90a3;
  font-size: 18px;
  transition: 0.3s;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
}
.socials a:hover {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {

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

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

  .contact-info {
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
  }

}