/* ------------------ GLOBAL ------------------ */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: #F1F5F9;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* TYPOGRAPHY */
h1 {
  font-size: clamp(36px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* ------------------ NAVBAR ------------------ */
.navbar {
  position: fixed;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
}

.nav-inner {
  width: 92%;
  max-width: 1200px;
  height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.nav-inner:hover {
  transform: translateY(-1px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  transition: opacity .2s ease;
}

nav a:hover {
  opacity: 0.65;
}

/* ------------------ HERO ------------------ */
.hero {
  padding-top: 160px;
  padding-bottom: 120px;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.8;
  margin: 20px 0 30px;
  color: #334155;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: #2563eb;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* GLASS SLIDER CARD */
.glass-card {
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  transition: transform .4s ease, box-shadow .4s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}

.glass-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.glass-card img.active {
  opacity: 1;
}

/* ------------------ INTRO ------------------ */
.intro {
  padding: 120px 0;
  background: #ffffff;
}

.intro-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
}

.intro-logo img {
  width: 180px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

.intro-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #0f172a;
  margin-bottom: 20px;
}

/* ------------------ WHY DIGISEVA ------------------ */
.why {
  padding: 120px 40px;
  text-align: center;
}

.why-grid {
  max-width: 1100px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.why-card {
  padding: 30px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  font-weight: 500;
  transition: transform .3s ease, box-shadow .3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 90px rgba(0,0,0,0.18);
}

.trust {
  margin-top: 20px;
  font-weight: 600;
  color: #2563eb;
}

/* ------------------ SERVICES ------------------ */
.services {
  background: #ffffff;
  padding: 120px 40px;
}

.services-grid {
  max-width: 1200px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-box {
  padding: 30px;
  min-height: 180px;
  border-radius: 16px;
  background: #F8FAFC;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* SERVICE ICONS */
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;

  background: rgba(37, 99, 235, 0.1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: #2563eb;
}

/* 3D GLASS CARD FOR SERVICES */
.glass-card-3d {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-card-3d:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.18);
}

.service-box h3 {
  margin-bottom: 10px;
}

.service-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}


.note {
  text-align: center;
  margin-top: 40px;
  font-weight: 500;
}

/* ------------------ COMPLIANCE ------------------ */
.compliance {
  padding: 120px 40px;
}

.compliance-box {
  max-width: 1000px;
  margin: auto;
  padding: 40px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  border-left: 5px solid #2563eb;
}

/* ------------------ FOOTER ------------------ */
.footer {
  text-align: center;
  padding: 40px;
  background: #020617;
  color: white;
}

/* ------------------ ANIMATIONS ------------------ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .7s cubic-bezier(.22,.61,.36,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------ MOBILE ------------------ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  nav {
    display: none;
  }
}


/* ------------------ OUR JOURNEY ------------------ */
.journey {
  padding: 120px 40px;
  background: #ffffff;
}

.journey-container {
  max-width: 1000px;
  margin: auto;
}

.timeline {
  margin-top: 60px;
  border-left: 2px solid rgba(15, 23, 42, 0.1);
  padding-left: 40px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -51px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #2563eb;
  border-radius: 50%;
}

.timeline-year {
  font-weight: 700;
  font-size: 16px;
  color: #2563eb;
}

.timeline-content {
  padding: 18px 22px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  font-size: 15px;
  line-height: 1.6;
  color: #0f172a;
}

/* MOBILE */
@media (max-width: 700px) {
  .timeline {
    padding-left: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-item::before {
    left: -29px;
  }
}

/* JOURNEY LEFT → RIGHT REVEAL */
.reveal-x {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(.22,.61,.36,1);
}

.reveal-x.active {
  opacity: 1;
  transform: translateX(0);
}

/* Slight delay between items (premium feel) */
.timeline-item:nth-child(1) { transition-delay: 0.05s; }
.timeline-item:nth-child(2) { transition-delay: 0.12s; }
.timeline-item:nth-child(3) { transition-delay: 0.18s; }
.timeline-item:nth-child(4) { transition-delay: 0.24s; }
.timeline-item:nth-child(5) { transition-delay: 0.30s; }
.timeline-item:nth-child(6) { transition-delay: 0.36s; }

/* MOBILE: switch to bottom-up */
@media (max-width: 700px) {
  .reveal-x {
    transform: translateY(40px);
  }

  .reveal-x.active {
    transform: translateY(0);
  }
}
/* ---------------- INDIA MAP (SIMPLEMAPS) ---------------- */
.coverage-section {
  padding: 120px 40px;
  background: #ffffff;
}

.coverage-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* GLASS MAP CARD */
.map-glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  padding: 20px;
}

/* MAP SIZE CONTROL */
#map {
  width: 100%;
  height: 520px;
}

/* LEGEND */
.coverage-legend {
  margin-top: 20px;
  font-size: 14px;
}

.legend {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border-radius: 3px;
}

.legend.primary {
  background: #2563EB;
}

.legend.secondary {
  background: #93C5FD;
}

/* MOBILE */
@media (max-width: 900px) {
  .coverage-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  #map {
    height: 420px;
  }
}
