:root {
    /* Global Brand Colors */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #f0fdf4;
    --secondary: #daa520;
    --secondary-dark: #b8860b;
    --accent: #FFD700;
    
    /* Layout & Text */
    --bg-main: #ffffff;
    --bg-alt: #f9fbf9;
    --bg-sidebar: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border: #ececec;
    
    /* Status Colors */
    --success: #27ae60;
    --warning: #f1c40f;
    --danger: #e74c3c;
    --blue: #2980b9;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    padding: 4px 16px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s;
}

.sidebar-nav li a i {
    width: 20px;
}

.sidebar-nav li.active a {
    background: var(--primary);
    color: var(--white);
}

.sidebar-nav li a:hover:not(.active a) {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-divider {
    margin: 10px 16px;
    height: 1px;
    background: var(--border);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.user-info .name {
    font-size: 0.9rem;
    font-weight: 600;
}

.user-info .role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.logout-btn:hover {
    color: var(--danger);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    width: calc(100% - 280px);
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box i {
    color: var(--text-muted);
    width: 18px;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 0.9rem;
    width: 200px;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-icon-btn {
    background: var(--white);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.action-icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid var(--white);
}

.date-display {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px;
    border-radius: 24px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 128, 0, 0.15);
}

.welcome-text h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.welcome-text p {
    opacity: 0.9;
}

.period-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-trend.positive {
    color: var(--success);
}

.stat-trend.negative {
    color: var(--danger);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    width: 28px;
    height: 28px;
}

.stat-icon.green {
    background: #e6f2e6;
    color: var(--primary);
}

.stat-icon.yellow {
    background: #fff9e6;
    color: var(--secondary-dark);
}

.stat-icon.blue {
    background: #e6f2ff;
    color: var(--blue);
}

.stat-icon.red {
    background: #ffe6e6;
    color: var(--danger);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.btn-outline:hover {
    background: var(--bg-main);
    border-color: var(--text-muted);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    width: 100%;
    margin-bottom: 12px;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.table-cell-title {
    font-weight: 600;
    color: var(--text-main);
}

.table-cell-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.success {
    background: #e6f9f5;
    color: var(--success);
}

.status-badge.warning {
    background: #fff8e6;
    color: var(--secondary-dark);
}

/* Side Panel Actions */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 24px;
}

.action-btn {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 20px 10px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: scale(1.02);
}

.action-icon {
    color: var(--primary);
}

.action-btn span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.announcement-box {
    background: #fff9e6;
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--secondary);
}

.announcement-box h3 {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--secondary-dark);
}

.announcement-box p {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }

    .logo span,
    .user-info,
    .sidebar-nav li a span {
        display: none;
    }

    .main-content {
        margin-left: 80px;
        width: calc(100% - 80px);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .top-bar-right {
        width: 100%;
        justify-content: space-between;
    }

    .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Specific Styles for News Profile */
:root {
    --accent: #FFD700;
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #f0fdf4;
    --secondary: #daa520;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.news-header {
    background: white;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--primary);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 850px;
    color: white;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    opacity: 0;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    will-change: transform, opacity;
}

.slide.active .hero-content {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-padding {
    padding: 100px 10%;
}

.underline {
    width: 60px;
    height: 5px;
    background: var(--secondary);
    margin: 15px auto 0;
    border-radius: 10px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    will-change: transform, box-shadow;
    cursor: pointer;
}

.news-card:hover {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.footer-links a {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent) !important;
    padding-left: 8px;
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
}

.leader-card {
    background: white !important;
    border-left: 8px solid #059669 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    border: none !important;
    -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: transform;
    cursor: pointer;
}

.leader-card:hover {
    -webkit-transform: translateY(-10px) !important;
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

/* Gallery Hover Animation */
.gallery-item {
    -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    will-change: transform;
}

.gallery-item:hover {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Adjust animations for mobile devices */
@media (max-width: 768px) {

    .leader-card:hover,
    .gallery-item:hover,
    .news-card:hover {
        -webkit-transform: translateY(-5px) !important;
        transform: translateY(-5px) !important;
    }

    .stat-box:hover {
        -webkit-transform: translateY(-5px) !important;
        transform: translateY(-5px) !important;
    }

    .hero-content {
        -webkit-transform: translateY(20px) !important;
        transform: translateY(20px) !important;
    }

    .slide.active .hero-content {
        -webkit-transform: translateY(0) !important;
        transform: translateY(0) !important;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Socials Styling */
.social-link {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    -webkit-transform: scale(1.2) translateY(-5px);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

.social-link svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5px;
    fill: rgba(255, 255, 255, 0.1);
}

.social-link:hover svg {
    fill: white;
}

.news-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 20px;
}

.news-body .date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.news-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

/* Vision Mission */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: var(--primary-light);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
}

.vm-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.vm-card ul {
    list-style: none;
}

.vm-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.vm-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Leadership */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.leader-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-light);
    background-size: cover;
}

/* Footer */
.footer-main {
    background: #1a1a1a;
    color: white;
    padding: 60px 10% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--accent);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .section-padding {
        padding: 80px 5%;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    /* Hide desktop nav */
    .menu-toggle {
        display: block !important;
    }

    /* Show hamburger */

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 25px 5%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid var(--primary);
        z-index: 1000;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }

    .hero-content {
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem !important;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .socials {
        justify-content: center;
    }

    .news-categories {
        overflow-x: auto;
        padding-bottom: 10px;
        width: 100%;
        justify-content: flex-start;
    }
}

/* Stats Styles - White Theme */
.stats-section {
    background-color: #ffffff;
    padding: 80px 10%;
    text-align: center;
}

.stats-title {
    color: #059669;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background-color: #059669;
    border-radius: 2px;
}

.stats-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    position: relative;
    border-left: 8px solid #059669;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.stat-icon-box {
    background-color: #10b981;
    width: 65px;
    height: 65px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: #10b981;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.stat-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .stats-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid-custom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .section-padding {
        padding: 60px 5%;
    }
}