/* GovTech & Public Infrastructure — govtech.css v1 */

:root {
  --gt-navy:    #0B1E3D;
  --gt-slate:   #1E3A5F;
  --gt-blue:    #1A56DB;
  --gt-accent:  #4A90D9;
  --gt-silver:  #A8BFCF;
  --gt-bg:      #060D1A;
  --gt-bg2:     #080F1F;
  --gt-card:    #0C1628;
  --gt-border:  rgba(74, 144, 217, 0.14);
  --gt-glow:    rgba(74, 144, 217, 0.22);
}

/* ── SHARED ── */
.gt-accent {
  background: linear-gradient(135deg, #fff 0%, var(--gt-accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gt-section-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.gt-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--gt-accent); margin-bottom: 14px;
  font-family: 'Courier New', monospace;
}
.gt-section-header h2 { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 0; letter-spacing: -1px; }

/* ── CTA BUTTON ── */
.gt-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; background: linear-gradient(135deg, var(--gt-navy), var(--gt-blue));
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(26,86,219,0.3); text-decoration: none;
}
.gt-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(26,86,219,0.5); }
.gt-cta-btn i { color: #fff !important; -webkit-text-fill-color: #fff !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; transition: transform 0.2s; }
.gt-cta-btn:hover i { transform: translateX(4px); }
.gt-cta-large { font-size: 16px; padding: 18px 40px; }
.gt-cta-white { background: #fff !important; color: var(--gt-bg) !important; -webkit-text-fill-color: var(--gt-bg) !important; box-shadow: 0 8px 30px rgba(255,255,255,0.15) !important; }
.gt-cta-white i { color: var(--gt-bg) !important; -webkit-text-fill-color: var(--gt-bg) !important; }
.gt-cta-white:hover { box-shadow: 0 14px 40px rgba(255,255,255,0.28) !important; }

/* ── HERO ── */
.gt-hero {
  position: relative; min-height: 94vh; display: flex; align-items: center;
  justify-content: center; background: var(--gt-bg); padding: 130px 60px 80px;
  overflow: hidden; text-align: center;
}
.gt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.gt-hero-inner { position: relative; z-index: 10; max-width: 900px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.gt-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px;
  border: 1px solid rgba(74,144,217,0.35); border-radius: 50px;
  font-size: 11px; font-weight: 700; color: var(--gt-accent); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 30px;
  background: rgba(74,144,217,0.06);
}
.gt-hero-badge i { color: var(--gt-accent) !important; -webkit-text-fill-color: var(--gt-accent) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.gt-hero-title { font-size: 62px; font-weight: 900; color: #fff; line-height: 1.06; margin-bottom: 24px; letter-spacing: -2px; }
.gt-hero-sub { font-size: 18px; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 760px; margin-bottom: 48px; }

/* ── IMPACT BAR ── */
.gt-impact { background: var(--gt-bg2) !important; padding: 64px 60px; border-top: 1px solid var(--gt-border); border-bottom: 1px solid var(--gt-border); }
.gt-impact-grid { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1200px; margin: 0 auto; }
.gt-impact-item { text-align: center; padding: 20px 24px; border-right: 1px solid var(--gt-border); }
.gt-impact-item:last-child { border-right: none; }
.gt-impact-num { font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: -2px; background: linear-gradient(135deg, #fff, var(--gt-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; }
.gt-impact-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.42); text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.5; }

/* ── BENTO GRID (Mandates) ── */
.gt-mandates { background: var(--gt-bg) !important; padding: 100px 60px; }
.gt-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Shield-scan keyframe */
@keyframes gtShieldScan {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.gt-bento-card {
  position: relative; overflow: hidden;
  background: var(--gt-card);
  border: 1px solid var(--gt-border);
  border-radius: 20px; padding: 36px 36px 30px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}
/* shield-scan border animation on hover */
.gt-bento-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, transparent 0%, rgba(74,144,217,0.35) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gt-bento-card:hover::after {
  opacity: 1;
  animation: gtShieldScan 1.4s linear infinite;
}
.gt-bento-card:hover {
  border-color: rgba(74,144,217,0.55);
  box-shadow: 0 0 0 1px rgba(74,144,217,0.2), 0 20px 60px rgba(26,86,219,0.12);
}

.gt-card-glow {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(74,144,217,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.gt-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(74,144,217,0.14), rgba(26,86,219,0.14));
  border: 1px solid rgba(74,144,217,0.28);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.gt-card-icon i { font-size: 22px; color: var(--gt-accent) !important; -webkit-text-fill-color: var(--gt-accent) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.gt-bento-card h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.gt-bento-card p { font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.8; margin-bottom: 0; }

/* ── DE-RISKING FRAMEWORK (3-col hover-lift) ── */
.gt-derisking { background: var(--gt-bg2) !important; padding: 100px 60px; border-top: 1px solid var(--gt-border); }
.gt-derisking-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.gt-derisk-card {
  background: var(--gt-card); border: 1px solid var(--gt-border);
  border-radius: 20px; padding: 40px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gt-derisk-card:hover { transform: translateY(-6px); border-color: rgba(74,144,217,0.45); box-shadow: 0 20px 50px rgba(26,86,219,0.14); }
.gt-derisk-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(74,144,217,0.12), rgba(26,86,219,0.12));
  border: 1px solid rgba(74,144,217,0.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.gt-derisk-icon i { font-size: 24px; color: var(--gt-accent) !important; -webkit-text-fill-color: var(--gt-accent) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.gt-derisk-card h3 { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.3; }
.gt-derisk-card p { font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.8; margin: 0; }

/* ── CASE STUDIES CAROUSEL ── */
.gt-cases { background: var(--gt-bg) !important; padding: 100px 60px; overflow: hidden; }
.gt-carousel-wrap { max-width: 1200px; margin: 0 auto; }

/* Show all cards in a grid on desktop */
.gt-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: visible;
  scroll-snap-type: none;
  scrollbar-width: none;
  padding-bottom: 0;
}
.gt-carousel::-webkit-scrollbar { display: none; }

.gt-case-card {
  flex: unset;
  scroll-snap-align: unset;
  background: var(--gt-card); border: 1px solid var(--gt-border);
  border-radius: 20px; padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.gt-case-card:hover { border-color: rgba(74,144,217,0.38); transform: translateY(-4px); }
.gt-case-metric {
  font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -3px;
  background: linear-gradient(135deg, #fff 0%, var(--gt-accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px;
}
.gt-case-metric-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gt-accent); opacity: 0.7; margin-bottom: 22px; font-family: 'Courier New', monospace; }
.gt-case-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; background: rgba(74,144,217,0.08);
  border: 1px solid rgba(74,144,217,0.22); border-radius: 50px;
  font-size: 10px; font-weight: 700; color: var(--gt-accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.gt-case-tag i { color: var(--gt-accent) !important; -webkit-text-fill-color: var(--gt-accent) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.gt-case-card h3 { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.gt-case-section { margin-bottom: 14px; }
.gt-case-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gt-accent); opacity: 0.7; display: block; margin-bottom: 6px; font-family: 'Courier New', monospace; }
.gt-case-section p { font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.7; margin: 0; }
.gt-case-divider { border: none; border-top: 1px solid rgba(74,144,217,0.08); margin: 18px 0; }

.gt-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.gt-carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(74,144,217,0.08); border: 1px solid rgba(74,144,217,0.25);
  color: var(--gt-accent); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease; font-size: 14px;
}
.gt-carousel-btn:hover { background: rgba(74,144,217,0.18); border-color: rgba(74,144,217,0.5); }
.gt-carousel-btn i { color: var(--gt-accent) !important; -webkit-text-fill-color: var(--gt-accent) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.gt-carousel-dots { display: flex; gap: 8px; }
.gt-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(74,144,217,0.2); border: none; cursor: pointer; transition: all 0.25s ease; padding: 0; }
.gt-dot.active { background: var(--gt-accent); width: 24px; border-radius: 4px; }

/* Hide controls on desktop — all cards visible */
@media (min-width: 701px) {
  .gt-carousel-controls { display: none; }
}

/* ── FINAL CTA ── */
.gt-final-cta {
  position: relative; padding: 130px 60px; text-align: center;
  overflow: hidden; background: #030810 !important;
  border-top: 1px solid rgba(74,144,217,0.1);
}
.gt-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.gt-final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 50%, rgba(26,86,219,0.1) 0%, transparent 55%),
              radial-gradient(circle at 75% 50%, rgba(74,144,217,0.07) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.gt-final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.gt-final-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border: 1px solid rgba(74,144,217,0.28);
  border-radius: 50px; font-size: 11px; font-weight: 700;
  color: var(--gt-accent); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 28px; background: rgba(74,144,217,0.06);
}
.gt-final-badge i { color: var(--gt-accent) !important; -webkit-text-fill-color: var(--gt-accent) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.gt-final-cta h2 { font-size: 50px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
.gt-final-cta p { font-size: 17px; color: rgba(255,255,255,0.52); line-height: 1.75; margin-bottom: 44px; }

/* ── LIGHT THEME ──
   Follows the global orange design system (light-theme.css).
   Only overrides what the dark-mode base styles set explicitly. ── */
body.light-theme .gt-hero,
body.light-theme .gt-mandates,
body.light-theme .gt-cases,
body.light-theme .gt-final-cta { background: #ffffff !important; }
body.light-theme .gt-impact,
body.light-theme .gt-derisking { background: #f4f6fb !important; border-color: rgba(0,0,0,0.07) !important; }

/* section label & accent — orange system */
body.light-theme .gt-section-label { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }
body.light-theme .gt-accent { background: linear-gradient(135deg, #ff7b00, #e65c00) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }

/* headings */
body.light-theme .gt-section-header h2,
body.light-theme .gt-hero-title,
body.light-theme .gt-bento-card h3,
body.light-theme .gt-derisk-card h3,
body.light-theme .gt-case-card h3,
body.light-theme .gt-final-cta h2 { color: #1a1f3a !important; -webkit-text-fill-color: #1a1f3a !important; }

/* body text */
body.light-theme .gt-hero-sub,
body.light-theme .gt-bento-card p,
body.light-theme .gt-derisk-card p,
body.light-theme .gt-case-section p,
body.light-theme .gt-final-cta p { color: rgba(26,31,58,0.65) !important; -webkit-text-fill-color: rgba(26,31,58,0.65) !important; }

/* hero badge — orange system */
body.light-theme .gt-hero-badge { border-color: rgba(255,123,0,0.3) !important; background: #ffedd5 !important; color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }

/* impact numbers — orange gradient */
body.light-theme .gt-impact-num { background: linear-gradient(135deg, #ff7b00, #e65c00) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }
body.light-theme .gt-impact-item { border-right-color: rgba(0,0,0,0.08) !important; }
body.light-theme .gt-impact-label { color: rgba(26,31,58,0.5) !important; -webkit-text-fill-color: rgba(26,31,58,0.5) !important; }

/* cards */
body.light-theme .gt-bento-card,
body.light-theme .gt-derisk-card,
body.light-theme .gt-case-card { background: #fff !important; border-color: rgba(0,0,0,0.1) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; }
body.light-theme .gt-bento-card:hover,
body.light-theme .gt-derisk-card:hover,
body.light-theme .gt-case-card:hover { border-color: rgba(255,123,0,0.3) !important; box-shadow: 0 12px 40px rgba(255,123,0,0.1) !important; }

/* card icon boxes — orange */
body.light-theme .gt-card-icon { background: #ffedd5 !important; border-color: rgba(255,123,0,0.25) !important; }
body.light-theme .gt-derisk-icon { background: #ffedd5 !important; border-color: rgba(255,123,0,0.25) !important; }
body.light-theme .gt-card-glow { background: radial-gradient(circle, rgba(255,123,0,0.05) 0%, transparent 70%) !important; }

/* case metric & labels — orange */
body.light-theme .gt-case-metric { background: linear-gradient(135deg, #ff7b00, #e65c00) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }
body.light-theme .gt-case-metric-label { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; opacity: 1 !important; }
body.light-theme .gt-case-label { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; opacity: 1 !important; }
body.light-theme .gt-case-divider { border-top-color: rgba(0,0,0,0.08) !important; }

/* case tag — orange */
body.light-theme .gt-case-tag { background: #ffedd5 !important; border-color: rgba(255,123,0,0.25) !important; color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }

/* carousel controls — orange */
body.light-theme .gt-carousel-btn { background: #ffedd5 !important; border-color: rgba(255,123,0,0.3) !important; }
body.light-theme .gt-carousel-btn:hover { background: #ffdbb5 !important; border-color: rgba(255,123,0,0.5) !important; }
body.light-theme .gt-dot { background: rgba(255,123,0,0.2) !important; }
body.light-theme .gt-dot.active { background: #ff7b00 !important; }

/* final CTA */
body.light-theme .gt-final-cta::before { background: radial-gradient(circle at 25% 50%, rgba(255,123,0,0.05) 0%, transparent 55%), radial-gradient(circle at 75% 50%, rgba(230,92,0,0.04) 0%, transparent 55%) !important; }
body.light-theme .gt-final-badge { border-color: rgba(255,123,0,0.3) !important; background: #ffedd5 !important; color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }

/* CTA buttons — orange system */
body.light-theme .gt-cta-btn { background: #ff7b00 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: 0 8px 30px rgba(255,123,0,0.3) !important; }
body.light-theme .gt-cta-btn:hover { background: #e65c00 !important; box-shadow: 0 14px 40px rgba(255,123,0,0.4) !important; }
body.light-theme .gt-cta-white { background: #ff7b00 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: 0 8px 30px rgba(255,123,0,0.3) !important; }
body.light-theme .gt-cta-white:hover { background: #e65c00 !important; box-shadow: 0 14px 40px rgba(255,123,0,0.4) !important; }
body.light-theme .gt-cta-white i { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .gt-bento-grid { grid-template-columns: 1fr; }
  .gt-derisking-grid { grid-template-columns: 1fr; }
  .gt-impact-grid { grid-template-columns: repeat(2,1fr); }
  .gt-impact-item:nth-child(2) { border-right: none; }
  .gt-impact-item:nth-child(3) { border-top: 1px solid var(--gt-border); }
}
@media (max-width: 700px) {
  .gt-hero-title { font-size: 36px; }
  .gt-section-header h2 { font-size: 30px; }
  .gt-final-cta h2 { font-size: 32px; }
  .gt-hero, .gt-mandates, .gt-derisking, .gt-cases, .gt-final-cta, .gt-impact { padding-left: 24px; padding-right: 24px; }
  /* Restore scroll carousel on mobile */
  .gt-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gt-case-card { flex: 0 0 300px; scroll-snap-align: start; transform: none !important; }
  .gt-carousel-controls { display: flex; }
  .gt-case-metric { font-size: 48px; }
  .gt-impact-grid { grid-template-columns: 1fr 1fr; }
}
