/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #f4f6fa;
  background: #0d1117;
  line-height: 1.6;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

.logo img {
  height: 60px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-links a:hover {
  color: #00d4ff;
  text-shadow: 0px 0px 8px rgba(0,212,255,0.7);
}

.auth-buttons .btn {
  margin-left: 1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-login {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-register {
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  border: none;
}

.btn-login:hover {
  background: #fff;
  color: #111;
}

.btn-register:hover {
  box-shadow: 0px 0px 12px rgba(0,212,255,0.7);
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem;
  min-height: 100vh;
  overflow: hidden;
  flex-wrap: wrap;
  color: #fff;
  background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #1e3c72, #2a5298);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}


.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.15;
  animation: moveStars 60s linear infinite;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}
 

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.hero .btn-primary {
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero .btn-primary:hover {
  box-shadow: 0px 0px 12px rgba(0,212,255,0.8);
}




/* Stats cards */
.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.stat-card h2 {
  font-size: 2rem;
  color: #00d4ff;
}

.stat-card p {
  font-size: 1rem;
  opacity: 0.8;
}

/* Image blending */
.hero-image img {
  width: 420px;
  max-width: 100%;
  border-radius: 1.5rem;
  animation: float 4s ease-in-out infinite;
  mix-blend-mode: screen;   /* blends image into background */
  opacity: 0.9;
  transition: transform 0.6s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
  opacity: 1;
}


/* Floating animation */
@keyframes float {
  0%   { transform: translateY(0) perspective(1000px) rotateY(10deg); }
  50%  { transform: translateY(-15px) perspective(1000px) rotateY(10deg); }
  100% { transform: translateY(0) perspective(1000px) rotateY(10deg); }
}

@keyframes moveStars {
  from { background-position: 0 0; }
  to { background-position: 1000px 1000px; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


 

/* Section Base */
.section {
  padding: 5rem 2rem;
  text-align: center;
  background: #0d1117;
}

.section:nth-child(even) {
  background: #111827;
}

.section-container {
  max-width: 1100px;
  margin: auto;
}

 
/* Roadmap Section */
/* Roadmap Section */
.roadmap {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.85;
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Line */
.timeline::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  z-index: 0;
}

/* Each Item */
.timeline-item {
  position: relative;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

/* Dot (Node) */
.timeline-dot {
  background: #00d4ff;
  color: #000;
  font-size: 1.6rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.6);
  transition: transform 0.3s, background 0.3s;
}

.timeline-dot:hover {
  transform: scale(1.2);
  background: #0077ff;
  color: #fff;
}

/* Content */
.timeline-content {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #00d4ff;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
  }
  .timeline::before {
    width: 4px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  .timeline-item {
    margin-bottom: 3rem;
  }
}



/* Services */
.service-grid, .team-grid, .roadmap-steps {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-card, .team-member, .step {
  background: linear-gradient(135deg, #1f2937, #374151);
  padding: 1.5rem;
  border-radius: 12px;
  flex: 1 1 250px;
  transition: transform 0.3s, box-shadow 0.3s;
  color: #e5e7eb;
}

.service-card:hover, .team-member:hover, .step:hover {
  transform: translateY(-12px);
  box-shadow: 0px 10px 20px rgba(0,212,255,0.2);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
  gap: 1rem;
}

.contact-form input, 
.contact-form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
}

.contact-form button {
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold; 
}

.contact-form button:hover {
  box-shadow: 0px 0px 15px rgba(0,212,255,0.7);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #0f172a;
  color: #94a3b8;
}

.menu-toggle{
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
.menu-toggle {
  width: 29px;
  height: 29px;
    display: block;
    margin-left: 1rem;
  }

  /* Hide nav by default */
  .nav-bar {
    display: none;
    position: absolute;
    top: 70px; /* below header */
    left: 10px; /* top-left corner of dashboard area */
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px;
    z-index: 1001;
  }

  /* Show nav when active */
  .nav-bar.active {
    display: block;
  }

  /* Nav links vertical on mobile */
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links li a {
    font-size: 14px;
    padding: 6px 8px;
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    margin-top: 2rem;
  }

  
}


.blob, .blob2 {
  z-index: 0;
}
.hero .overlay {
  z-index: 0;
}
.hero-content, .hero-image {
  position: relative;
  z-index: 1;
}


.blob {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, #00d4ff, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: blobMove 20s infinite alternate;
}

.blob2 {
  position: absolute;
  top: auto;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, #0077ff, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: blobMove2 25s infinite alternate;
}


 .chart-container {
      max-width: 700px;
      margin: 2rem auto;
    }
    .section-container p {
      max-width: 800px;
      margin: 1rem auto;
      line-height: 1.6;
    }
    .service-grid, .team-grid {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 2rem;
    }
    .service-card, .team-member {
      flex: 1 1 250px;
      padding: 1rem;
      border: 1px solid #eee;
      border-radius: 8px;
      text-align: center;
      background:#0f172a;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

@keyframes blobMove {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(200px, 200px) scale(1.5); }
}

@keyframes blobMove2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-200px, -200px) scale(1.3); }
}
