:root {
    --primary-color: #ffffff;
    --secondary-color: #f8fafc;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --container-width: 1200px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

/* Hero */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: radial-gradient(circle at center, #f8fafc 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero .accent {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Home Categories */
.home-categories {
    padding: 4rem 0;
}

.category-section {
    margin-bottom: 5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.view-all {
    color: var(--accent-color);
    font-weight: 600;
}



.category-grid {
    column-count: 2;
    column-gap: 2.5rem;
}

.category-section {
    break-inside: avoid;
    margin-bottom: 2.5rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    min-width: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-section:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.section-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .category-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .category-grid {
        column-count: 1;
        column-gap: 1.5rem;
    }
}

/* News Grid (for Category Pages) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.news-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    gap: 0.5rem;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-list-item {
    position: relative;
    padding-left: 1.75rem;
    transition: transform 0.2s ease;
}

.news-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.news-list-item:hover {
    transform: translateX(8px);
}

.news-list-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
}

.news-list-item h3 a:hover {
    color: var(--accent-color);
}

/* Breadcrumbs */
.breadcrumb-nav {
    background: #f8fafc;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
}

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

.breadcrumbs span.sep {
    color: #cbd5e1;
    font-size: 1rem;
}

.breadcrumbs span.current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
.main-footer {
    background-color: #f8fafc;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: block;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-legal h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-legal a {
    color: var(--text-muted);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: 0.9rem;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
}

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

/* Mobile Menu Toggle */
/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #0f172a;
    /* Explicit color match --text-primary */
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        width: 100%;
    }

    /* Mobile Menu Implementation */
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-main);
        flex-direction: column;
        padding-top: 80px;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }

    .main-nav a:hover {
        background-color: var(--secondary-color);
        padding-left: 2.5rem;
    }
}