/* PTIC Consulting – Global Styles v6.0 */

/* Reset / base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background-color: #020617;
  padding-top: 72px; /* space for fixed nav on mobile */
}

/* Links */

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

main {
  background-color: #020617;
}

.section-light {
  background-color: #f8fafc;
}

.section-muted {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
}

/* Typography */

.section-heading {
  font-weight: 600;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: #64748b;
  font-size: 0.98rem;
}

/* Improve contrast on dark sections */
.section-muted .section-subtitle,
.section-muted .text-muted {
  color: #cbd5f5 !important;
}

/* Header / navigation */

.site-header {
  z-index: 1040;
}

.nav-main {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(14px);
}

/* On larger screens, slightly more transparent nav */
@media (min-width: 992px) {
  body {
    padding-top: 80px;
  }

  .nav-main {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  }
}

.nav-logo {
  height: 32px;
}

@media (min-width: 992px) {
  .nav-logo {
    height: 36px;
  }
}

/* Hamburger button */

.navbar-dark .navbar-toggler {
  border-color: rgba(248, 250, 252, 0.85);
}

.navbar-dark .navbar-toggler-icon {
  /* Force a bright hamburger icon */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(248,250,252,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: #e5e7eb;
  font-weight: 400;
  padding-inline: 1rem;
  border-radius: 999px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: rgba(15, 23, 42, 0.35);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  background-color: rgba(15, 23, 42, 0.9);
}

.nav-link-cta {
  border: 1px solid rgba(248, 250, 252, 0.6);
}

/* Hero */

.hero {
  min-height: 100vh;
  position: relative;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.hero-short {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
}

.hero-content {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #a5b4fc;
}

.hero-lead {
  max-width: 640px;
}

.hero-bullets {
  list-style: none;
  padding-left: 0;
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.35rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.hero-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #38bdf8;
}

.hero-meta {
  font-size: 0.78rem;
}

.bg-meta {
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Hero side panel */

.hero-panel {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.small-heading {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero-metrics .metric-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.metric-number {
  font-weight: 600;
  font-size: 1rem;
  color: #e5e7eb;
  min-width: 3.4rem;
}

.metric-text {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Cards & panels */

.service-card,
.info-card,
.client-card,
.pill-card,
.contact-card,
.who-card,
.cta-card {
  border-radius: 1.5rem;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.section-muted .service-card,
.section-muted .info-card,
.section-muted .client-card,
.section-muted .pill-card,
.section-muted .contact-card,
.section-muted .who-card {
  background-color: #020617;
  color: #e5e7eb;
  border-color: rgba(55, 65, 81, 0.9);
}

.service-card:hover,
.info-card:hover,
.client-card:hover,
.pill-card:hover,
.contact-card:hover,
.who-card:hover,
.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
  border-color: rgba(59, 130, 246, 0.7);
}

.service-icon i {
  color: #0ea5e9;
}

/* Who this is for */

.who-card h5 {
  font-weight: 600;
}

/* Trusted by strip */

.trust-strip {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.trust-label {
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
  color: #0f172a;
  background-color: #ffffff;
}

.section-muted .trust-badge {
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

/* CTA card (home / pages) */

#cta {
  background-color: #020617;
}

.cta-card {
  max-width: 720px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  color: #e5e7eb;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.cta-card p {
  color: #cbd5f5;
}

/* Footer */

.site-footer {
  background-color: #020617;
  color: #e5e7eb;
}

.footer-logo {
  height: 52px;
}
.footer-tagline {
  color: #9ca3af;
}

.footer-nav a {
  color: #e5e7eb;
  margin: 0 0.4rem;
}

.footer-nav a:hover {
  color: #93c5fd;
  text-decoration: none;
}

.footer-divider {
  border-color: rgba(51, 65, 85, 0.9);
}

.footer-meta {
  color: #9ca3af;
}

.footer-meta-links a {
  color: #9ca3af;
}

.footer-meta-links a:hover {
  color: #e5e7eb;
  text-decoration: none;
}

/* Social icons (footer) */

.social-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    color 0.2s ease;
}

.social-icon:hover {
  background-color: rgba(148, 163, 184, 0.22);
  transform: translateY(-2px);
  color: #93c5fd;
}

/* Forms */

.contact-card .form-control,
.contact-card .form-select {
  border-radius: 0.9rem;
  border-color: rgba(148, 163, 184, 0.6);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.35);
  border-color: rgba(37, 99, 235, 1);
}

/* Images */

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.6);
}

.btn-outline-primary {
  border-radius: 999px;
}

/* Code demo block */

.code-demo {
  border-radius: 1.25rem;
  background-color: #020617;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  font-family: Menlo, Consolas, Monaco, "Courier New", monospace;
  color: #e5e7eb;
  overflow: hidden;
}

.code-demo-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: radial-gradient(circle at top left, #111827, #020617);
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
}

.code-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}

.dot-red { background-color: #f87171; }
.dot-amber { background-color: #fbbf24; }
.dot-green { background-color: #34d399; }

.code-demo-title {
  margin-left: 0.4rem;
  font-size: 0.8rem;
  color: #9ca3af;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: #e5e7eb;
  font-size: 0.75rem;
  cursor: pointer;
}

.code-copy-btn i {
  font-size: 0.75rem;
}

.code-copy-btn:hover {
  background-color: rgba(15, 23, 42, 0.9);
}

.code-demo pre {
  margin: 0;
  padding: 1rem 1.25rem 1.1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  overflow-x: auto;
  background: radial-gradient(circle at top left, #020617, #020617);
  color: #e5e7eb;
}

.code-demo code {
  white-space: pre;
}

/* Mobile tweak for code block */
@media (max-width: 575.98px) {
  .code-demo pre {
    font-size: 0.75rem;
  }
}


/* Tools & languages card (About page) */

.tool-card {
  max-width: 720px;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.tool-eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #a5b4fc;
}

.tool-chips {
  margin-top: 0.25rem;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.6);
}

.tool-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  margin-right: 0.4rem;
  opacity: 0.9;
}

/* subtle hover, mostly for desktop */
.tool-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.75);
}

/* Mobile tweaks for tools card */
@media (max-width: 575.98px) {
  .tool-card {
    border-radius: 1.25rem;
    padding-inline: 1.5rem !important;
  }

  .tool-card h2 {
    font-size: 1.1rem;
  }

  .tool-chip {
    font-size: 0.78rem;
    padding: 0.3rem 0.8rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.7);
  }
}


/* Responsive tweaks */

@media (max-width: 991.98px) {
  .hero {
    text-align: center;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .hero-bullets {
    margin-inline: auto;
  }

  .hero-panel {
    margin-top: 2rem;
    max-width: 480px;
    margin-inline: auto;
  }

  .navbar-nav .nav-link {
    margin-top: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 82vh;
  }

  .hero-short {
    min-height: 36vh;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .service-card,
  .client-card,
  .pill-card,
  .info-card,
  .who-card,
  .contact-card,
  .cta-card {
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }

  .hero-panel .hero-metrics {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  #cta {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .cta-card h2 {
    font-size: 1.4rem;
  }

  .cta-card p {
    font-size: 0.95rem;
  }

  .site-footer .footer-tagline {
    font-size: 0.8rem;
  }

  .site-footer .footer-nav {
    font-size: 0.85rem;
  }

  .site-footer .footer-meta {
    font-size: 0.78rem;
  }
}
