/* Partially Generated by Copilot */
/* Case Study Specific Styles */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent sections from hiding behind fixed header */
section {
    scroll-margin-top: 450px; /* Account for fixed nav + case study header + quick nav */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Quick Navigation */
.quick-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(226, 92, 4, 0.3);
}

.quick-nav-btn {
    padding: 10px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 92, 4, 0.4);
    white-space: nowrap;
}

.quick-nav-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(226, 92, 4, 0.3);
}

.quick-nav-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .quick-nav {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        margin-top: 20px;
        padding-top: 20px;
        scrollbar-width: thin;
        scrollbar-color: var(--secondary-color) rgba(255, 255, 255, 0.3);
    }
    
    .quick-nav-btn {
        padding: 8px 14px;
        font-size: 0.85em;
    }
}

/* Case study header is NOT the fixed header - it's the green section */
.case-study-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.case-study-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: bold;
}

.case-study-header .subtitle {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.case-study-header .author {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

@media (max-width: 768px) {
    .case-study-header h1 {
        font-size: 2em;
    }
    
    .case-study-header .subtitle {
        font-size: 1.2em;
    }
    
    .case-study-header .author {
        font-size: 1em;
    }
}

/* Executive Summary Section */
.executive-summary {
    background-color: #ffffff;
    padding: 60px 20px;
    padding-top: 470px;
}

.executive-summary h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.summary-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.summary-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.summary-card p {
    line-height: 1.7;
    color: #333;
}

.summary-card strong {
    color: var(--primary-color);
}

.key-insight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.key-insight h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.key-insight blockquote {
    font-size: 1.5em;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    border: none;
    padding: 0;
}

@media (max-width: 768px) {
    .executive-summary h2 {
        font-size: 2em;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .key-insight blockquote {
        font-size: 1.2em;
    }
}

/* Business Problem Section */
.business-problem {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.business-problem h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.story-intro {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.business-problem .story-section {
    margin-bottom: 30px;
    min-height: 20px;
}

.business-problem .character {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
    visibility: visible;
}

.business-problem .character h4 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    display: block;
}

.business-problem .character-details {
    display: block;
}

.business-problem .character-details p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333 !important;
    display: block;
    font-size: 1em !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.business-problem .story-section h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    margin-top: 30px;
}

.business-problem .question {
    font-style: italic;
    color: var(--accent-color);
    margin-left: 20px;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.problem-statement {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.problem-statement h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.problem-statement ul {
    margin: 20px 0;
    padding-left: 30px;
}

.problem-statement li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #333;
}

.problem-statement p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.problem-statement em {
    color: var(--secondary-color);
    font-style: italic;
}

@media (max-width: 768px) {
    .business-problem h2 {
        font-size: 2em;
    }
    
    .story-intro {
        font-size: 1.1em;
    }
}

/* Architectural Solution Section */
.architectural-solution {
    background-color: #ffffff;
    padding: 60px 20px;
}

.architectural-solution h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.architecture-intro {
    text-align: center;
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.7;
    color: #333;
}

.architecture-diagram {
    margin-bottom: 50px;
}

.architecture-diagram h3 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.diagram-placeholder {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f0e8 100%);
    border: 2px dashed var(--primary-color);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
}

.diagram-placeholder p {
    font-family: 'Courier Prime', monospace;
    font-size: 1.1em;
    color: var(--primary-color);
    font-weight: 600;
}

.architecture-diagram img {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.architecture-components {
    margin-bottom: 50px;
}

.architecture-diagram {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.architecture-diagram h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.mermaid {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.diagram-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.architecture-components h3 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.component-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.component-card h4 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.component-card p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 10px;
}

.component-card strong {
    color: var(--primary-color);
}

.design-decisions {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
}

.design-decisions h3 {
    color: var(--secondary-color);
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.design-decisions ul {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.design-decisions li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.7;
}

.design-decisions li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.design-decisions strong {
    color: var(--secondary-color);
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .architectural-solution h2 {
        font-size: 2em;
    }
    
    .architecture-intro {
        font-size: 1.1em;
    }
    
    .architecture-diagram h3,
    .architecture-components h3,
    .design-decisions h3 {
        font-size: 1.6em;
    }
    
    .diagram-placeholder {
        padding: 40px 20px;
    }
    
    .diagram-placeholder p {
        font-size: 0.9em;
    }
}

/* Research Methodology Section */
.research-methodology {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.research-methodology h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.methodology-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.methodology-intro p {
    font-size: 1.2em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.methodology-intro strong {
    color: var(--secondary-color);
}

.test-approaches {
    margin-bottom: 50px;
}

.test-approaches h3 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.approach-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.approach-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: #ffffff;
    border-left: 4px solid var(--secondary-color);
}

.approach-card h4 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.approach-card.highlight h4 {
    color: #ffffff;
}

.approach-card .score {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.approach-card.highlight .score {
    color: var(--secondary-color);
    font-size: 2.5em;
}

.approach-card p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.approach-card.highlight p {
    color: rgba(255, 255, 255, 0.95);
}

.approach-card .verdict {
    font-style: italic;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.approach-card.highlight .verdict {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.approach-card strong {
    color: var(--primary-color);
}

.approach-card.highlight strong {
    color: var(--secondary-color);
}

.performance-chart {
    margin-bottom: 50px;
}

.performance-chart h3 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.chart-placeholder {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
    border: 2px dashed var(--primary-color);
    padding: 80px 40px;
    border-radius: 8px;
    text-align: center;
}

.chart-placeholder p {
    font-family: 'Courier Prime', monospace;
    font-size: 1.1em;
    color: var(--primary-color);
    font-weight: 600;
}

.key-findings {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.key-findings h3 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.key-findings ul {
    list-style: none;
    padding: 0;
}

.key-findings li {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
    color: #333;
}

.key-findings li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5em;
    font-weight: bold;
}

.key-findings strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.methodology-details {
    background-color: rgba(44, 95, 45, 0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.methodology-details .small-text {
    font-size: 0.95em;
    line-height: 1.7;
    color: #333;
}

.methodology-details a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.methodology-details a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .research-methodology h2 {
        font-size: 2em;
    }
    
    .methodology-intro p {
        font-size: 1.1em;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-card .score {
        font-size: 1.8em;
    }
    
    .approach-card.highlight .score {
        font-size: 2.2em;
    }
    
    .chart-placeholder {
        padding: 60px 20px;
    }
    
    .chart-placeholder p {
        font-size: 0.9em;
    }
}

/* Tech Stack Section */
.tech-stack {
    background-color: #ffffff;
    padding: 60px 20px;
}

.tech-stack h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.stack-category {
    background-color: var(--light-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.stack-category:last-of-type {
    margin-bottom: 0;
}

.stack-category h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.stack-category ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.stack-category li {
    color: #333;
    line-height: 1.7;
    padding-left: 25px;
    position: relative;
}

.stack-category li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2em;
}

.stack-category strong {
    color: var(--primary-color);
    font-size: 1.05em;
}

@media (max-width: 768px) {
    .tech-stack h2 {
        font-size: 2em;
    }
    
    .stack-category {
        padding: 20px;
    }
    
    .stack-category h3 {
        font-size: 1.5em;
    }
    
    .stack-category ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Proof of Work Section */
.proof-of-work {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.proof-of-work h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.pow-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.pow-intro p {
    font-size: 1.2em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.pow-intro strong {
    color: var(--primary-color);
}

.pow-intro a {
    color: var(--secondary-color);
    font-family: 'Courier Prime', monospace;
    font-weight: 600;
    text-decoration: none;
}

.pow-intro a:hover {
    text-decoration: underline;
}

.code-showcase {
    margin-bottom: 50px;
}

.code-showcase h3 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.code-card {
    background-color: #ffffff;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.code-card h4 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.file-link {
    margin: 15px 0;
}

.file-link a {
    color: var(--secondary-color);
    font-family: 'Courier Prime', monospace;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95em;
}

.file-link a:hover {
    text-decoration: underline;
}

.code-card p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

details {
    margin-top: 15px;
}

summary {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 15px;
    background-color: rgba(44, 95, 45, 0.05);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

summary:hover {
    background-color: rgba(44, 95, 45, 0.1);
}

pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin-top: 15px;
}

code {
    font-family: 'Courier Prime', 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    line-height: 1.6;
}

.testing-evidence {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testing-evidence h3 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.testing-evidence > p {
    text-align: center;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 25px;
}

.testing-evidence ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.testing-evidence li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.testing-evidence li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5em;
    font-weight: bold;
}

.testing-evidence a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1em;
}

.testing-evidence a:hover {
    text-decoration: underline;
}

/* Video Demo Section */
.video-demo {
    margin-bottom: 50px;
}

.video-demo h3 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.video-demo > p {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .proof-of-work h2 {
        font-size: 2em;
    }
    
    .pow-intro p {
        font-size: 1.1em;
    }
    
    .code-showcase h3 {
        font-size: 1.7em;
    }
    
    .code-card {
        padding: 20px;
    }
    
    .code-card h4 {
        font-size: 1.3em;
    }
    
    pre {
        padding: 15px;
        font-size: 0.85em;
    }
    
    .testing-evidence {
        padding: 25px;
    }
    
    .testing-evidence h3 {
        font-size: 1.7em;
    }
    
    .video-demo h3 {
        font-size: 1.7em;
    }
    
    .video-demo > p {
        font-size: 1em;
        padding: 0 10px;
    }
    
    .video-container {
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
}

/* What I Learned Section */
.lessons-learned {
    background-color: #ffffff;
    padding: 60px 20px;
}

.lessons-learned h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.lesson-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lesson-card:last-of-type {
    margin-bottom: 0;
}

.lesson-card h3 {
    color: var(--primary-color);
    font-size: 1.7em;
    margin-bottom: 20px;
    line-height: 1.3;
}

.lesson-card p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.lesson-card p:last-of-type {
    margin-bottom: 0;
}

.lesson-card strong {
    color: var(--secondary-color);
}

.lesson-card code {
    background-color: rgba(44, 95, 45, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier Prime', monospace;
    color: var(--primary-color);
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .lessons-learned h2 {
        font-size: 2em;
    }
    
    .lesson-card {
        padding: 25px;
    }
    
    .lesson-card h3 {
        font-size: 1.4em;
    }
    
    .lesson-card p {
        font-size: 1.05em;
    }
}

/* Call to Action Section */
.case-study-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.case-study-cta h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    color: #ffffff;
}

.case-study-cta > .container > p {
    font-size: 1.3em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-buttons .btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: 2px solid var(--secondary-color);
}

.cta-buttons .btn-primary:hover {
    background-color: #c74f03;
    border-color: #c74f03;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 92, 4, 0.3);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.cta-buttons .btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .case-study-cta {
        padding: 60px 20px;
    }
    
    .case-study-cta h2 {
        font-size: 2em;
    }
    
    .case-study-cta > .container > p {
        font-size: 1.15em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Quick nav spacing improvements */

/* Make header sticky */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure content starts below sticky header */
.scrollable-content {
    position: relative;
}

/* Quick Navigation Toggle Button - hidden on desktop */
.quick-nav-toggle {
    display: none !important;
}

.quick-nav-toggle svg {
    transition: transform 0.3s ease;
}

.quick-nav-toggle.active svg {
    transform: rotate(180deg);
}

.quick-nav {
    margin-top: 20px;
}

.quick-nav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
}

.quick-nav-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile quick nav improvements */
@media (max-width: 768px) {

    /* Keep header sticky on mobile too */
    header {
        position: sticky;
        top: 0;
    }

    .quick-nav {
        margin-top: 15px;
    }

    .quick-nav-toggle {
        display: flex !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        padding: 12px 16px;
        cursor: pointer;
        border-radius: 4px;
        font-size: 1rem;
        margin-bottom: 0;
        align-items: center;
        justify-content: space-between;
    }
    
    .quick-nav-toggle:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .quick-nav-items {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex-direction: column;
        gap: 5px;
        margin-top: 10px;
    }

    .quick-nav-items.active {
        max-height: 600px;
    }

    .quick-nav-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        margin: 0;
    }
}