:root {
    --primary-color: #00796b;
    --secondary-color: #26a69a;
    --accent-color: #ff6b6b;
    --highlight-color: #feca57;
    --dark-blue: #34495e;
    --light-blue: #74b9ff;
    --text-color: #2c3e50;
    --bg-color: #f0f3f7;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00796b 0%, #26a69a 100%);
    --gradient-3: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Landing Page */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 50%, #66BB6A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 1s ease-out;
    overflow: hidden;
}

.landing-page.fade-out {
    opacity: 0;
    pointer-events: none;
}

.landing-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

.eu-funding-text {
    margin-bottom: 50px;
}

.eu-funding-text p {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.landing-flags {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.flag-container {
    transition: transform 0.3s ease;
}

.flag-container:hover {
    transform: scale(1.05);
}

.flag {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.flag:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* EU Flag */
.eu-flag {
    background: #003399;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eu-flag img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 3px;
}

/* Bulgarian Flag */
.bulgarian-flag {
    display: flex;
    flex-direction: column;
}

.stripe {
    flex: 1;
    height: 33.33%;
}

.stripe.white {
    background: #ffffff;
}

.stripe.green {
    background: #00966e;
}

.stripe.red {
    background: #d62612;
}

/* Logo Flag */
.logo-flag {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
}

.logo-flag img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Enter Button */
.enter-button {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.enter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.6);
}

.enter-button:hover::before {
    left: 100%;
}

/* Landing Pattern */
.landing-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="diagonal" patternUnits="userSpaceOnUse" width="20" height="20" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="20" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23diagonal)"/></svg>');
    opacity: 0.3;
}

