/* HERO */
.hero {
  background: linear-gradient(rgba(11,19,43,0.8), rgba(28,28,28,0.8)),
              url('../images/inv.png') center/cover no-repeat;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero h1 { font-size: 3rem; color: #00F5D4; }
.hero p { font-size: 1.2rem; margin: 10px 0 20px; color: #e0e0e0; }
.hero-btns a {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-primary { background: #6C63FF; color: #fff; }
.btn-primary:hover { background: #5149d9; }
.btn-secondary { background: #00F5D4; color: #0B132B; }
.btn-secondary:hover { background: #00c3a4; }

/* ABOUT */
.about {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}
.about h2 { color: #6C63FF; }
.about p { max-width: 800px; margin: auto; }
.btn-link { color: #00F5D4; font-weight: 600; }

/* SERVICES */
.services {
  padding: 60px 20px;
  text-align: center;
  background: #F9FAFB;
}
.services h2 { color: #0B132B; }

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-link { text-decoration: none; color: inherit; display: block; }

.service-card {
  position: relative;
  flex: 1 1 250px;
  max-width: 280px;
  height: 200px;
  border-radius: 8px;
  background: #fff;  /* plain initially */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-card i {
  font-size: 2rem;
  color: #6C63FF;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.service-card h3 {
  color: #6C63FF;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-card p {
  opacity: 0;
  visibility: hidden;
  font-size: 0.95rem;
  color: #fff;
  margin-top: 10px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
  height: 40px;
}

/* IMAGE (hidden until hover) */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);   /* ✅ clean fix */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* GRADIENT overlay */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Hover */
.service-card:hover::before,
.service-card:hover::after { opacity: 1; }
.service-card:hover i { opacity: 0; }
.service-card:hover h3 { color: #fff; transform: translateY(-10px); }
.service-card:hover p { opacity: 1; visibility: visible; }

/* GLANCE */
.glance {
  padding: 60px 20px;
  background: #0B132B;
  text-align: center;
  color: #F9FAFB;
}
.glance h2 { color: #00F5D4; }
.glance-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}
.metric span {
  font-size: 2.5rem;
  font-weight: bold;
  color: #6C63FF;
}
.metric p { color: #ccc; }

/* WHY US */
.why-us {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}
.why-card {
  background: #F9FAFB;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.why-card i {
  font-size: 2rem;
  color: #00F5D4;
  margin-bottom: 10px;
}

/* CLIENTS */
.clients {
  padding: 60px 20px;
  background: #F9FAFB;
  text-align: center;
}
.client-logos img {
  height: 60px;
  margin: 10px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.client-logos img:hover { filter: grayscale(0); }

/* CTA */
.cta-banner {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(to right, #6C63FF, #00F5D4);
  color: #fff;
}
.cta-banner a {
  background: #fff;
  color: #0B132B;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
}
.cta-banner a:hover { background: #e0f7f6; }
