/* Insights Page Styles */
.insights-hero {
    height: 80vh;
    min-height: 750px;
    position: relative;
    background: url('../images/manchester-skyline.jpg') no-repeat top center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;s
}

.insights-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(10 26 58 / 46%);
}

.insights-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.insights-hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.insights-hero .subheadline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    margin:auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 8px;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.stat-value {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.arrow-down {
    width: 30px;
    height: 30px;
    margin: 10px auto 0;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    40% {
        transform: rotate(-45deg) translateY(-10px);
    }
    60% {
        transform: rotate(-45deg) translateY(-5px);
    }
}

/* Insight Section */
.insight-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 26, 58, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Performance Section */
.performance-section {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 1rem auto;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto 4rem;
    height: 400px;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.performance-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(10, 26, 58, 0.05);
}

.performance-item h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.comparison-chart {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(10, 26, 58, 0.05);
}

.chart-row {
    margin-bottom: 2rem;
}

.chart-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.chart-bar-container {
    display: flex;
    height: 40px;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-bar {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: var(--white);
    font-weight: 700;
    position: relative;
    transition: width 1s ease;
}

.chart-bar.manchester {
    background-color: var(--secondary);
}

.chart-bar.london {
    background-color: var(--primary);
}

.chart-bar span {
    position: absolute;
    right: 10px;
}

/* Drivers Section */
.drivers-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.driver-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--primary);
}

.tab-button.active {
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.tab-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tab-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 26, 58, 0.1);
}

.tab-image img {
    width: 100%;
    height: auto;
    display: block;
}

.stat-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-left: 4px solid var(--secondary);
}

.stat-number {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-description {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Yield Section */
.yield-section {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.yield-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.yield-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.yield-content p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.yield-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.yield-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(10, 26, 58, 0.1);
}

.yield-header {
    padding: 1.5rem;
    color: var(--white);
}

.yield-header.manchester {
    background: var(--secondary);
}

.yield-header.london {
    background: var(--primary);
}

.yield-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.yield-percent {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.yield-item ul {
    padding: 1.5rem;
    list-style: none;
}

.yield-item li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.yield-item li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.yield-image {
    position: relative;
}

.yield-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(10, 26, 58, 0.1);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-align: center;
    font-style: italic;
}

/* Conclusion CTA */
.conclusion-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1A2B4A 100%);
    color: var(--white);
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.conclusion-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.conclusion-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .tab-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-image {
        order: -1;
    }
}

@media (max-width: 992px) {
    .insights-hero {
    height: 80vh;
    min-height: 1072px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 1.5rem 1rem;
    }
    
    .yield-grid {
        grid-template-columns: 1fr;
    }
    
    .yield-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .insights-hero h1 {
        font-size: 3rem;
    }
    
    .highlight-cards {
        grid-template-columns: 1fr;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
    }
    
    .tab-button.active {
        border-bottom: none;
        border-left: 3px solid var(--secondary);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .insights-hero h1 {
        font-size: 2.5rem;
    }
    
    .insights-hero .subheadline {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .conclusion-content h2 {
        font-size: 2rem;
    }
}