/* General Body Styling */

@font-face {
    font-family: "CiscoSansTT";
    src: url('fonts/CiscoSansTTBold.ttf') format("truetype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "CiscoSansTT";
    src: url('fonts/CiscoSansTTRegular.ttf') format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "CiscoSansTT";
    src: url('fonts/CiscoSansTTLight.ttf') format("truetype");
    font-weight: 350;
    font-display: swap;
}

:root {
    /*Brand palette */
    --midnight: #07182D;/* background fallback */
    --cisco-blue: #00BCEB; /* Cisco Blue */
    --medium-blue: #0A60FF; /* Medium Blue */
    --white: #FFF;
    --Neutral200: #E2E2E2
}

html,
body{
    height:100%;
}

body {
    min-height:100vh;
    display:flex;
    flex-direction: column;
    color: var(--white);
    font-family: "CiscoSansTT", sans-serif;
    background-color: var(--midnight);
    background-image: url('../img/bg-gradient.webp');
    background-size:cover;
    background-position:center;
    background-repeat: no-repeat;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    line-height: 120%;
}



footer {
    flex-shrink:0;
}


    /* Top overlay header with logo + TOC pill */
    .topbar {
      position: sticky;
      top: 0;
      z-index: 30;
      padding: 1em;
    }

    .brand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .brand-logo {
      height: 28px;
    }

    .toc-pill {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      color: #FFF;
      border: 1px solid var(--white);
      padding: .375rem .75rem;
      border-radius: 999px;
      text-decoration: none;
      backdrop-filter: blur(6px);
      background: rgba(7, 24, 45, .35);
    }

    .toc-pill:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, .55);
    }

    .toc-icon {
      width: 18px;
      height: 18px;
      display: inline-block;
      background: url('../img/icons/TOC-icon.svg') center/contain no-repeat;
      filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
    }

    /* Hero card carousel fills remaining space in main */
    .hero-wrap {
      padding: 2em;
      display: flex;
      flex: 1 1 auto;
      min-height: 0;
    }

    .hero-wrap>.container {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      min-height: 0;
    }

    #playbooksCarousel {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      border-radius: 24px;
      box-shadow: 0 6px 12px rgba(0, 0, 0, .35);
      overflow: hidden;
      background-color: var(--midnight);
    }

    #playbooksCarousel .carousel-inner {
      flex: 1 1 auto;
      display: flex;
    }

    #playbooksCarousel .carousel-item {
      /* flex: 1 1 auto; */
    }

    .hero-card {
      background: var(--midnight);
      border-radius: 24px;
      overflow: visible;
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .hero-card .hero-banner img {
      width:100%;  
      height: 220px;
      /* background: var(--midnight) url('../img/hero-banner.jpg') center/cover no-repeat; */
      border-top-left-radius: 24px;
      border-top-right-radius: 24px;
    }

    .hero-content {
      padding: 2.5em 7em 3.5em;
    }

    .hero-title {
      color: #fff;
      font-weight: 700;
      font-size: 40px;
      letter-spacing: .2px;
      margin: 0 0 8px;
    }

    .hero-subtitle {
      color: var(--Neutral200);
      font-size: 20px;
      margin: 0 0 14px;
    }

    .hero-link {
      color: var(--cisco-blue);
      text-decoration: none;
      font-weight: 600;
    }

    .hero-link:hover {
      text-decoration: underline;
    }

    /* Carousel controls: use Bootstrap Icons */
    .carousel-control-prev,
    .carousel-control-next {
      width: 112px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      display: none;
    }

    .carousel-control i {
      font-size: 32px;
      color: var(--cisco-blue);
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3));
    }

    .carousel-control:hover {
      background: rgba(0, 0, 0, .2);
    }

    .carousel-indicators [data-bs-target]{
     background-color: var(--cisco-blue);
    }

    /* Dashed progress line */
    .progress-dash {
      height: 3px;
      width: 260px;
      margin: 0 auto;
      border-bottom: 4px dashed rgba(0, 188, 235, .7);
      opacity: .9;
    }

    .progress-wrap {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 24px;
    }

    /* Footer gradient strip */
    footer {
      background: var(--midnight) !important;
      color: #FFF;
      padding: 1em;
      ;
    }

    footer a {
      color: #cbd5e1;
      text-decoration: none;
    }

    footer a:hover {
      color: #fff;
    }

    .copyright {
      font-size: 10px;
    }

    /* Offcanvas (Table of Contents) */
    .offcanvas.toc-panel {
      background: var(--midnight);
      color: var(--white);
      width: 400px;
      max-width: 86vw;
      box-shadow: -12px 0 36px rgba(0, 0, 0, .25)
    }

    .offcanvas.toc-panel .offcanvas-header {
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .offcanvas.toc-panel .offcanvas-title {
      font-weight: 700;
    }

    .toc-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .toc-item {
      padding: 36px 0;
    }

    .toc-kicker {
      letter-spacing: 3px;
      color: var(--cisco-blue);
      font-size: 12px;
      font-weight: 700;
      margin: 0 0 8px;
      text-transform: uppercase;
    }

    .toc-title {
      color: var(--white);
      font-weight: 800;
      font-size: 32px;
      margin: 0 0 6px;
    }

    .toc-desc {
      color: var(--white);
      font-size: 18px;
      margin: 0;
    }

    .toc-link {
      color: inherit;
      text-decoration: none;
      display: block;
    }

    .toc-link:hover .toc-title,
    .toc-link:hover .toc-desc {
      color: var(--cisco-blue);
    }
