/* --- Variables --- */
:root {
    --euro-blue: #003399;       /* EU Flag Blue */
    --euro-yellow: #FFCC00;     /* EU Flag Yellow */
    --white: #ffffff;
    --light-bg: #f3f6f9;
    --text-dark: #2c3e50;
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
    
    --shadow: 0 4px 15px rgba(0,51,153,0.1);
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Top Bar --- */
.eu-bar { background-color: var(--text-dark); color: #ccc; font-size: 0.8rem; padding: 5px 0; }
.flex-bar { display: flex; justify-content: space-between; }
.lang-switch a { margin-left: 10px; font-weight: bold; color: #888; }
.lang-switch a.active { color: var(--white); }

/* --- Header --- */
.main-header { background-color: var(--white); padding: 15px 0; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--euro-yellow); }
.header-grid { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-body); font-weight: 700; font-size: 1.8rem; color: var(--euro-blue); display: flex; align-items: center; }
.yellow-text { color: var(--text-dark); font-weight: 400; }
.stars { color: var(--euro-yellow); font-size: 1rem; margin-left: 10px; letter-spacing: 2px; }

.top-nav ul { display: flex; gap: 20px; align-items: center; }
.top-nav a { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; padding-bottom: 5px; }
.top-nav a:hover, .top-nav a.active { color: var(--euro-blue); border-bottom: 2px solid var(--euro-yellow); }

.btn-blue { background-color: var(--euro-blue); color: var(--white) !important; padding: 8px 20px; border-radius: 20px; font-weight: bold; }
.btn-blue:hover { background-color: #002266; border-bottom: none !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 25px; height: 3px; background-color: var(--euro-blue); }

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 250px; height: 100%;
    background-color: var(--euro-blue); z-index: 2000;
    display: flex; flex-direction: column; padding: 40px; gap: 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2); transition: 0.3s ease;
}
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; font-size: 1.5rem; color: var(--white); background: none; border: none; cursor: pointer; }
.mobile-menu a { color: var(--white); font-weight: bold; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }

/* --- Hero --- */
.hero-eu {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero-content { background-color: rgba(0, 51, 153, 0.9); padding: 50px; border-radius: var(--radius); color: var(--white); max-width: 800px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.hero-content h1 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 20px; color: var(--euro-yellow); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

.hero-buttons { display: flex; gap: 15px; justify-content: center; }
.btn-yellow { background-color: var(--euro-yellow); color: var(--euro-blue); padding: 12px 30px; border-radius: 5px; font-weight: bold; }
.btn-transparent { border: 2px solid var(--white); color: var(--white); padding: 12px 30px; border-radius: 5px; font-weight: bold; }
.btn-yellow:hover { background-color: #fff; }
.btn-transparent:hover { background-color: var(--white); color: var(--euro-blue); }

/* --- Topics Grid --- */
.section-padding { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--euro-blue); }
.line-blue { width: 50px; height: 4px; background-color: var(--euro-blue); margin: 10px auto; border-radius: 2px; }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.topic-card { background-color: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: 0.3s; border-top: 5px solid transparent; }
.topic-card:hover { transform: translateY(-5px); border-top-color: var(--euro-yellow); }
.icon-circle { width: 60px; height: 60px; background-color: #f0f4ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; color: var(--euro-blue); }
.topic-card h3 { font-family: var(--font-heading); margin-bottom: 10px; color: var(--euro-blue); }
.topic-card p { color: #666; font-size: 0.95rem; margin-bottom: 20px; }
.topic-card a { color: var(--euro-blue); font-weight: bold; font-size: 0.9rem; }

/* --- News Strip --- */
.news-strip { background-color: var(--euro-blue); color: var(--white); padding: 15px 0; }
.news-strip .container { display: flex; align-items: center; }
.badge { background-color: var(--euro-yellow); color: var(--euro-blue); padding: 2px 8px; border-radius: 3px; font-weight: bold; font-size: 0.8rem; margin-right: 15px; }
marquee { font-weight: 600; letter-spacing: 1px; }

/* --- About Freedom List --- */
.freedom-list { display: flex; flex-direction: column; gap: 40px; }
.freedom-item { display: flex; gap: 40px; align-items: center; background-color: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.freedom-item.reverse { flex-direction: row-reverse; }
.freedom-item img { width: 40%; height: 250px; object-fit: cover; }
.f-text { padding: 20px; width: 60%; }
.f-text h3 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--euro-blue); margin-bottom: 15px; }

/* --- Testimonials --- */
.map-bg { background-color: #e6ebf5; padding: 40px; border-radius: var(--radius); background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+CjxjaXJjbGUgY3g9IjI1IiBjeT0iMjUiIHI9IjEiIGZpbGw9IiMwMDMzOTkiIGZpbGwtb3BhY2l0eT0iMC4xIi8+Cjwvc3ZnPg=='); } /* Dotted pattern */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.voice-card { background-color: var(--white); padding: 30px; border-radius: var(--radius); position: relative; }
.flag { font-size: 2rem; position: absolute; top: -15px; right: 20px; background: #fff; padding: 5px; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.voice-card blockquote { font-style: italic; color: #555; margin-bottom: 20px; }
.user strong { display: block; color: var(--euro-blue); font-family: var(--font-heading); }
.user span { font-size: 0.85rem; color: #888; }

/* --- Contact Form --- */
.service-box { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background-color: var(--white); padding: 60px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--euro-yellow); }
.service-left h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--euro-blue); margin-bottom: 20px; }
.help-list { list-style: none; margin-top: 30px; }
.help-list li { margin-bottom: 15px; font-weight: bold; font-size: 1.1rem; }

.official-form .form-group { margin-bottom: 20px; }
.official-form label { display: block; margin-bottom: 5px; font-weight: bold; color: var(--text-dark); }
.official-form input, .official-form select, .official-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-body); }
.btn-submit { width: 100%; background-color: var(--euro-blue); color: var(--white); padding: 15px; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background-color: var(--euro-yellow); color: var(--euro-blue); }

/* --- Legal --- */
.law-content { max-width: 800px; margin: 0 auto; background-color: var(--white); padding: 50px; border-radius: var(--radius); }
.law-content h1 { font-family: var(--font-heading); color: var(--euro-blue); text-align: center; }
.law-content h3 { color: var(--euro-blue); margin-top: 30px; margin-bottom: 10px; }

/* --- Footer --- */
.eu-footer { background-color: var(--euro-blue); color: var(--white); padding: 60px 0; margin-top: auto; text-align: center; }
.f-brand { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 10px; }
.f-nav a { color: #ccc; margin: 0 15px; }
.f-nav a:hover { color: var(--white); }
.copyright { margin-top: 30px; font-size: 0.8rem; opacity: 0.7; }

@media (max-width: 900px) {
    .top-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .freedom-item, .freedom-item.reverse { flex-direction: column; }
    .freedom-item img, .f-text { width: 100%; }
    .voice-grid { grid-template-columns: 1fr; }
    .service-box { grid-template-columns: 1fr; }
}