@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #1a202c;
    line-height: 1.6;
}

a { color: #5b7c99; text-decoration: none; }
a:hover { color: #3d5a73; }

/* Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    padding: 0.75rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #5b7c99;
}

.nav-logo img { height: 28px; width: auto; }

.lang-switch {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-switch:hover { color: #5b7c99; }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #5b7c99 0%, #3d5a73 100%);
    color: white;
    padding: 9rem 0 5rem;
}

.hero-section .quote {
    font-size: 1.75rem;
    font-style: italic;
    opacity: 0.92;
    margin-bottom: 0.75rem;
}

.hero-section .quote-author {
    font-size: 1rem;
    opacity: 0.7;
    margin: 0;
}

/* Main Content */
.main-content {
    padding: 4rem 0 3rem;
    background: #f8fafc;
}

.main-content h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 2rem 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .cards-grid { grid-template-columns: 1fr; }
}

.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.75rem;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.card h3 {
    font-size: 1.2rem;
    color: #1a202c;
    margin: 0;
}

.card h3 a { color: #1a202c; text-decoration: none; }
.card h3 a:hover { color: #5b7c99; }

.card-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.card-badges img { height: 20px; }

.card p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.65;
}

.card-links {
    font-size: 0.88rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.card-links a:hover { text-decoration: underline; }

/* About Section */
.about-section {
    padding: 0 0 3rem;
    background: #f8fafc;
}

.about-section h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.25rem 0;
}

.about-section p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 700px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0 0;
}

.about-list li {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 2.2;
}

.about-list li i.icon {
    color: #5b7c99;
    width: 1.5em;
    margin-right: 0.25rem;
}

/* Contact Section */
.contact-section {
    padding: 0 0 4rem;
    background: #f8fafc;
}

.contact-card {
    background: linear-gradient(135deg, #5b7c99 0%, #4a6a87 100%);
    border-radius: 10px;
    padding: 2.5rem;
    color: white;
}

.contact-card h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-card .contact-text {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.contact-channel {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.9;
}

.contact-channel:hover { opacity: 1; color: white; }
.contact-channel i.icon { font-size: 1.1rem; margin: 0; }

/* Footer */
.a4e-footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 1.75rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.a4e-footer a { color: #94a3b8; text-decoration: none; }
.a4e-footer a:hover { color: #fff; }

/* Legal page overrides */
.legal-content {
    padding-top: 5rem;
}

.legal-content h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.legal-content h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 1.5rem;
}

.legal-content p, .legal-content li {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
}

.legal-content a { color: #5b7c99; }
.legal-content a:hover { color: #3d5a73; text-decoration: underline; }

.legal-quicklinks {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-quicklinks a { margin-right: 1rem; }
