/*
 * TGI Inner Page — Shared Enterprise Stylesheet v3.0
 * Techstas Global Innovations
 * Apply to all inner pages for consistent green enterprise theme.
 * Requires: enterprise.css (design tokens), Bootstrap Icons CDN
 */

/* ── Google Fonts import (Syne + Inter) ─────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--tgi-text, #1a2520);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--tgi-darker, #041f1a);
}

/* ── Page offset for fixed nav (topbar 40px + header 72px) */
.tgi-page-body {
  padding-top: 112px;
}

/* ── Page Hero ──────────────────────────────────────────── */
.tgi-page-hero {
  background: var(--grad-hero, linear-gradient(135deg, #041f1a 0%, #06322c 60%, #488f82 100%));
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.tgi-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(45,212,170,.1) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(72,143,130,.12) 0%, transparent 55%);
}
/* Grid overlay for texture */
.tgi-page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(72,143,130,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,143,130,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.tgi-page-hero .container { position: relative; z-index: 2; }

.tgi-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.tgi-breadcrumb a {
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .2s;
}
.tgi-breadcrumb a:hover { color: #2dd4aa; }
.tgi-breadcrumb .sep { color: rgba(255,255,255,.25); }
.tgi-breadcrumb .current { color: #2dd4aa; }

.tgi-page-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,212,170,.12);
  border: 1px solid rgba(45,212,170,.3);
  color: #2dd4aa;
  padding: 6px 16px; border-radius: 40px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px;
}

.tgi-page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 800; line-height: 1.1;
  color: #ffffff;
  margin-bottom: 18px;
}
.tgi-page-title .accent {
  background: linear-gradient(135deg, #2dd4aa 0%, #488f82 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tgi-page-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.62);
  max-width: 580px;
  margin-bottom: 32px;
}

.tgi-hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-tgi-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #488f82 0%, #06322c 100%);
  color: #ffffff !important;
  padding: 13px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 4px 20px rgba(72,143,130,.35);
}
.btn-tgi-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-tgi-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(45,212,170,.5);
  color: #2dd4aa !important;
  padding: 12px 26px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: all .25s;
}
.btn-tgi-outline:hover {
  border-color: #2dd4aa;
  background: rgba(45,212,170,.08);
  color: #fff !important;
}

