:root {
    --primary-color: #1f1fb6;
    --secondary-color: #f0b422;
    --background-color: #f9f9f9;
    --text-color: #333;
    --card-bg: #ffffff;
    --header-bg: var(--primary-color);
    --footer-text: #555;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 18px;
    transition: background 0.5s, color 0.5s;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--header-bg);
    color: white;
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin-top: 20px;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.back-arrow {
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
}
.back-arrow:hover {
    transform: translateX(-5px);
}

.theme-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}
.theme-btn:hover {
    background: #e0a71e;
}

section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    animation: fadeInUp 1s ease forwards;
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-left: 6px solid var(--secondary-color);
    padding-left: 10px;
}

ul li {
    margin-bottom: 10px;
}

#contact .contacts-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contact a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

#contact a:hover {
    color: var(--secondary-color);
}

.contact-link-icons {
    margin-top: 1rem;
}

.contact-link-icons a {
    font-size: 2.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s, color 0.3s;
}

.contact-link-icons a:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.news-ticker {
    overflow: hidden;
    background: var(--primary-color);
    color: white;
    margin-top: 2rem;
    padding: 0.5rem 0;
}
.news-ticker p {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 20s linear infinite;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ending {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--footer-text);
}
.document-link {
    margin: 0 10px;
    text-decoration: none;
    color: var(--primary-color);
}
.document-link:hover {
    color: var(--secondary-color);
}

/* 🌙 Dark Theme Overrides */
body.dark-theme {
    --background-color: #121212;
    --text-color: #ddd;
    --card-bg: #1e1e1e;
    --header-bg: #222;
    --footer-text: #aaa;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    header h1 { font-size: 2rem; }
}
