/* =========================================================
   IGRID LAB – ELITE RESEARCH CENTRE CSS
   Authoritative, Cinematic, Institutional
   ========================================================= */

:root {
  --navy-deep: #071a2d;
  --navy-mid: #0b2a45;
  --steel: #1e3a5f;
  --crimson: #c62828;
  --gold: #f5a623;
  --white: #ffffff;
  --muted: #cfd8e3;
  --soft: #f4f6f9;
  --dark-text: #1c1c1c;
}

/* =========================================================
   GLOBAL RESET + BASE
   ========================================================= */
#igrid-root {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Montserrat", sans-serif;
  color: var(--dark-text);
  background: #ffffff;
}

.igrid-section {
  margin-bottom: 90px;
}

.igrid-section h2 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
  color: var(--navy-deep);
  letter-spacing: 0.3px;
}

.igrid-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 5px;
  height: 75%;
  background: linear-gradient(180deg, var(--crimson), var(--gold));
  border-radius: 3px;
}

.igrid-section p {
  font-size: 15.5px;
  line-height: 1.95;
  color: #2f2f2f;
  margin-bottom: 12px;
}

/* =========================================================
   ELITE HERO SECTION
   ========================================================= */
.igrid-hero-elite {
  position: relative;
  min-height: 50vh;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #123a5f, #071a2d 70%);
  margin-bottom: 110px;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 26, 45, 0.96),
    rgba(30, 58, 95, 0.88)
  );
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: 2;
  opacity: 0.35;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  padding: 90px 80px;
  color: var(--white);
}

.hero-left h1 {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.hero-left h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-left p {
  font-size: 15.8px;
  line-height: 2;
  color: #e3ebf3;
  max-width: 740px;
}

.hero-badges {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges span {
  padding: 10px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}

.hero-badges span:hover {
  background: linear-gradient(135deg, var(--crimson), var(--gold));
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Hero Right Stats */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.hero-stat:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
}

.hero-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
}

.hero-stat span {
  font-size: 13px;
  color: #dfe9f3;
  letter-spacing: 0.4px;
}

/* =========================================================
   MEANING / ACRONYM
   ========================================================= */
.meaning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.meaning-card {
  background: linear-gradient(135deg, #ffffff, #f5f7fa);
  padding: 28px;
  border-radius: 16px;
  font-weight: 600;
  border: 1px solid #e2e6ea;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.meaning-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.09);
}

.meaning-card span {
  font-size: 26px;
  font-weight: 900;
  color: var(--crimson);
  margin-right: 10px;
}

/* =========================================================
   VISION
   ========================================================= */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 30px;
}

.vision-tile {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #e1e5ea;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.vision-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(198, 40, 40, 0.1),
    rgba(245, 166, 35, 0.08)
  );
  opacity: 0;
  transition: 0.4s ease;
}

.vision-tile:hover::after {
  opacity: 1;
}

.vision-tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.vision-tile i {
  font-size: 34px;
  color: var(--crimson);
  margin-bottom: 14px;
}

/* =========================================================
   DARK NARRATIVE BLOCK
   ========================================================= */
.dark-narrative {
  background: linear-gradient(135deg, #071a2d, #0b2a45);
  padding: 70px;
  border-radius: 22px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dark-narrative::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 10%,
      rgba(255, 255, 255, 0.06),
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(255, 255, 255, 0.05),
      transparent 40%
    );
}

.dark-narrative h2 {
  color: #ffffff;
}

.dark-narrative p {
  color: #dfe9f3;
}

.big-statement {
  margin-top: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 6px solid var(--gold);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: 0.4px;
}

/* =========================================================
   ECOSYSTEM
   ========================================================= */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
}

.ecosystem-card {
  background: linear-gradient(135deg, #ffffff, #f6f8fb);
  padding: 34px;
  border-radius: 18px;
  border-left: 6px solid var(--crimson);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   DOMAINS
   ========================================================= */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.domain-box {
  background: linear-gradient(135deg, #071a2d, #1e3a5f);
  color: #ffffff;
  padding: 18px 16px;
  text-align: center;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: all 0.35s ease;
}

.domain-box:hover {
  background: linear-gradient(135deg, var(--crimson), var(--gold));
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   TIMELINE / PROGRAM
   ========================================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 34px;
  margin-top: 30px;
}

.timeline-item {
  background: #ffffff;
  padding: 32px;
  border-radius: 18px;
  border-top: 6px solid var(--crimson);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.timeline-item span {
  font-size: 12px;
  font-weight: 900;
  color: var(--crimson);
  letter-spacing: 0.6px;
}

/* =========================================================
   INFRASTRUCTURE
   ========================================================= */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.infra-card {
  background: linear-gradient(135deg, #ffffff, #f3f6fa);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #e1e5ea;
  text-align: center;
  font-weight: 700;
  transition: all 0.35s ease;
}

.infra-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   GALLERY
   ========================================================= */
.igrid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.igrid-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.4s ease;
}

.igrid-gallery img:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   CONTACT – ELITE INSTITUTIONAL
   ========================================================= */
.igrid-contact-elite {
  position: relative;
  background: linear-gradient(135deg, #071a2d, #0b2a45);
  border-radius: 26px;
  padding: 100px 90px;
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 80px;
}

.igrid-contact-elite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 10%,
      rgba(255, 255, 255, 0.06),
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(255, 255, 255, 0.05),
      transparent 40%
    );
}

.contact-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
}

.contact-left h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-left h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-left p {
  font-size: 15.5px;
  line-height: 1.95;
  color: #e3ebf3;
  margin-bottom: 14px;
}

.contact-accent-line {
  width: 90px;
  height: 5px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  margin: 26px 0;
  border-radius: 3px;
}

.contact-note {
  font-size: 14px;
  color: #cfd8e3;
  font-style: italic;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-card-elite {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 28px 30px;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.contact-card-elite:hover {
  transform: translateX(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.contact-card-elite i {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 10px;
  display: inline-block;
}

.contact-card-elite h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-card-elite p {
  font-size: 14.5px;
  color: #e3ebf3;
  line-height: 1.75;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-content-wrap,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-content-wrap {
    padding: 60px 40px;
  }

  .igrid-contact-elite {
    padding: 70px 40px;
  }

  .hero-right {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1 1 45%;
  }

  .dark-narrative {
    padding: 50px 35px;
  }
}
