*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
    --primary: #0052a3; --primary-dark: #003d7a; --accent: #00a0e9;
    --dark: #0a1628; --dark2: #111d32; --card: #152238;
    --text: #e8e8e8; --text-muted: #8899aa; --gold: #c8a84e;
    --border: rgba(255,255,255,0.08);
}
html { scroll-behavior:smooth; }
body {
    font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;
    background:var(--dark); color:var(--text); line-height:1.7;
    overflow-x:hidden;
}
.container { max-width:1200px; margin:0 auto; padding:0 2rem; }

.menu-checkbox { display:none; }
.menu-toggle { display:none; background:none; border:none; color:#fff; font-size:1.5rem; cursor:pointer; }

/* Header */
header {
    position:fixed; top:0; left:0; right:0; z-index:1000;
    background:rgba(10,22,40,0.92); backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,0.06);
    transition:all 0.3s;
}
header .container { display:flex; align-items:center; justify-content:space-between; padding:0.9rem 2rem; }
.logo { font-size:1.4rem; font-weight:700; color:#fff; text-decoration:none; display:flex; align-items:center; gap:0.6rem; }
.logo img { height:42px; width:auto; transition:all 0.3s ease; filter:drop-shadow(0 0 8px rgba(0,160,233,0.3)); }
.logo:hover img { filter:drop-shadow(0 0 16px rgba(0,160,233,0.6)) brightness(1.1); transform:scale(1.05); }
.logo span { color:var(--accent); }
.logo small { font-size:0.65rem; color:var(--text-muted); display:block; line-height:1; }
nav { display:flex; align-items:center; }
nav a {
    color:var(--text-muted); text-decoration:none; font-size:0.9rem;
    font-weight:500; margin-left:2rem; transition:color 0.2s;
}
nav a:hover { color:#fff; }
nav a.active { color:var(--accent); }
.lang-switch { margin-left:1rem; padding:0.4rem 0.8rem; border:1px solid var(--border); border-radius:6px; color:var(--text-muted); font-size:0.8rem; cursor:pointer; background:transparent; }

/* Hero */
.hero {
    min-height:100vh; display:flex; align-items:center;
    background:linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,10,40,0.6) 100%), url('../img/hero-bg.jpg') center/cover no-repeat;
    position:relative; padding-top:80px;
}
.hero::before {
    content:''; position:absolute; top:0; right:0; width:50%; height:100%;
    background:radial-gradient(circle at 80% 50%, rgba(0,160,233,0.08) 0%, transparent 70%);
}
.hero .container { position:relative; z-index:1; }
.hero h1 { font-size:3rem; font-weight:800; line-height:1.2; margin-bottom:1.5rem; }
.hero h1 span { color:var(--accent); }
.hero p { font-size:1.15rem; color:var(--text-muted); max-width:600px; margin-bottom:2.5rem; letter-spacing:-0.01em; }
.btn {
    display:inline-block; padding:0.85rem 2.2rem; border-radius:8px; font-weight:600;
    font-size:0.95rem; text-decoration:none; transition:all 0.2s; cursor:pointer; border:none;
}
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:#0090d4; transform:translateY(-1px); box-shadow:0 8px 25px rgba(0,160,233,0.3); }
.btn-outline { border:1px solid var(--text-muted); color:#fff; margin-left:0.8rem; }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,0.05); }

/* Section */
section { padding:5rem 0; }
section.alt { background:var(--dark2); }
.section-title { text-align:center; margin-bottom:3.5rem; }
.section-title h2 { font-size:2.2rem; font-weight:700; margin-bottom:0.8rem; }
.section-title h2 span { color:var(--accent); }
.section-title p { color:var(--text-muted); max-width:600px; margin:0 auto; }

/* Stats */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-top:3rem; }
.stat-card {
    background:var(--card); border:1px solid var(--border); border-radius:12px;
    padding:2rem; text-align:center; transition:transform 0.2s;
}
.stat-card:hover { transform:translateY(-4px); border-color:var(--accent); }
.stat-number { font-size:2.5rem; font-weight:800; color:var(--accent); margin-bottom:0.3rem; }
.stat-label { color:var(--text-muted); font-size:0.9rem; }

/* Cards grid */
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.card {
    background:var(--card); border:1px solid var(--border); border-radius:12px;
    padding:2rem; transition:all 0.2s; text-decoration:none; color:var(--text);
    display:block; cursor:pointer;
}
.card:hover { transform:translateY(-4px); border-color:var(--accent); }
.card-img { width:100%; height:180px; object-fit:cover; border-radius:8px; margin-bottom:1rem; background:var(--dark); }
.card-icon { font-size:2.5rem; margin-bottom:1rem; }
.card-icon svg { width:40px; height:40px; stroke:var(--accent); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; display:block; }
.card h3 { font-size:1.2rem; margin-bottom:0.8rem; }
.card p { color:var(--text-muted); font-size:0.9rem; line-height:1.6; }

/* Projects table / list */
.projects-list { display:flex; flex-direction:column; gap:1rem; }
.project-item {
    background:var(--card); border:1px solid var(--border); border-radius:12px;
    padding:1.5rem 2rem; display:flex; align-items:center; gap:1.5rem;
}
.project-country { font-weight:700; color:var(--accent); min-width:160px; font-size:0.95rem; }
.project-desc { flex:1; font-size:0.95rem; }
.project-tag {
    background:rgba(0,160,233,0.15); color:var(--accent); padding:0.3rem 0.8rem;
    border-radius:20px; font-size:0.8rem; white-space:nowrap;
}