/* Main Site */
.main-site {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.main-site.visible {
    display: block;
    opacity: 1;
}

/* EU Funding Header */
.eu-funding-header {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    color: white;
    padding: 90px 0 20px;
    min-height: 15vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.eu-funding-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 100"><defs><pattern id="diagonal" patternUnits="userSpaceOnUse" width="15" height="15" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="15" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23diagonal)"/></svg>');
    opacity: 0.4;
}

.header-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.eu-funding-content {
    text-align: center;
    flex: 1;
}

.eu-funding-content p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.header-primary {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.header-secondary {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.header-flags {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.header-flags .flag {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.header-flags .flag-container:hover {
    transform: scale(1.1);
}

.header-flags .eu-flag img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 2px;
}

/* EU Funding Footer */
.eu-funding-footer {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.eu-funding-footer::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 100"><defs><pattern id="diagonal" patternUnits="userSpaceOnUse" width="15" height="15" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="15" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23diagonal)"/></svg>');
    opacity: 0.3;
}

.footer-flags {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.footer-flags .flag {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-flags .flag-container:hover {
    transform: scale(1.05);
}

.footer-flags .eu-flag img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 2px;
}

.footer-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-primary {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-secondary {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.navbar::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 100"><defs><pattern id="diagonal" patternUnits="userSpaceOnUse" width="10" height="10" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="10" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23diagonal)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
    z-index: 2;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-logo i {
    color: #ffcc00;
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: #ffcc00;
}

.language-toggle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::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 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: 100% 100%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--highlight-color);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background: #f39c12;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(254, 202, 87, 0.4);
}

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

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.water-drop {
    position: absolute;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 3s ease-in-out infinite;
}

.plant-icon {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.6);
    bottom: 0;
    animation: grow 2s ease-in-out infinite alternate;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes grow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

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

section {
    padding: 100px 0;
    scroll-margin-top: 70px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-blue);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* Project Section */
.project-section {
    background: var(--bg-color);
}

.project-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 121, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

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

.project-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

/* Technology Section */
.tech-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.tech-step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.tech-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

/* Benefits Section */
.benefits-section {
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #4CAF50;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c5530;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2c5530;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c5530;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: #2c5530;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .project-info,
    .tech-flow,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

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

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

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Timeline Section */
.timeline-section {
    background: var(--white);
    position: relative;
}

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

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

.timeline-item {
    position: relative;
    margin: 40px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 0 20px;
    box-shadow: 0 5px 20px rgba(0, 121, 107, 0.3);
}

.timeline-marker i {
    color: white;
    font-size: 1.5rem;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 20px;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.6;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
    border-right-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
    border-left-color: var(--white);
}

/* Statistics Section */
.statistics-section {
    background: var(--gradient-3);
    color: white;
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: skewY(-2deg);
    transform-origin: top left;
}

.statistics-section h2 {
    color: white;
    position: relative;
    z-index: 2;
}

.statistics-section h2::after {
    background: var(--highlight-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--highlight-color);
    display: inline-block;
    margin-bottom: 10px;
}

.stat-symbol {
    font-size: 2rem;
    color: var(--highlight-color);
    display: inline-block;
    margin-left: 5px;
}

.stat-card p {
    font-size: 1.1rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
}

/* Partners Section */
.partners-section {
    background: var(--bg-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-2);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.partner-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1) rotate(5deg);
}

.partner-icon i {
    font-size: 2rem;
    color: white;
}

.partner-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.partner-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-color);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.faq-question:hover {
    background: var(--secondary-color);
    color: white;
}

.faq-question span {
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question:hover i {
    color: white;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-answer.active {
    padding: 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-marker {
        position: absolute;
        left: -90px;
        margin: 0;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .timeline-content::before {
        left: -30px !important;
        border-right-color: var(--white) !important;
        border-left-color: transparent !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        margin-left: 40px;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        left: -70px;
    }
    
    .timeline-marker i {
        font-size: 1.2rem;
    }
}

/* Tech Introduction */
.tech-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.tech-intro p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Methodology Section */
.methodology-section {
    background: var(--white);
}

.methodology-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

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

.methodology-overview h3 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

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

.methodology-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.phase-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.phase-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.phase-card h4 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
    margin-top: 10px;
}

.phase-card ul {
    list-style: none;
}

.phase-card li {
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.phase-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Specifications Section */
.specifications-section {
    background: var(--bg-color);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.spec-category {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.spec-category:hover {
    transform: translateY(-5px);
}

.spec-category h3 {
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
}

.spec-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.spec-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: var(--secondary-color);
    color: white;
}

.spec-item strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.spec-item:hover strong {
    color: white;
}

.spec-item span {
    color: var(--primary-color);
    font-weight: 500;
}

.spec-item:hover span {
    color: var(--highlight-color);
}

/* Environmental Section */
.environmental-section {
    background: var(--white);
}

.environmental-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

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

.impact-overview p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.metric-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.metric-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotate(5deg);
}

.metric-icon i {
    font-size: 2rem;
    color: white;
}

.metric-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.metric-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Case Studies Section */
.case-studies-section {
    background: var(--bg-color);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.case-study {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px);
}

.case-header {
    background: var(--gradient-2);
    color: white;
    padding: 25px;
    text-align: center;
}

.case-header h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.case-location {
    font-size: 0.9rem;
    opacity: 0.9;
}

.case-content {
    padding: 30px;
}

.case-content h4 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 1.1rem;
}

.case-content h4:first-child {
    margin-top: 0;
}

.case-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.case-content li {
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.case-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Videos Section */
.videos-section {
    background: var(--bg-color);
    padding: 100px 0;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.video-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-item h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.video-item video {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Updates for new sections */
@media (max-width: 768px) {
    .methodology-phases {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-metrics {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-container {
        grid-template-columns: 1fr;
    }
    
    .video-item video {
        height: 250px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-menu li {
        flex: 1;
        min-width: 80px;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    /* Landing Page Mobile */
    .landing-flags {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .flag {
        width: 280px;
        height: 180px;
    }
    
    .eu-funding-text p {
        font-size: 1.1rem;
    }
    
    .enter-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    /* Header Mobile */
    .eu-funding-header {
        padding: 85px 0 15px;
        min-height: auto;
    }
    
    .header-content-wrapper {
        gap: 20px;
    }
    
    /* Navbar Mobile */
    .navbar {
        top: 0;
        position: fixed;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    section {
        scroll-margin-top: 70px;
    }
    
    .header-flags {
        gap: 15px;
    }
    
    .header-flags .flag {
        width: 80px;
        height: 53px;
    }
    
    
    
    
    .header-primary {
        font-size: 1.1rem;
    }
    
    .header-secondary {
        font-size: 0.9rem;
    }
    
    .header-flags {
        gap: 15px;
    }
    
    .header-flags .flag {
        width: 60px;
        height: 40px;
    }
    
    
    
    /* Footer Mobile */
    .footer-flags {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer-flags .flag {
        width: 100px;
        height: 67px;
    }
    
    .footer-primary {
        font-size: 1.1rem;
    }
    
    .footer-secondary {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tech-intro p {
        font-size: 1rem;
        padding: 20px;
    }
    
    .methodology-overview h3 {
        font-size: 1.5rem;
    }
    
    .methodology-overview p {
        font-size: 1rem;
    }
    
    .phase-card {
        padding: 20px;
    }
    
    .spec-category {
        padding: 25px;
    }
    
    .impact-overview p {
        font-size: 1rem;
        padding: 20px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .video-item {
        padding: 20px;
    }
    
    .video-item video {
        height: 200px;
    }
    
    /* Landing Page Small Mobile */
    .flag {
        width: 250px;
        height: 160px;
    }
    
    .eu-funding-text p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .enter-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Header Small Mobile */
    .header-primary {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .header-secondary {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .header-flags .flag {
        width: 60px;
        height: 40px;
    }
    
    
    
    
    /* Footer Small Mobile */
    .footer-flags .flag {
        width: 90px;
        height: 60px;
    }
    
    
    
    .footer-primary {
        font-size: 1rem;
    }
    
    .footer-secondary {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .footer-bottom {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}