/* --- Global Reset and Font --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Brand Color Variables (from your PDF) --- */
:root {
    --primary-red: rgba(226, 36, 37, 0.6); /* [cite: 55] */
    --light-grey: #C5C3C4; /* [cite: 56] */
    --dark-grey: #333333; /* [cite: 57] */
    --card-bg: #1e1e1e;
}

body {
    /* NEW: Using Google Fonts */
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    
    /* NEW: Subtle "brushed metal" background */
    background-color: #121212;
    background-image: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0.03) 1px, 
        transparent 1px
    );
    background-size: 100% 3px;
    
    color: var(--light-grey); /* [cite: 56] */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

/* --- Main Layout Container --- */
.container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Header & Logo --- */
header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

/* --- NEW: Sleek Language Switcher --- */
.lang-switcher {
    display: flex;
    justify-content: center;
    border: 1px solid var(--dark-grey); /* [cite: 57] */
    border-radius: 8px;
    overflow: hidden; /* This makes the rounded corners work */
    width: fit-content;
    margin: 0 auto;
}

.lang-btn {
    font-family: 'Oswald', sans-serif; /* Bold heading font */
    background-color: transparent;
    color: var(--light-grey); /* [cite: 56] */
    border: none;
    border-left: 1px solid var(--dark-grey); /* [cite: 57] */
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:first-child {
    border-left: none; /* No border on the first button */
}

.lang-btn:hover {
    background-color: var(--dark-grey); /* [cite: 57] */
    color: #ffffff;
}

/* This class will be added by JS */
.lang-btn.active {
    background-color: rgba(226, 36, 37, 0.5); /* [cite: 55] */
    color: #ffffff;
    box-shadow: 0 0 10px rgba(226, 36, 37, 0.5); /* [cite: 55] */
}


/* --- Content Cards --- */
.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--dark-grey); /* [cite: 57] */
    
    /* NEW: Animation */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* NEW: Card Hover Effect */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(226, 36, 37, 0.3); /* [cite: 55] */
}

h2 {
    /* NEW: Using Google Font */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    
    color: var(--primary-red); /* [cite: 55] */
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--dark-grey); /* [cite: 57] */
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* --- Quick Links & CTA Buttons --- */
.quick-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-button {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background-color: rgba(226, 36, 37, 0.5); /* [cite: 55] */
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    
    /* NEW: Using Google Font */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #ffffff;
    color: var(--primary-red); /* [cite: 55] */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(226, 36, 37, 0.3); /* [cite: 55] */
}

/* --- Social Media Links Section --- */
.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    font-size: 2rem;
    color: var(--primary-red); /* [cite: 55] */
    width: 35px;
    transition: color 0.2s ease;
}

.social-link-item a {
    color: var(--light-grey); /* [cite: 56] */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.social-link-item:hover .social-icon,
.social-link-item:hover a {
    color: #ffffff; /* Brighten both on hover */
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--dark-grey); /* [cite: 57] */
}

/* --- RTL (Right-to-Left) Support --- */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .social-link-item {
    flex-direction: row-reverse;
}