﻿:root {
  /* Brand Design Tokens */
  --si-bg-deep: #0b0d10; /* Base canvas background color */
  --si-bg-surface: #12161a; /* Container/Card surface elevation */
  --si-bg-elevated: #1a1f26; /* Active/Hover states and secondary highlights */
  --si-border-mute: rgba(255, 255, 255, 0.08);
  --si-border-active: rgba(255, 255, 255, 0.15);
  /* Semantic Bootstrap Overrides */
  --bs-body-bg: var(--si-bg-deep);
  --bs-body-color: #f1f3f5;
  --bs-primary: var(--si-yellow);
  --bs-border-color: var(--si-border-mute);
}

/* Base Body Layout Fixes */
main {
  background-color: var(--bs-body-bg);
  min-height: 100vh;
  color: var(--bs-body-color);
}

/* Prevent tiny horizontal layout shifts when scrollbars appear/disappear */
html {
  scrollbar-gutter: stable;
}
body {
  overflow-x: hidden; /* Safety guard: prevent any accidental horizontal overflow */
}

/* Reusable Global Typography Blocks */
.text-yellow-accent {
  color: var(--si-yellow) !important;
}

.technical-heading {
  font-family: var(--bs-font-sans-serif);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.sub-hud-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--si-yellow);
}

.transition-card {
  transition: border-color 0.25s ease-in-out, transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

  .transition-card:hover {
    border-color: var(--si-border-active) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

.slide-section {
  min-height: 600px; /* Provides an immediate placeholder area before animations execute */
  display: block;
  width: 100%;
}
/* ==========================================================================
   HIGH ASSURANCE ACTION CONTROLS (CTA)
   ========================================================================== */
.btn-action-outline {
  color: var(--si-yellow, #ffc000) !important;
  border: 2px solid var(--si-yellow, #ffc000) !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.75rem !important;
  border-radius: 4px !important;
  transition: all 0.2s ease-in-out !important;
  text-decoration: none !important;
}

  .btn-action-outline:hover {
    background: var(--si-yellow, #ffc000) !important;
    color: #0d1829 !important;
    box-shadow: 0 4px 15px rgba(255, 192, 0, 0.3);
    transform: translateY(-1px);
  }

  .btn-action-outline i {
    transition: transform 0.15s ease;
  }

  .btn-action-outline:hover i {
    transform: translateX(4px);
  }

  /*Top Nav Pages */

.nav-preview-img img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  position: static !important;
}


/*section Pages / Delivery Pages*/
.bg-dark-card {
  background-color: #14181a !important;
}

.phase-card {
  transition: all 0.3s ease-in-out;
  background-color: #0b0d0e !important;
}

  .phase-card:hover {
    border-color: #ffc107 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.05);
  }

.service-card {
  transition: all 0.3s ease-in-out;
}

  .service-card:hover {
    border-color: #ffc107 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
  }

.tracking-widest {
  letter-spacing: 0.18em !important;
}
.ref-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.ref-link:hover {
    color: var(--si-yellow, #ffc000) !important;
  }

.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}
/* --- Palo Alto Track Navigation Redesign --- */
.palo-tab-container {
  display: flex;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1px;
}

.palo-tabs-track {
  display: inline-flex;
  gap: 2.5rem; /* Large spacing layout */
  position: relative;
}

.palo-btn-tab {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0;
  position: relative;
  transition: color 0.2s ease-in-out;
}

  .palo-btn-tab:hover {
    color: #ffffff;
  }

  /* Active bottom pill border trick instead of housing container background */
  .palo-btn-tab.active {
    color: #ffc000; /* Synaptic Warning Gold Accent */
  }

    .palo-btn-tab.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: #ffc000;
      border-radius: 2px 2px 0 0;
    }

/* --- The 50/50 Solutions Card Layout --- */
.palo-card {
  background-color: #111417; /* Extra dark matte base */
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  height: 100%;
  min-height: 240px;
  transition: border-color 0.25s ease;
}

  .palo-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
  }

/* Left Half Image Block */
.palo-card-media {
  width: 40%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color: #1a1e21; /* Fallback tone */
  min-height: 200px;
}

@media (max-width: 768px) {
  .palo-card-media {
    width: 100%;
    height: 160px;
    min-height: auto;
  }
}

/* Optional Overlay Graphical Text (Like Ignite on Tour) */
.palo-media-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 20, 23, 0.4);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 1rem;
  text-transform: uppercase;
}

/* Right Half Content Block */
.palo-card-content {
  width: 60%;
  padding: 2.5rem;
  display: flex;
  flex-column: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .palo-card-content {
    width: 100%;
    padding: 1.5rem;
  }
}

/* --- High-Tier Solutions Links (No Buttons) --- */
.palo-tab-container ::deep a.palo-link,
.palo-tab-container ::deep a.navlink.palo-link,
.palo-tab-container ::deep .navlink.palo-link {
  color: #ffc000;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
  background: transparent;
  border: none;
  padding: 0;
}

.palo-tab-container ::deep .palo-link i {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.palo-tab-container ::deep .palo-link:hover {
  color: #ffe066;
}

  .palo-tab-container ::deep .palo-link:hover i {
    transform: translateX(4px);
  }

/* High Alert Style link for Incident Response */
.palo-tab-container ::deep .palo-link.highlight-link {
  color: #dc3545;
}

  .palo-tab-container ::deep .palo-link.highlight-link:hover {
    color: #ea868f;
  }

/* Standard Base Custom Utilities */
.brand-accent-text {
  color: #ffc000;
}

.manifesto-divider {
  width: 60px;
  height: 2px;
  background-color: #ffc000;
  margin-bottom: 1.5rem;
}

.manifesto-quote {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
}
