/* =========================================================
   SMOOTH SCROLL & ANCHOR NAVIGATION SETTINGS
========================================================= */

html {
    /* Enables smooth animated transition when jumping to anchor links */
    scroll-behavior: smooth;

    /* Offset for fixed headers so anchor targets aren't covered by the navbar.
       Adjust 80px to match your navbar's height. */
    scroll-padding-top: 80px;
}

/* Optional: Smooth transition for sticky sidebar links on hover */
.sidebar-nav-list a {
    transition: color 0.2s ease, opacity 0.2s ease;
}
/* =========================================================
   PATH LANDING PAGES STYLESHEET (css/path.css)
========================================================= */

/* Hero Content Styling */
.hero-content {
    padding: 1.5rem 1.5rem; /* <-- ADD THIS: Top/Bottom 2.5rem, Left/Right 2rem */
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Layout & Content Container Spacing */
.content-column {
    padding: 1.5rem 1.5rem; /* Keeps all main section cards & hero text aligned nicely */
}

/* Ensure mobile screens don't overflow */
@media (max-width: 768px) {
    .hero-content,
    .content-column {
        padding: 1.5rem 1rem; /* Slightly smaller padding on mobile devices */
    }
}
/* Category Tag Header */
.category-tag {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.category-tag.blue {
    color: #2563eb;
    opacity: 1;
}

/* Outcome Bar */
.mini-outcome-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.mini-outcome-bar span {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Content & Resource Card Grids */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Recommended Cards Styling */
.card-border-blue {
    border-top: 3px solid #2563eb;
}

.card-affiliate {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.card-inner {
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.highlight-box {
    margin-top: 20px;
    padding: 20px;
    border-left: 4px solid #4CAF50;
}

/* Process & Lifecycle Steps */
.lifecycle-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    font-weight: 600;
    text-align: center;
}

.lifecycle-step {
    padding: 14px;
}

/* Sidebar Navigation Updates */
.sticky-sidebar {
    position: sticky;
    top: 100px; /* Increased from 20px to give breathing room below the fixed header */
    height: fit-content;
    max-height: calc(100vh - 120px); /* Prevents sidebar from exceeding screen height */
    overflow-y: auto; /* Adds clean scroll if sidebar links exceed screen height */
    padding-top: 1rem; /* Adds inner spacing at the top of the sidebar card */
}

.sidebar-nav-list {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.sidebar-nav-list p {
    margin-bottom: 12px;
}

.sidebar-nav-list .active-link {
    font-weight: 700;
    color: #C00000;
}

/* Container styling for responsive flowchart scaling */
.lifecycle-svg-wrapper {
    width: 100%;
    max-width: 620px;
    margin: 20px auto;
    display: block;
}

.flow-node {
    transition: transform 0.2s ease;
}

.flow-node:hover {
    cursor: pointer;
    filter: brightness(0.97);
}

/* =========================================================
   SHARP SVG ICON BADGES
========================================================= */

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    shape-rendering: geometricPrecision;
}

/* Color Accent Variations */
.icon-blue {
    background-color: rgba(2, 132, 199, 0.1);
    color: #0284c7;
}

.icon-green {
    background-color: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.icon-purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.icon-amber {
    background-color: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.icon-red {
    background-color: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}

.icon-emerald {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
}

