/* =========================================================
   ENTERPRISE DESIGN SYSTEM – TARGET INFOTECH
   Stable | Corporate | Production Safe
========================================================= */

/* ===============================
   1. DESIGN TOKENS
================================ */

:root {
  --primary: #0f172a;
  --primary-soft: rgba(15, 23, 42, 0.9);
  --accent: #2563eb;
  --accent-hover: #1d4ed8;

  --bg: #f8fafc;
  --surface: #ffffff;

  --text: #0f172a;
  --text-muted: #64748b;
  --text-invert: #ffffff;

  --border: #e5e7eb;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.14);
}

/* ===============================
   2. RESET & BASE
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===============================
   3. GLOBAL LAYOUT
================================ */

.container {
  max-width: 1200px;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ===============================
   4. HEADER (OPTION A)
================================ */

.site-header {
  background: var(--primary);
  z-index: 1000;
}

.navbar {
  min-height: 72px;
}

.navbar-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-invert);
}

.navbar-brand span {
  color: #60a5fa;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #cbd5e1 !important;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.btn-header-cta {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

/* ===============================
   5. HERO – HOME PAGE
================================ */

.hero-modern {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: var(--text-invert);
  padding: 140px 0 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #60a5fa;
}

.hero-content p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 18px;
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.metric h3 {
  font-size: 38px;
  font-weight: 700;
}

.metric span {
  font-size: 14px;
  color: #cbd5f5;
}

/* ===============================
   6. PAGE HERO (INNER PAGES)
================================ */

.page-hero {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #ffffff;
  padding: 96px 0 72px;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 700;
}

.page-hero p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 720px;
}

/* ===============================
   7. CARDS & GRIDS
================================ */

.card,
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* ===============================
   8. IMAGE OVERLAY CAPTIONS (NEW)
================================ */

/* Wrapper */
.image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* Image */
.image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark gradient */
.image-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.1)
  );
}

/* Caption */
.image-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  color: #ffffff;
  z-index: 2;
}

.image-caption h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.image-caption p {
  font-size: 14px;
  color: #e5e7eb;
  margin: 0;
}

/* ===============================
   9. FOOTER
================================ */

.site-footer {
  background: #020617;
  color: #94a3b8;
  padding: 64px 0;
  font-size: 14px;
}

.site-footer h5,
.site-footer h6 {
  color: #e5e7eb;
}

.footer-link {
  display: inline-block;
  margin-bottom: 6px;
  color: #9ca3af;
}

.footer-link:hover {
  color: #ffffff;
}

/* ===============================
   10. RESPONSIVE
================================ */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-actions {
    flex-direction: column;
  }
}

