body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: white;
  background: black;
  overflow-x: hidden;
}

/* BACKGROUND IMAGE */
.bg-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px) brightness(0.6);
  z-index: -2;
  transition: background-image 0.5s ease;  
}

/* PARTICLES LAYER */
.particles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.case ul {
  margin-top: 10px;
  padding-left: 18px;
  opacity: 0.9;
}

.case h3 {
  color: #38BDF8;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 16px;
  line-height: 1.8;
}

.timeline div {
  padding: 12px;
  border-left: 3px solid #2563EB;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  align-items: center;
  padding: 18px 50px;
  gap: 20px;  /* ← Flexible spacing */
  backdrop-filter: blur(25px);
  background: rgba(15, 23, 42, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
  box-sizing: border-box;
}
nav {
  flex: 1;  /* ← Takes remaining space, not rigid */
  display: flex;
  justify-content: center;
 
}

.navb {
 display: flex;
 flex-direction: row;
   
  gap: 30px;
}

.logo {
  font-weight: 700;
}

.logo span {
  color: #F59E0B;
}

nav a {
  margin: 0;
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

nav a:hover {
  opacity: 1;
}

/* BUTTON */


/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 140px 80px;
}
.hero-content {
  flex: 1;  /* ← Takes available space */
}

.title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff, #38BDF8, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  opacity: 0.8;
  margin-top: 10px;
}

.buttons {
  margin-top: 50px;
}

.btn {
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  margin-right: 10px;
}

.primary {
  background: #2563EB;
  color: white;
}

.secondary {
  border: 1px solid white;
  color: white;
}

/* STATS */
.stats {
  display: flex;
  margin-top: 40px;
}

.stats div {
  margin-right: 30px;
}

.stats span {
  font-size: 24px;
  font-weight: bold;
}

/* GLASS CARD */
.glass-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 20px;
  width: 100%;
   max-width: 300px; 
}
.glass-card img {
  width: 100%;  /* ← Fill container */
  height: auto;
  display: block;  /* ← Remove inline spacing */
   border-radius: 20px;
}

/* SECTIONS */
.section {
  padding: 80px;
}

h2 {
  font-size: 32px;
}

/* GLASS BOX */
.glass {
  background: rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(20px);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(20px);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  opacity: 0.6;
}

/* CONTACT */
.contact-box {
  text-align: center;
}
.mouse-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.25), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}
@media (max-width: 900px) {

  .hero {
    flex-direction: column;
    padding: 120px 30px;
  }
  .hero-image { display:flex; justify-content:center; }

  nav {
    display: none;
  }

  
  .navbar {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .section {
    padding: 50px 25px;
  }

  .title {
    font-size: 32px;
  }

}
.footer {
  padding: 60px;
  text-align: center;
}

.small {
  opacity: 0.6;
  font-size: 12px;
}
html {
  scroll-behavior: smooth;
}

.section {
  max-width: 1200px;
  margin: auto;
}

.card {
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

.btn {
  transition: 0.3s ease;
}

.primary:hover {
  transform: scale(1.05);
  background: #51586c;
  cursor: pointer;
}
/* Modal background overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  align-items: center;
  justify-content: center;
}

/* Modal box */
.modal-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);

  animation: modalFade 0.3s ease;
}

/* Inputs */
.modal-content input,
.modal-content textarea {
 
  padding: 14px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
}

.modal-content textarea {
  height: 100px;
  resize: none;
}

/* Button */
.modal-content button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.modal-content button:hover {
  opacity: 0.9;
}

/* Animation */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-content h3 {
  color: #38BDF8;
  
}