/* ── Section Wrapper ────────────────────────────────────── */
.tgi-section {
  padding: 72px 0;
}
.tgi-section-sm { padding: 48px 0; }
.tgi-section-dark {
  background: var(--grad-dark, linear-gradient(180deg, #041f1a 0%, #06322c 100%));
}
.tgi-section-green-light {
  background: linear-gradient(180deg, #f0fdf8 0%, #ffffff 100%);
}
.tgi-section-ivory { background: #f8faf9; }

/* ── Section Header ─────────────────────────────────────── */
.tgi-sec-label {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tgi-primary, #488f82);
  margin-bottom: 10px;
}
.tgi-section-dark .tgi-sec-label { color: #2dd4aa; }

.tgi-sec-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800; line-height: 1.15;
  color: var(--tgi-darker, #041f1a);
  margin-bottom: 14px;
}
.tgi-section-dark .tgi-sec-title { color: #ffffff; }
.tgi-sec-title .accent { color: var(--tgi-primary, #488f82); }
.tgi-section-dark .tgi-sec-title .accent { color: #2dd4aa; }

.tgi-sec-sub {
  font-size: 15px; line-height: 1.7;
  color: #5A7570;
  max-width: 540px;
  margin-bottom: 48px;
}
.tgi-section-dark .tgi-sec-sub { color: rgba(255,255,255,.5); }

/* ── Divider ─────────────────────────────────────────────── */
.tgi-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72,143,130,.3), transparent);
  border: none; margin: 0;
}

/* ── Cards ──────────────────────────────────────────────── */
.tgi-card {
  background: #ffffff;
  border: 1px solid rgba(72,143,130,.12);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.tgi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(72,143,130,.12);
  border-color: rgba(72,143,130,.25);
}
.tgi-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #488f82, #2dd4aa);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.tgi-card:hover::before { transform: scaleX(1); }

/* Glassmorphism card for dark sections */
.tgi-glass-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(72,143,130,.18);
  border-radius: 12px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: border-color .3s, background .3s;
}
.tgi-glass-card:hover {
  border-color: rgba(72,143,130,.4);
  background: rgba(72,143,130,.07);
}

/* ── Icon Box ────────────────────────────────────────────── */
.tgi-icon-box {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(72,143,130,.12), rgba(45,212,170,.06));
  border: 1px solid rgba(72,143,130,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--tgi-primary, #488f82);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.tgi-icon-box-lg {
  width: 64px; height: 64px; font-size: 28px; border-radius: 16px;
}
.tgi-icon-box-sm {
  width: 40px; height: 40px; font-size: 17px; border-radius: 9px;
}

/* ── Stats Row ───────────────────────────────────────────── */
.tgi-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.tgi-stat-item {
  background: var(--grad-dark, linear-gradient(180deg, #041f1a 0%, #06322c 100%));
  padding: 28px 20px;
  text-align: center;
}
.tgi-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, #2dd4aa 0%, #488f82 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.tgi-stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
}

/* ── Process Steps ───────────────────────────────────────── */
.tgi-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #488f82, #2dd4aa);
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(72,143,130,.3);
}

/* ── CTA Section ─────────────────────────────────────────── */
.tgi-cta-section {
  background: var(--grad-brand, linear-gradient(135deg, #488f82 0%, #06322c 100%));
  padding: 72px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.tgi-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,.06) 0%, transparent 65%),
    repeating-linear-gradient(
      45deg,
      transparent, transparent 40px,
      rgba(255,255,255,.02) 40px, rgba(255,255,255,.02) 41px
    );
}
.tgi-cta-section .container { position: relative; z-index: 2; }
.tgi-cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; color: #ffffff; line-height: 1.2;
  margin-bottom: 16px;
}
.tgi-cta-sub {
  font-size: 16px; color: rgba(255,255,255,.65);
  max-width: 480px; margin: 0 auto 36px;
}

/* ── Glossy Green Gradient Accent ────────────────────────── */
.tgi-gloss-strip {
  background: linear-gradient(135deg, #2dd4aa 0%, #488f82 40%, #06322c 100%);
  padding: 2px 0;
}

/* ── Footer shared ───────────────────────────────────────── */
.tgi-footer {
  background: #020d0b;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(72,143,130,.12);
}
.tgi-footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #2dd4aa;
  margin-bottom: 10px;
}
.tgi-footer-tagline {
  font-size: 13px; color: rgba(255,255,255,.35);
  line-height: 1.6; max-width: 280px;
}
.tgi-footer h6 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.tgi-footer ul { list-style: none; padding: 0; }
.tgi-footer ul li { margin-bottom: 8px; }
.tgi-footer ul li a {
  font-size: 13px; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
}
.tgi-footer ul li a:hover { color: #2dd4aa; }
.tgi-footer-bottom {
  border-top: 1px solid rgba(72,143,130,.1);
  margin-top: 40px; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.tgi-footer-bottom p { font-size: 12px; color: rgba(255,255,255,.25); }
.tgi-footer-social { display: flex; gap: 12px; }
.tgi-footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(72,143,130,.12);
  border: 1px solid rgba(72,143,130,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 14px;
  text-decoration: none; transition: all .2s;
}
.tgi-footer-social a:hover {
  background: rgba(72,143,130,.25);
  color: #2dd4aa;
  border-color: #488f82;
}

/* ── WhatsApp Float ──────────────────────────────────────── */
.tgi-whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
  animation: tgi-wa-pulse 3s ease-in-out infinite;
}
.tgi-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}
@keyframes tgi-wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.65); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
  .tgi-page-body { padding-top: 104px; }
  .tgi-section, .tgi-cta-section { padding: 56px 0; }
  .tgi-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .tgi-page-body { padding-top: 96px; }
  .tgi-section, .tgi-cta-section { padding: 40px 0; }
  .tgi-stats-row { grid-template-columns: repeat(2, 1fr); }
  .tgi-hero-actions { flex-direction: column; align-items: flex-start; }
  .tgi-footer-bottom { flex-direction: column; text-align: center; }
}
