:root {
    --primary: #C84C1D;
    --dark: #1A1A1A;
    --light: #f9f9f9;
    --white: #ffffff;
    --gray: #666666;
    --eu-blue: #003399;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

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

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

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

.orange-text {
    color: var(--primary);
}

.italic {
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a03d17;
    transform: translateY(-2px);
}

/* Header & Nav */
.header {
    background-color: var(--light);
    color: var(--dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 60px;
    width: auto;
    /* No filter needed for white background */
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    min-height: 80vh;
    padding-top: 50px;
    gap: 40px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    width: 110%;
    height: auto;
    /* mix-blend-mode: multiply; */
    border-radius: 8px;
    transform: scale(1.15);
    transform-origin: center;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.section-tag {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
}

.mission-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.mission-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.mission-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: var(--dark);
    /* Fix white-on-white text */
}

.mission-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.card-icon {
    font-size: 2rem;
    background: var(--light);
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* EU Funding Section */
.eu-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.eu-badge {
    background: var(--eu-blue);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
}

.eu-badge h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.eu-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.eu-table td {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.eu-table td:first-child {
    font-weight: 600;
    width: 150px;
    background: #f9f9f9;
}

/* Contact Section */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.contact-info {
    padding: 100px 60px;
}

.logo-wrapper h2 {
    font-size: 2.5rem;
    line-height: 1;
}

.logo-large {
    width: 200px;
    filter: invert(1);
    margin-bottom: 10px;
}

.divider {
    margin: 40px 0;
    border: none;
    border-top: 1px solid var(--primary);
}

.contact-list li {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-list a:hover {
    color: var(--primary);
}

.contact-form-section {
    padding: 100px;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 40, 40, 0.85);
    z-index: 1;
}

.form-container {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.form-container h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.form-container p {
    margin-bottom: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 4px;
}

.form-response {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    background: #f0f0f0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .header .container {
        padding: 0 40px;
    }

    .hero,
    .mission-grid,
    .eu-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-image {
        order: 1;
    }

    .contact-form-section {
        padding: 60px 20px;
    }

    .nav-links {
        display: none;
        /* Add JS for hamburger later */
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s forwards;
}

.fade-in-delay {
    animation: fadeIn 1.5s forwards;
    opacity: 0;
}