/* Highlight */
.highlight-box {
    background:linear-gradient(135deg, rgba(0,160,233,0.1), rgba(0,82,163,0.1));
    border:1px solid rgba(0,160,233,0.2); border-radius:16px; padding:3rem;
    margin:3rem 0; text-align:center;
}
.highlight-box h3 { font-size:1.6rem; margin-bottom:1rem; color:var(--accent); }
.highlight-box p { color:var(--text-muted); max-width:700px; margin:0 auto; }

/* Contact page */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; }
.contact-info h3 { font-size:1.4rem; margin-bottom:1.5rem; }
.contact-item { display:flex; gap:1rem; margin-bottom:1.5rem; align-items:flex-start; }
.contact-item .icon { font-size:1.5rem; min-width:2rem; }
.contact-item .label { color:var(--text-muted); font-size:0.85rem; }
.contact-item .value { font-weight:500; }
.contact-city { color:var(--text-muted); font-size:0.9rem; }
.contact-form { display:flex; flex-direction:column; gap:1rem; }
.contact-form input, .contact-form textarea {
    background:var(--card); border:1px solid var(--border); border-radius:8px;
    padding:0.8rem 1rem; color:#fff; font-size:0.95rem; font-family:inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color:var(--accent); }
.contact-form textarea { min-height:120px; resize:vertical; }

/* About page */
.timeline { position:relative; padding-left:2rem; border-left:2px solid var(--border); margin:2rem 0; }
.timeline-item { margin-bottom:2rem; position:relative; }
.timeline-item::before { content:''; position:absolute; left:-2.45rem; top:0.5rem; width:12px; height:12px; background:var(--accent); border-radius:50%; }
.timeline-year { color:var(--accent); font-weight:700; font-size:1.1rem; margin-bottom:0.3rem; }
.timeline-text { color:var(--text-muted); }

/* Footer */
footer { background:var(--dark2); border-top:1px solid var(--border); padding:3rem 0; text-align:center; color:var(--text-muted); font-size:0.85rem; }
footer .logo { justify-content:center; margin-bottom:1rem; }
footer .logo img { height:32px; opacity:0.6; transition:opacity 0.3s; }
footer .logo img:hover { opacity:1; }
.footer-note { margin-top:0.5rem; }

/* Utilities */
.video-wrap { max-width:800px; margin:0 auto; }
.video-wrap video { width:100%; border-radius:12px; box-shadow:0 4px 24px rgba(0,0,0,0.3); }
.about-intro { max-width:800px; margin:0 auto; }
.about-intro p { font-size:1.15rem; margin-bottom:2rem; line-height:1.9; }
.timeline-wrap { max-width:700px; margin:0 auto; }
.contact-form-title { font-size:1.4rem; margin-bottom:1.5rem; }
.contact-form .btn-full { width:100%; }
.project-p { margin-top:0.8rem; }
.project-tags { margin-top:1rem; }
.text-center { text-align:center; }
.mt-2\.5 { margin-top:2.5rem; }
.mt-3 { margin-top:3rem; }

/* Responsive */
@media (max-width: 768px) {
    .container { padding:0 1rem; }
    nav { flex-direction:column; align-items:center; text-align:center; position:absolute; top:100%; left:0; right:0; background:var(--dark2); padding:1.5rem; border-bottom:1px solid var(--border); z-index:1001; visibility:hidden; opacity:0; pointer-events:none; transition:opacity 0.2s,visibility 0.2s; }
    nav a { margin-left:0; padding:0.6rem 0; font-size:1rem; }
    #menu-toggle:checked ~ nav { visibility:visible; opacity:1; pointer-events:auto; }
    .menu-toggle { display:block; -webkit-tap-highlight-color:transparent; user-select:none; }
    .hero h1 { font-size:2rem; }
    .stats { grid-template-columns:repeat(2,1fr); }
    .cards { grid-template-columns:1fr; }
    .contact-grid { grid-template-columns:1fr; }
    .project-item { flex-direction:column; align-items:flex-start; gap:0.5rem; }
}

/* Page banner */
.page-banner {
    padding:8rem 0 3rem; text-align:center;
    background:linear-gradient(135deg, var(--dark), var(--dark2));
    border-bottom:1px solid var(--border);
}
.page-banner h1 { font-size:2.5rem; font-weight:800; }
.page-banner h1 span { color:var(--accent); }
.page-banner .breadcrumb { color:var(--text-muted); margin-top:0.8rem; font-size:0.9rem; }

/* News article */
.news-article { max-width:800px; margin:0 auto; }
.news-meta { color:var(--text-muted); font-size:0.85rem; margin-bottom:2rem; display:flex; gap:1.5rem; flex-wrap:wrap; }
.news-body h2 { font-size:1.5rem; font-weight:700; color:var(--accent); margin:2rem 0 1rem; }
.news-body h2:first-child { margin-top:0; }
.news-body p { margin-bottom:1rem; line-height:1.9; font-size:1rem; }
.news-body ul { margin:1rem 0 1.5rem 1.5rem; }
.news-body li { margin-bottom:0.5rem; line-height:1.7; }
.news-body li::marker { color:var(--accent); }
.news-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin:2rem 0; }
.news-gallery img { width:100%; border-radius:8px; border:1px solid var(--border); transition:transform 0.2s; cursor:pointer; }
.news-gallery img:hover { transform:scale(1.02); border-color:var(--accent); }
.news-source { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid var(--border); color:var(--text-muted); font-size:0.85rem; }
.news-source a { color:var(--accent); text-decoration:none; }

@media (max-width: 768px) {
    .news-gallery { grid-template-columns:1fr; }
    .page-banner h1 { font-size:1.8rem; }
}
