body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 50%, #e6f3ff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, #FF6B35 0%, #28A745 50%, #007BFF 100%);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="0%" r="100%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>') repeat-x;
    pointer-events: none;
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: white;
    font-weight: bold;
}

nav {
    position: relative;
    z-index: 2;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,107,53,0.5);
    color: #FF6B35;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a.active {
    background: linear-gradient(135deg, #FF6B35, #28A745);
    color: white;
    border-color: #FF6B35;
    font-weight: bold;
}

section {
    padding: 20px;
    margin: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255,107,53,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,107,53,0.1);
}

main {
    flex: 1;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(135deg, #FF6B35 0%, #28A745 50%, #007BFF 100%);
    color: #fff;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(255,107,53,0.2);
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

h2 {
    background: linear-gradient(45deg, #FF6B35, #28A745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

p {
    color: #555;
    margin-bottom: 15px;
}

ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.vertical-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.vertical-menu li {
    margin-bottom: 10px;
}

.vertical-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 5px;
}

.vertical-menu li a:hover {
    background-color: #ddd;
}

.horizontal-timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    position: relative;
}

.horizontal-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ccc;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
    z-index: 2;
}

.timeline-content {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-weight: bold;
    margin-right: 10px;
    color: #555;
    font-size: 1.5em; /* Increase font size */
}

.timeline-content img {
    width: 100px; /* Set a standard width */
    height: auto; /* Maintain aspect ratio */
    max-height: 100px; /* Set a maximum height */
    margin-right: 10px;
}

.timeline-content strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.timeline-content p {
    margin: 0;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Styles */
    header {
        padding: 15px 10px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    nav ul li a {
        padding: 10px 18px;
        font-size: 0.9em;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .farm-image {
        height: 200px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    nav ul li {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    
    section {
        margin: 10px;
        padding: 15px;
    }
    
    .timeline-content {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-content img {
        width: 80px;
        max-height: 80px;
        margin: 10px 0;
    }
    
    .timeline-year {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    footer {
        margin-top: 20px;
        padding: 15px 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet Styles */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    section {
        margin: 15px;
        padding: 18px;
    }
    
    .timeline-content img {
        width: 90px;
        max-height: 90px;
    }
}

@media (max-width: 480px) {
    /* Small Mobile Styles */
    h1 {
        font-size: 1.3em;
    }
    
    nav ul li a {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    section {
        margin: 5px;
        padding: 10px;
    }
    
    .timeline-content img {
        width: 60px;
        max-height: 60px;
    }
    
    .timeline-year {
        font-size: 1em;
    }
    
    .company-info strong {
        font-size: 1em;
    }
}

/* Gallery Styles */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.product-item {
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.farm-gallery {
    text-align: center;
    margin: 20px 0;
}

.farm-image {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .farm-image {
        height: 200px;
    }
}

/* Slider Styles */
.slider-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slider {
    display: flex;
    width: 500%;
    animation: slide 15s infinite;
}

.slide {
    width: 20%;
    height: 300px;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes slide {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-20%); }
    45% { transform: translateX(-20%); }
    50% { transform: translateX(-40%); }
    70% { transform: translateX(-40%); }
    75% { transform: translateX(-60%); }
    95% { transform: translateX(-60%); }
    100% { transform: translateX(-80%); }
}

@media (max-width: 768px) {
    .slide {
        height: 200px;
    }
    
    .slider-container {
        max-width: 100%;
        margin: 15px;
    }
}

/* Interactive Company Cards */
.company-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.company-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.company-card.active {
    border-left: 4px solid #007BFF;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.company-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 5px;
}

.card-header h3 {
    flex: 1;
    margin: 0;
    color: #333;
    font-size: 1.1em;
}

.toggle-icon {
    font-size: 24px;
    font-weight: bold;
    color: #007BFF;
    transition: transform 0.3s ease;
}

.company-card.active .toggle-icon {
    transform: rotate(45deg);
}

.card-content {
    display: none;
    padding: 20px;
    border-top: 1px solid #eee;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-category {
    margin-bottom: 20px;
}

.product-category h4 {
    color: #555;
    margin-bottom: 10px;
    font-size: 1em;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.product-tag:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .card-header {
        padding: 15px;
    }
    
    .company-logo {
        width: 40px;
        height: 40px;
    }
    
    .card-header h3 {
        font-size: 1em;
    }
    
    .product-tag {
        font-size: 0.8em;
        padding: 6px 10px;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.value-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #007BFF;
}

.value-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.value-card h3 {
    color: #007BFF;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Vision Mission Cards */
.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.vision-card, .mission-card {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,123,255,0.3);
    transition: all 0.3s ease;
}

.mission-card {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 10px 30px rgba(40,167,69,0.3);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.vm-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
    display: block;
}

.vision-card h3, .mission-card h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: white;
}

.vm-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
}

/* Location Cards */
.location-cards {
    margin: 30px 0;
}

.location-company-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.location-company-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.location-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.location-header .company-info {
    flex: 1;
    margin-left: 15px;
}

.location-header h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.1em;
}

.location-count {
    background: #007BFF;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.location-content {
    display: none;
    padding: 20px;
    border-top: 1px solid #eee;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.location-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.location-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.location-icon {
    font-size: 1.5em;
    margin-right: 12px;
}

.location-details strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.95em;
}

.location-details p {
    color: #666;
    margin: 0;
    font-size: 0.85em;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-mission-container {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card, .vision-card, .mission-card {
        padding: 20px;
    }
}

/* Product Images Grid */
.product-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: scale(1.05);
}

/* Slider Section */
.slider-section {
    margin: 40px 0;
    text-align: center;
}

.slider-section h2 {
    margin-bottom: 30px;
    color: #333;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.contact-card {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,123,255,0.4);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.contact-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-card strong {
    color: #FFD700;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 25px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FF6B35 0%, #28A745 50%, #007BFF 100%);
    color: white;
    padding: 60px 20px;
    margin: -20px -20px 40px -20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-container {
    background: rgba(0,0,0,0.4);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text-container h2 {
    font-size: 2.5em;
    margin: 0;
    color: white;
    font-weight: bold;
}

.hero-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFE4B5;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 5px;
}

.hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-image .slider-container {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.hero-image .slide {
    height: 300px;
}

/* Waterfall Timeline */
.timeline-section {
    margin: 40px 0;
    overflow: hidden;
}

.interactive-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.interactive-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #007BFF, #28a745);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-card {
    position: relative;
    background: linear-gradient(135deg, #007BFF 0%, #28a745 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
    transition: all 0.5s ease;
    overflow: hidden;
    color: white;
    transform-origin: center;
    max-width: 400px;
    z-index: 1;
}

.timeline-card:nth-child(odd) {
    margin-left: 25%;
    margin-right: auto;
    transform: translateX(-10px);
}

.timeline-card:nth-child(even) {
    margin-left: auto;
    margin-right: 25%;
    transform: translateX(10px);
}

/* Network Connection Lines */
.timeline-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.3));
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-card:last-child::after {
    display: none;
}

/* Diagonal connections */
.timeline-card:nth-child(odd):not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -50px;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
    transform: rotate(15deg);
    transform-origin: left center;
    z-index: 1;
}

.timeline-card:nth-child(even):not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -50px;
    width: 100px;
    height: 2px;
    background: linear-gradient(to left, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
    transform: rotate(-15deg);
    transform-origin: right center;
    z-index: 1;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid rgba(255,255,255,0.2);
    z-index: 1;
}

.timeline-card:nth-child(1) {
    animation: waterfall-1 1s ease-out;
}

.timeline-card:nth-child(2) {
    animation: waterfall-2 1.2s ease-out;
}

.timeline-card:nth-child(3) {
    animation: waterfall-3 1.4s ease-out;
}

.timeline-card:nth-child(4) {
    animation: waterfall-4 1.6s ease-out;
}

.timeline-card:nth-child(5) {
    animation: waterfall-5 1.8s ease-out;
}

@keyframes waterfall-1 {
    0% { opacity: 0; transform: translateY(-100px) translateX(-20px) rotate(-5deg); }
    100% { opacity: 1; transform: translateY(0) translateX(-20px) rotate(0deg); }
}

@keyframes waterfall-2 {
    0% { opacity: 0; transform: translateY(-100px) translateX(20px) rotate(5deg); }
    100% { opacity: 1; transform: translateY(0) translateX(20px) rotate(0deg); }
}

@keyframes waterfall-3 {
    0% { opacity: 0; transform: translateY(-100px) translateX(-20px) rotate(-3deg); }
    100% { opacity: 1; transform: translateY(0) translateX(-20px) rotate(0deg); }
}

@keyframes waterfall-4 {
    0% { opacity: 0; transform: translateY(-100px) translateX(20px) rotate(3deg); }
    100% { opacity: 1; transform: translateY(0) translateX(20px) rotate(0deg); }
}

@keyframes waterfall-5 {
    0% { opacity: 0; transform: translateY(-100px) translateX(-20px) rotate(-2deg); }
    100% { opacity: 1; transform: translateY(0) translateX(-20px) rotate(0deg); }
}

.timeline-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,123,255,0.4);
}

.timeline-card:nth-child(odd):hover {
    transform: translateY(-10px) translateX(-10px) scale(1.02);
}

.timeline-card:nth-child(even):hover {
    transform: translateY(-10px) translateX(10px) scale(1.02);
}

/* Connection nodes */
.timeline-card:not(:last-child) {
    position: relative;
}

.timeline-card:not(:last-child)::after {
    box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.timeline-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.timeline-year-badge {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1em;
    margin-right: 15px;
    min-width: 70px;
    text-align: center;
}

.timeline-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 8px;
    background: white;
    padding: 4px;
}

.timeline-info {
    flex: 1;
}

.timeline-info h3 {
    margin: 0 0 5px 0;
    color: white;
    font-size: 1.2em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}





.timeline-details {
    display: block;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.timeline-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.timeline-details strong {
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.timeline-details p {
    color: rgba(255,255,255,0.95);
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2em;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .timeline-card:nth-child(odd),
    .timeline-card:nth-child(even) {
        margin-left: 10%;
        margin-right: 10%;
        transform: translateX(0);
    }
    
    .timeline-card:nth-child(odd):not(:last-child)::before,
    .timeline-card:nth-child(even):not(:last-child)::before {
        display: none;
    }
    
    .timeline-card:hover,
    .timeline-card:nth-child(odd):hover,
    .timeline-card:nth-child(even):hover {
        transform: translateY(-5px) translateX(0) scale(1.01);
    }
    
    .timeline-header {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .timeline-year-badge {
        margin-right: 0;
    }
    
    .timeline-logo {
        width: 50px;
        height: 50px;
    }
}
