/* Base Styles - Updated with ESRA color scheme */
:root {
    --primary-color: #0F2847; /* ESRA dark blue */
    --secondary-color: #EA3647; /* ESRA red */
    --accent-color-1: #007A9C; /* ESRA teal blue */
    --accent-color-2: #39CBC8; /* ESRA turquoise */
    --accent-color-3: #FFA00E; /* ESRA orange */
    --dark-color: #03091A; /* ESRA darkest blue */
    --light-color: #C7FBF6; /* ESRA light teal */
    --warm-light: #FFE8B4; /* ESRA light yellow */
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --success-color: #28a745;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust this value to match your header height */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

section {
    padding: 5rem 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color); /* ESRA red */
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-color-3); /* ESRA orange */
    color: white;
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: relative;
    background: linear-gradient(rgba(3, 9, 26, 0.8), rgba(15, 40, 71, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 0;
    background-color: rgba(15, 40, 71, 0.95); /* ESRA dark blue with opacity */
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.nav-links {
    display: flex;
    margin-right: 2rem;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 2rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
}

.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 1rem 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color-3); /* ESRA orange */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

/* Vision Section - Updated formatting */
.vision-section {
    background-color: white;
    padding: 6rem 0;
}

.vision-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.vision-text {
    flex: 1;
}

.vision-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
}

.vision-text ul {
    margin: 2rem 0;
}

.vision-text li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
}

.vision-text i {
    color: var(--accent-color-3); /* ESRA orange */
    margin-right: 1rem;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.vision-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.vision-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.vision-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 90%;
    height: auto;
    object-fit: cover;
}

