/* Main Styles */
:root {
    --primary-color: #0038b8; /* Israel blue */
    --secondary-color: #ffffff; /* White */
    --accent-color: #ff6b6b; /* Accent red */
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Section */
.header-section {
    background: linear-gradient(rgba(0, 56, 184, 0.8), rgba(0, 56, 184, 0.9)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
}

.header-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.header-section h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 2rem;
    color: var(--secondary-color);
}

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

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
}

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

.bg-light {
    background-color: var(--light-color);
}

/* Stat Cards */
.key-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
}

.stat-card.large .stat-number {
    font-size: 3.5rem;
}

/* Chart Containers */
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
}

/* Funding Breakdown */
.funding-breakdown {
    margin-bottom: 2rem;
}

.funding-item {
    margin-bottom: 1rem;
}

.funding-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.progress {
    height: 25px;
    border-radius: var(--border-radius);
}

.progress-bar {
    font-weight: 600;
    line-height: 25px;
}

/* Funding Highlights */
.funding-highlights {
    display: flex;
    justify-content: space-between;
}

.highlight-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex: 1;
    margin: 0 0.5rem;
}

.highlight-item h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Market Segments */
.market-segments {
    margin-bottom: 2rem;
}

.global-comparison {
    margin-top: 2rem;
}

.comparison-bar {
    margin-top: 1rem;
    position: relative;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.israel-bar, .us-bar {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: white;
    font-weight: 600;
}

.israel-bar {
    background-color: var(--primary-color);
    left: 0;
    z-index: 2;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.us-bar {
    background-color: #3a86ff;
    left: 0;
    z-index: 1;
}

/* Industry Map */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.industry-strengths {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.industry-strengths ul {
    list-style: none;
    padding: 0;
}

.industry-strengths li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.industry-strengths i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Growth Areas Tabs */
.growth-areas-tabs {
    margin-top: 1rem;
}

.nav-tabs {
    border-bottom: 2px solid var(--primary-color);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-color);
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 3px solid var(--primary-color);
}

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

.growth-highlight {
    text-align: center;
    margin-top: 1.5rem;
}

.growth-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Acquisition Timeline */
.acquisition-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.acquisition-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.acquisition-item {
    position: relative;
    margin-bottom: 2rem;
}

.acquisition-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.acquisition-content {
    position: relative;
    width: 45%;
    padding: 1.5rem;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.acquisition-item:nth-child(even) .acquisition-content {
    left: 55%;
}

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

.acquisition-total {
    text-align: center;
    margin-top: 3rem;
}

.acquisition-total h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Trend Cards */
.trend-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.trend-card:hover {
    transform: translateY(-10px);
}

.trend-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.trend-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trend-details-btn {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    padding: 4rem 0 2rem;
}

.footer h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.source-list {
    list-style: none;
    padding: 0;
}

.source-list li {
    margin-bottom: 0.5rem;
}

.footer-info {
    margin-top: 2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .key-stats, .industry-stats {
        grid-template-columns: 1fr;
    }
    
    .acquisition-timeline::before {
        left: 30px;
    }
    
    .acquisition-item::before {
        left: 30px;
    }
    
    .acquisition-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
}

@media (max-width: 768px) {
    .header-section h1 {
        font-size: 2.5rem;
    }
    
    .header-section h2 {
        font-size: 1.5rem;
    }
    
    .funding-highlights {
        flex-direction: column;
    }
    
    .highlight-item {
        margin: 0.5rem 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0030a0;
}
