/* Custom Corporate Design System */
:root {
    --primary-color: #0d233a;
    --accent-red: #e53e3e;
    --accent-gold: #d4af37;
    --accent-green: #2e7d32;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-dark: #0f172a;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: #ffffff;
}

body {
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-light { color: var(--text-light); }
.mb-5 { margin-bottom: 2rem; }

/* Grid Layouts */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.items-center { align-items: center; }

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 35, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.brand-logo {
    text-decoration: none;
}

.brand-logo .logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.brand-logo .logo-trx {
    color: var(--accent-red);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand-logo .logo-group {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    color: white;
}

.lang-switcher select {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.lang-switcher select option {
    background: var(--primary-color);
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
    color: white;
    padding-top: 5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #f5c518;
}

/* Components & Cards */
.section {
    padding: 5rem 0;
}

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

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

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dark-bg .section-title {
    color: white;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.dark-card {
    background: #1e293b;
    border-color: #334155;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Card External Links Styling */
.card-links {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Image Placeholders */
.img-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
}

.bg-dark-gradient { background: linear-gradient(135deg, #0d233a, #2a4d69); }
.bg-green-gradient { background: linear-gradient(135deg, #1b5e20, #4caf50); }
.bg-emerald { background: linear-gradient(135deg, #004d40, #009688); }

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer-col {
    text-align: center;
}

.footer-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }
}