/* Index page styles */

/* Global font (professional startup style) */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  /* If you add Inter via Google Fonts, this can become:
     font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
     Roboto, "Helvetica Neue", Arial, sans-serif;
  */
}

/* Index spacing overrides */
.index-reduce-spaces section {
  padding: 18px 0;
}

.virtual-section {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.services-wrapper {
  padding-top: 10px !important;
}

/* Hero background and typography */
.page-hero {
  background: linear-gradient(135deg, #000000 0%, #001035 55%, #000614 100%);
  padding: 80px 12px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.72rem;            /* slightly larger for readability */
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 18px;
}

.page-hero p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* Services grid */
#Services {
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Better heading typography inside services */
.section-header h2 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 0.96rem;
  color: #9ca3af;
  max-width: 560px;
  margin: 12px auto 0;
}

/* Capability grid and cards */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 25px;
  margin-bottom: 35px;
}

.cap-card {
  border-radius: 20px;
  transition: 0.3s ease;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(136, 136, 136, 0.35);
}

.cap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(70, 70, 70, 0.85);
}

.cap-info {
  padding: 24px;
}

.cap-info h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;       /* smaller, clean */
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000000;
}

.cap-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #383838;
}

/* Vision box */
.vision-box {
  background: var(--grad);
  color: #fff;
  padding: 55px 35px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(3, 60, 190, 0.18);
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.vision-box::before {
  content: "“";
  position: absolute;
  left: 30px;
  font-size: 12rem;
  opacity: 0.12;
  font-family: "Georgia", "Times New Roman", serif; /* more elegant quote glyph */
}

.vision-box h3 {
  font-size: 1.4rem;          /* a bit smaller, refined */
  font-weight: 700;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}

.vision-box p {
  margin-top: 15px;
  opacity: 0.92;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vision-box {
    padding: 40px 24px;
  }

  .vision-box h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .index-reduce-spaces section {
    padding: 14px 0;
  }

  .vision-box {
    padding: 32px 18px;
    border-radius: 20px;
  }

  .vision-box h3 {
    font-size: 1.12rem;
    line-height: 1.5;
  }

  .vision-box p {
    font-size: 0.85rem;
  }

  .cap-info {
    padding: 20px;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  .page-hero p {
    font-size: 0.9rem;
  }
}