/* Vision Table Styling */
.vision-table {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.vision-row {
    display: flex;
    border-bottom: 1px solid rgba(15, 40, 71, 0.1);
}

.vision-row:last-child {
    border-bottom: none;
}

.vision-row:nth-child(odd) {
    background-color: rgba(199, 251, 246, 0.3);
}

.vision-row:nth-child(even) {
    background-color: white;
}

.vision-cell {
    padding: 1.5rem;
}

.vision-heading {
    flex: 1;
    display: flex;
    align-items: flex-start;
    border-right: 1px solid rgba(15, 40, 71, 0.1);
}

.vision-heading i {
    color: var(--accent-color-3);
    font-size: 1.8rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.vision-heading h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.vision-description {
    flex: 1.5;
}

.vision-description p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Goals Section */
.goals-section {
    background-color: var(--light-gray);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.goal-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.goal-card h3 {
    font-size: 1.1rem;
    margin: 1rem 0;
    line-height: 1.3;
}

.goal-card p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Timeline Section */
.timeline-section {
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--accent-color-1); /* ESRA teal blue */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: var(--accent-color-3); /* ESRA orange */
    border: 4px solid var(--accent-color-1); /* ESRA teal blue */
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12.5px;
}

.timeline-date {
    position: absolute;
    width: 100px;
    padding: 8px 0;
    background-color: var(--primary-color); /* ESRA dark blue */
    color: white;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 600;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -120px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -120px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.timeline-content ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.timeline-content li {
    margin-bottom: 5px;
}

/* Programs Section */
.programs-section {
    background-color: var(--light-gray);
}

.programs-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.8rem 1.5rem;
    background-color: white;
    border: none;
    border-radius: var(--border-radius);
    margin: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-button.active {
    background-color: var(--accent-color-1); /* ESRA teal blue */
    color: white;
}

.tab-content {
    display: none;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.program-details {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.program-info {
    flex: 3;
}

.program-image {
    flex: 2;
}

.program-image img {
    border-radius: var(--border-radius);
    height: 100%;
    object-fit: cover;
}

/* Financial Section */
.financial-section {
    background-color: white;
}

.financial-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.fundraising-goal {
    text-align: center;
}

.chart-container {
    max-width: 600px;
    margin: 0 auto;
}

.financial-tables {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.funding-sources, .annual-budget {
    flex: 1;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background-color: var(--primary-color); /* ESRA dark blue */
    color: white;
}

tr:hover {
    background-color: var(--light-gray);
}

.total-row {
    background-color: var(--light-gray);
}

.membership-tiers {
    margin-top: 2rem;
}

.tier-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tier-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-header {
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.tier-header.industry {
    background-color: var(--primary-color); /* ESRA dark blue */
}

.tier-header.academic {
    background-color: var(--accent-color-1); /* ESRA teal blue */
}

.tier-header.collegiate {
    background-color: var(--accent-color-3); /* ESRA orange */
}

.tier-header h4 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.tier-body {
    padding: 1.5rem;
    background-color: white;
}

.tier-price {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.tier-body ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.tier-body li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-method i {
    color: var(--accent-color-1); /* ESRA teal blue */
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color); /* ESRA dark blue */
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color-3); /* ESRA orange */
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.submit-button {
    background-color: var(--accent-color-1); /* ESRA teal blue */
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--accent-color-3); /* ESRA orange */
}

/* Footer */
footer {
    background-color: var(--dark-color); /* ESRA darkest blue */
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--light-gray);
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* ESRA's Permanent Launch Facility Section */
.spaceport-section {
    background-color: var(--light-color);
    padding: 6rem 0;
}

.spaceport-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.spaceport-image {
    flex: 1;
}

.spaceport-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
}

.spaceport-text {
    flex: 1;
}

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

.spaceport-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.spaceport-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    color: var(--accent-color-3);
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.spaceport-timeline {
    background-color: rgba(15, 40, 71, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.spaceport-timeline h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.mini-timeline {
    display: flex;
    justify-content: space-between;
}

.mini-timeline-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.mini-timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color-1);
    z-index: 0;
}

.year {
    display: inline-block;
    background-color: var(--accent-color-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.mini-timeline-item p {
    font-size: 0.9rem;
    margin: 0;
    padding: 0 0.5rem;
}

/* Update the timeline section to include ESRA's Permanent Launch Facility */
#timeline-content-2027 ul {
    /* Add this to the existing timeline content for 2027 */
    /* This assumes you have an ID for each timeline item */
}

/* Responsive adjustments for spaceport section */
@media (max-width: 992px) {
    .spaceport-content {
        flex-direction: column;
    }
    
    .spaceport-features {
        grid-template-columns: 1fr;
    }
    
    .mini-timeline {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mini-timeline-item:not(:last-child)::after {
        width: 2px;
        height: 30px;
        top: auto;
        bottom: -25px;
        right: 50%;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .vision-content {
        flex-direction: column-reverse;
    }
    
    .vision-image {
        margin-bottom: 2rem;
    }
    
    .vision-image img {
        max-width: 100%;
    }
    
    .vision-content, .program-details, .contact-content {
        flex-direction: column;
    }
    
    .financial-tables {
        flex-direction: column;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 18px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 18px;
    }
    
    .timeline-date {
        position: relative;
        top: 0;
        left: 0 !important;
        right: auto !important;
        margin-bottom: 10px;
        width: auto;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        padding: 1rem 0;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .vision-row {
        flex-direction: column;
    }
    
    .vision-heading {
        border-right: none;
        border-bottom: 1px solid rgba(15, 40, 71, 0.1);
    }
    
    .vision-cell {
        padding: 1.2rem;
    }
}

/* Add this to styles.css if not already present */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Responsive adjustments for goals section */
@media (max-width: 1200px) {
    .goals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }
}

/* CAPEX Investment Section */
.capex-section {
    background-color: white;
    padding: 6rem 0;
}

.capex-content {
    max-width: 1000px;
    margin: 0 auto;
}

.capex-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.capex-intro h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.capex-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto;
}

.capex-highlight {
    background: linear-gradient(135deg, var(--light-color), var(--warm-light));
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.capex-main-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-icon-large {
    font-size: 4rem;
    color: var(--accent-color-3);
    flex-shrink: 0;
}

.feature-details h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-specs {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.investment-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.investment-amount .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.investment-amount .label {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.capex-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.comparison-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.comparison-card.current .comparison-header {
    background-color: var(--gray-color);
}

.comparison-card.future .comparison-header {
    background-color: var(--accent-color-1);
}

.comparison-header {
    padding: 1.5rem;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.comparison-header i {
    font-size: 1.5rem;
}

.comparison-header h4 {
    margin: 0;
    font-size: 1.3rem;
}

.comparison-content {
    padding: 2rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item.total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.cost-label {
    color: var(--dark-color);
}

.cost-value {
    font-weight: 600;
    color: var(--primary-color);
}

.cost-item.total .cost-value {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.amortization-timeline {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

.amortization-timeline h4 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.timeline-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-bar .year {
    min-width: 80px;
    font-weight: 600;
    color: var(--primary-color);
}

.savings-bar {
    flex: 1;
    height: 40px;
    background-color: rgba(15, 40, 71, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.savings-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 20px;
    transition: width 1s ease;
}

.savings-amount {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.payback-note {
    text-align: center;
    font-style: italic;
    color: var(--gray-color);
    margin: 0;
}

.revenue-opportunities {
    margin-bottom: 4rem;
}

.revenue-opportunities h4 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.revenue-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.revenue-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.revenue-item.primary-revenue {
    border: 2px solid var(--accent-color-3);
    background: linear-gradient(135deg, rgba(255, 160, 14, 0.05), rgba(255, 160, 14, 0.1));
}

.revenue-item.primary-revenue .revenue-icon {
    color: var(--accent-color-3);
    font-size: 3rem;
}

.revenue-item.primary-revenue .potential-amount {
    color: var(--accent-color-3);
    font-size: 1.8rem;
}

.revenue-icon {
    font-size: 2.5rem;
    color: var(--accent-color-3);
    margin-bottom: 1rem;
}

.revenue-content h5 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.revenue-content p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.revenue-potential {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.potential-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.potential-period {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.capex-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
}

.capex-cta h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.capex-cta p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background-color: var(--accent-color-3);
    color: white;
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Responsive Design for CAPEX Section */
@media (max-width: 992px) {
    .capex-comparison {
        grid-template-columns: 1fr;
    }
    
    .revenue-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capex-main-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .revenue-grid {
        grid-template-columns: 1fr;
    }
    
    .tenant-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capex-highlight {
        padding: 2rem;
    }
    
    .amortization-timeline {
        padding: 2rem;
    }
    
    .timeline-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .timeline-bar .year {
        min-width: auto;
    }
    
    .savings-bar {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .tenant-types {
        grid-template-columns: 1fr;
    }
    
    .tenant-type {
        padding: 0.75rem;
    }
    
    .tenant-type span {
        font-size: 0.9rem;
    }
}

.tenant-details {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.tenant-details h5 {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tenant-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tenant-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tenant-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tenant-type i {
    color: var(--accent-color-1);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tenant-type span {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.infrastructure-breakdown {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.infrastructure-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.infrastructure-item:last-child {
    border-bottom: none;
}

.infrastructure-item.total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.item-name {
    color: var(--dark-color);
    font-weight: 500;
}

.item-cost {
    font-weight: 600;
    color: var(--primary-color);
}

.infrastructure-item.total .item-cost {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Extended Timeline Dropdown Styles */
.timeline-subtitle {
    text-align: center;
    color: var(--accent-color-1);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.extended-timeline-dropdown {
    margin-top: 2rem;
    border-top: 2px solid var(--light-gray);
    padding-top: 2rem;
}

.dropdown-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.dropdown-toggle:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.dropdown-toggle i {
    transition: var(--transition);
}

.dropdown-content {
    display: none;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--light-gray);
}

.dropdown-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.dropdown-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.extended-timeline-bars {
    margin-top: 1.5rem;
}

.extended-payback-note {
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .dropdown-toggle {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    
    .dropdown-content {
        padding: 1.5rem;
    }
    
    .dropdown-content h5 {
        font-size: 1.1rem;
    }
} 