@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.gr-section-wrapper,
.gr-section-wrapper * {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gr-section-wrapper h1,
.gr-section-wrapper h2,
.gr-section-wrapper h3,
.gr-section-wrapper h4,
.gr-section-wrapper p,
.gr-section-wrapper span {
  margin: 0;
  padding: 0;
}

.gr-section-wrapper {
  --gr-bg: #0F1125;
  --gr-card-bg: rgba(18, 24, 40, 0.75);
  --gr-card-border: rgba(255, 255, 255, 0.08);
  --gr-card-hover-border: rgba(56, 189, 248, 0.4);
  --gr-text-main: #ffffff;
  --gr-text-muted: #94a3b8;
  --gr-accent-cyan: #38bdf8;
  --gr-accent-blue: #3b82f6;
  --gr-glow: rgba(56, 189, 248, 0.15);

  background-color: var(--gr-bg);
  color: var(--gr-text-main);
  padding: 50px 20px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.5;
  overflow: hidden;
  font-size: 16px;
}

.gr-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* -------------------------------------------------------------
   SCROLL REVEAL & ENTRANCE ANIMATIONS
------------------------------------------------------------- */
.gr-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.gr-reveal.gr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay Helpers */
.gr-delay-1 {
  transition-delay: 0.1s;
}

.gr-delay-2 {
  transition-delay: 0.2s;
}

.gr-delay-3 {
  transition-delay: 0.3s;
}

.gr-delay-4 {
  transition-delay: 0.4s;
}

.gr-delay-5 {
  transition-delay: 0.5s;
}

/* -------------------------------------------------------------
   1. HERO HEADER & ANIMATED TITLE / PILLS
------------------------------------------------------------- */
.gr-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Shimmering Metallic Gradient Title */
.gr-hero-title {
  font-size: 48px !important;
  font-weight: 800 !important;
  margin: 0 0 18px 0 !important;
  letter-spacing: -0.02em;
  line-height: 1.25 !important;
  background: linear-gradient(110deg, #ffffff 0%, #ffffff 40%, #7dd3fc 50%, #ffffff 60%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gr-shimmer-title 6s ease-in-out infinite;
}

@keyframes gr-shimmer-title {

  0%,
  100% {
    background-position: 200% 0;
  }

  50% {
    background-position: -200% 0;
  }
}

.gr-hero-subtitle {
  font-size: 18px !important;
  color: var(--gr-text-muted) !important;
  margin: 0 0 36px 0 !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

.gr-pills-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.gr-pill-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-card-border);
  padding: 12px 22px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.gr-pill-badge:hover {
  border-color: var(--gr-card-hover-border);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px var(--gr-glow);
}

.gr-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--gr-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.gr-pill-badge:hover .gr-pill-icon {
  background: rgba(56, 189, 248, 0.2);
  transform: rotate(12deg) scale(1.1);
}

/* Status Arrow Continuous Rotation */
.gr-pill-badge.gr-status-badge:hover .gr-pill-icon svg {
  animation: gr-spin-slow 2.5s linear infinite;
}

@keyframes gr-spin-slow {
  100% {
    transform: rotate(360deg);
  }
}

.gr-pill-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.gr-pill-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  color: var(--gr-text-muted) !important;
  text-transform: uppercase;
}

.gr-pill-value {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--gr-text-main) !important;
}

/* -------------------------------------------------------------
   2. PROJECT OBJECTIVES SECTION & CARDS
------------------------------------------------------------- */
.gr-objectives-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gr-section-heading {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: var(--gr-text-main) !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

.gr-objectives-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gr-objective-card {
  position: relative;
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-card-border);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

/* Top Shimmer Line on Hover */
.gr-objective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gr-accent-cyan), transparent);
  transition: left 0.6s ease;
}

.gr-objective-card:hover::before {
  left: 100%;
}

.gr-objective-card:hover {
  border-color: var(--gr-card-hover-border);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 24px var(--gr-glow);
}

.gr-obj-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--gr-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.gr-objective-card:hover .gr-obj-icon {
  transform: scale(1.15) rotate(6deg);
  background: rgba(56, 189, 248, 0.22);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.gr-obj-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.gr-obj-desc {
  font-size: 16px !important;
  color: var(--gr-text-muted) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  font-weight: 500 !important;
  transition: color 0.3s ease;
}

.gr-objective-card:hover .gr-obj-desc {
  color: #e2e8f0 !important;
}

/* -------------------------------------------------------------
   3. IMPACT & STATS GRID
------------------------------------------------------------- */
.gr-impact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

/* Left Featured Image Card with Ken-Burns Motion */
.gr-featured-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  border: 1px solid var(--gr-card-border);
  box-sizing: border-box;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.gr-featured-card:hover {
  border-color: var(--gr-card-hover-border);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px var(--gr-glow);
}

.gr-featured-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: gr-kenburns 24s ease-in-out infinite alternate;
}

