:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #3498db;
    --news-primary: #c2410c;
    --tech-primary: #2563eb;
    --download-primary: #0d9488;
    --text-strong: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-soft: #94a3b8;
    --sticky-offset: 100px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    scroll-padding-top: var(--sticky-offset);
}

[id] {
    scroll-margin-top: var(--sticky-offset);
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 0;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    color: #333;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: white;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.2s ease-in;
    }

    .navbar .dropdown-menu {
        display: none;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
}

.nav-link-main {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.8rem 0.5rem 0.8rem 1.2rem !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link-main:hover,
.nav-link-main.active {
    color: white !important;
}

.dropdown-toggle-split {
    color: rgba(255,255,255,0.9) !important;
    padding: 0.8rem 0.8rem 0.8rem 0.3rem !important;
    text-decoration: none;
    cursor: pointer;
}

.dropdown-toggle-split:hover {
    color: white !important;
}

.dropdown-toggle-split::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

main {
    flex: 1;
    padding-bottom: 2rem;
}

.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--accent-color);
}

.page-header h1 {
    color: var(--primary-color);
    font-weight: 700;
}

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.breadcrumb-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    border-radius: 25px;
    background: rgba(255,255,255,0.7);
    display: inline-flex;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #adb5bd;
    font-weight: 300;
    padding: 0 0.75rem;
}

.breadcrumb-item a {
    color: #495057;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.breadcrumb-item a:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
}

.breadcrumb-item a i,
.breadcrumb-item.active i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: #6c757d;
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
}

.breadcrumb-item:first-child a i {
    color: #0d6efd;
}

.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.brand-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    background: transparent;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .brand-logo {
        height: 35px;
    }
}

.footer-section {
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-text {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.footer-contact i {
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}