@keyframes gr-kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.gr-featured-card:hover .gr-featured-bg {
  transform: scale(1.12);
}

.gr-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 14, 23, 0.15) 0%, rgba(11, 14, 23, 0.75) 50%, rgba(11, 14, 23, 0.95) 100%);
  z-index: 2;
}

.gr-featured-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gr-featured-tag {
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  color: var(--gr-accent-cyan) !important;
  text-transform: uppercase;
  display: inline-block;
  animation: gr-pulse-glow 3s ease-in-out infinite;
}

@keyframes gr-pulse-glow {

  0%,
  100% {
    opacity: 0.85;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  }
}

.gr-featured-stat {
  font-size: 72px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin: 4px 0 !important;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, color 0.4s ease;
}

.gr-featured-card:hover .gr-featured-stat {
  transform: scale(1.03) translateX(4px);
  color: #f0f9ff !important;
}

.gr-featured-desc {
  font-size: 18px !important;
  color: var(--gr-text-muted) !important;
  max-width: 440px;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Right Stat Stack Cards with Light Beam Sweep */
.gr-stats-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.gr-stat-card {
  position: relative;
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-card-border);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  flex: 1;
}

/* Hover Diagonal Sheen / Beam Sweep */
.gr-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.gr-stat-card:hover::before {
  left: 180%;
}

.gr-stat-card:hover {
  border-color: var(--gr-card-hover-border);
  transform: translateX(6px) translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.45), 0 0 18px var(--gr-glow);
}

.gr-stat-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gr-stat-number {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--gr-text-main) !important;
  letter-spacing: -0.02em;
  line-height: 1.15 !important;
  transition: color 0.3s ease, transform 0.3s ease;
}

.gr-stat-card:hover .gr-stat-number {
  color: #7dd3fc !important;
  transform: scale(1.02);
}

.gr-stat-label {
  font-size: 15px !important;
  color: var(--gr-text-muted) !important;
  font-weight: 500 !important;
}

.gr-stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  color: var(--gr-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.gr-stat-card:hover .gr-stat-icon-wrapper {
  transform: rotate(360deg) scale(1.12);
  background: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.gr-stat-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

/* -------------------------------------------------------------
   4. SMART DATA BANNER & REAL-TIME IOT RADAR PING
------------------------------------------------------------- */
.gr-banner-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px;
  border: 1px solid var(--gr-card-border);
  box-sizing: border-box;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.gr-banner-card:hover {
  border-color: var(--gr-card-hover-border);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px var(--gr-glow);
}

.gr-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s ease;
}

.gr-banner-card:hover .gr-banner-bg {
  transform: scale(1.04);
}

.gr-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11, 14, 23, 0.4) 0%, rgba(11, 14, 23, 0.85) 60%, rgba(11, 14, 23, 0.95) 100%);
  z-index: 2;
}

.gr-banner-glass-card {
  position: relative;
  z-index: 3;
  max-width: 480px;
  background: rgba(15, 21, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease;
}

.gr-banner-card:hover .gr-banner-glass-card {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
}

/* IoT Sensor Radar Pulse Animation */
.gr-banner-icon-container {
  position: relative;
  width: 46px;
  height: 46px;
}

.gr-banner-icon {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--gr-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gr-banner-icon svg {
  width: 24px;
  height: 24px;
}

/* Radar Pulse Rings */
.gr-radar-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 1px solid var(--gr-accent-cyan);
  z-index: 1;
  animation: gr-radar-ping 2.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

.gr-radar-ring.gr-ring-2 {
  animation-delay: 1.4s;
}

@keyframes gr-radar-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.gr-banner-title {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: var(--gr-text-main) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  letter-spacing: -0.02em;
}

.gr-banner-text {
  font-size: 16px !important;
  color: var(--gr-text-muted) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

/* -------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gr-objectives-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gr-impact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gr-hero-title {
    font-size: 32px !important;
  }

  .gr-hero-subtitle {
    font-size: 16px !important;
  }

  .gr-section-heading {
    font-size: 24px !important;
  }

  .gr-objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gr-banner-card {
    padding: 20px;
    justify-content: center;
    min-height: auto;
  }

  .gr-banner-glass-card {
    max-width: 100%;
    padding: 28px 24px;
  }

  .gr-banner-title {
    font-size: 22px !important;
  }

  .gr-featured-stat {
    font-size: 52px !important;
  }

  .gr-banner-overlay {
    background: linear-gradient(180deg, rgba(11, 14, 23, 0.3) 0%, rgba(11, 14, 23, 0.9) 100%);
  }
}

@media (max-width: 480px) {
  .gr-objectives-grid {
    grid-template-columns: 1fr;
  }

  .gr-pills-row {
    flex-direction: column;
    width: 100%;
  }

  .gr-pill-badge {
    width: 100%;
    box-sizing: border-box;
  }

  .gr-featured-card {
    padding: 24px;
    min-height: 320px;
  }
}