:root {
    --primary-color: #009E42;
    --secondary-color: #BA2D0B;
    --accent-color: #BA2D0B;
    --success-color: #10b981;
    --text-dark: #232323;
    --text-black: #000000;
    --text-light: #656B76;
    --text-blue: #2E3760;
    --bg-light: #f9fafb;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-contact .top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar-flag {
    height: 18px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    border-radius: 1px;
}

/* Combined Header with Logo and Navigation */
.main-header {
    background: white;
    color: var(--text-dark);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 8px 0;
    background: white;
    border-bottom: 2px solid var(--primary-color);
}

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

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

.coat-of-arms {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.coat-of-arms .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 60px;
    line-height: 1.15;
}

.header-text h1 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.header-text p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    opacity: 0.9;
}

/* Navigation Bar - White Background */
.navbar-wrapper {
    background: white;
    border-top: 1px solid #e5e7eb;
}

.main-header .navbar {
    padding: 0;
}

.main-header .navbar-collapse {
    flex-grow: 1;
}

@media (min-width: 992px) {
    .main-header .navbar-collapse {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-header .navbar-nav {
        flex-wrap: nowrap;
        width: 100%;
        justify-content: flex-start;
    }
}

.main-header .navbar-toggler {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.main-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 158, 66, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-header .navbar-nav {
    align-items: center;
    flex-wrap: nowrap;
}

.main-header .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 1rem 0.9rem;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .main-header .navbar-nav .nav-link {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px) {
    .main-header .navbar-nav .nav-link {
        padding: 1rem 1rem;
        font-size: 0.95rem;
    }
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.main-header .navbar-nav .dropdown-menu {
    background: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.main-header .navbar-nav .dropdown-item {
    color: var(--text-dark);
    padding: 10px 20px;
}

.main-header .navbar-nav .dropdown-item:hover,
.main-header .navbar-nav .dropdown-item.active {
    background: var(--secondary-color);
    color: white;
}

/* Search Icon Only */
.search-icon {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.3rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-icon:hover {
    color: var(--secondary-color);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 158, 66, 0.4), rgba(0, 122, 51, 0.4));
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    z-index: 10;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .carousel-caption {
        padding: 0 15px;
        max-width: 100%;
    }
}

.carousel-caption h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    max-height: 5.2rem; /* 2 lines * 2rem * 1.3 line-height */
}

@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.5rem;
        max-height: 3.9rem; /* 2 lines * 1.5rem * 1.3 line-height */
    }
}

.carousel-caption p {
    font-size: 1rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    max-height: 4.5rem; /* 3 lines * 1rem * 1.5 line-height */
}

@media (max-width: 768px) {
    .carousel-caption p {
        font-size: 0.9rem;
        max-height: 4.05rem; /* 3 lines * 0.9rem * 1.5 line-height */
        margin-bottom: 20px;
    }
}

/* Hero fallback background - government brand colors only */
.hero-fallback-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #007A33 100%);
}

/* Empty state - consistent typography */
.empty-state-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.empty-state-text {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.empty-state-subtext {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.3);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Carousel Actions */
.carousel-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* Post Category Badge */
.post-category-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.post-category-badge i {
    margin-right: 5px;
}

.slide-background-1 {
    background: linear-gradient(rgba(0, 158, 66, 0.85), rgba(0, 122, 51, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23009E42" width="1200" height="600"/><circle cx="200" cy="150" r="80" fill="%23BA2D0B" opacity="0.3"/><circle cx="900" cy="400" r="120" fill="%23007A33" opacity="0.2"/></svg>');
    background-size: cover;
}

.slide-background-2 {
    background: linear-gradient(rgba(0, 158, 66, 0.85), rgba(0, 122, 51, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23007A33" width="1200" height="600"/><rect x="100" y="100" width="200" height="200" fill="%23009E42" opacity="0.3"/><rect x="800" y="250" width="250" height="250" fill="%23BA2D0B" opacity="0.2"/></svg>');
    background-size: cover;
}

.slide-background-3 {
    background: linear-gradient(rgba(0, 158, 66, 0.85), rgba(0, 122, 51, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23009E42" width="1200" height="600"/><polygon points="300,100 400,300 200,300" fill="%23BA2D0B" opacity="0.3"/><polygon points="900,200 1100,450 700,450" fill="%23007A33" opacity="0.2"/></svg>');
    background-size: cover;
}

/* Mission, Mandate & Values Section */
.mission-section {
    background: white;
    padding: 70px 0;
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.mission-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px 35px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s;
}

.mission-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.mission-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.mission-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #007A33 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 158, 66, 0.25);
}

.mission-icon-wrapper i {
    font-size: 2.2rem;
    color: white;
}

.mission-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.mission-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.mission-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Core Values List */
.values-list {
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.values-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
    border-bottom: 1px solid #e5e7eb;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.mission-section .section-header {
    margin-bottom: 60px;
}

.mission-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.mission-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.mission-section .section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
}
.quick-links {
    background-color: white;
    padding: 60px 0;
}

.quick-link-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.quick-link-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quick-link-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.quick-link-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Statistics */
.statistics {
    background: linear-gradient(135deg, #009E42 0%, #007A33 100%);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* News Section */
.news-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    max-height: 500px !important;
}

.news-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #009E42 0%, #007A33 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
    line-height: 1.5;
}

/* Announcements */
.announcements {
    background: white;
    padding: 60px 0;
}

.announcement-item {
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: 4px;
}

.announcement-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-blue);
}

.announcement-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Feedback Section - Simplified */
.feedback-section {
    background: linear-gradient(135deg, #009E42 0%, #007A33 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="rgba(255,255,255,0.05)" d="M0,0 Q300,60 600,30 T1200,0 L1200,120 L0,120 Z"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.feedback-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.feedback-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feedback-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-feedback-simple {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 50px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-feedback-simple:hover {
    color: var(--primary-color);
    opacity: 0.95;
}

.btn-feedback-simple i {
    font-size: 1.2rem;
}
.footer {
    background-color: #1f2937;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.social-links a {
    color: #d1d5db;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
    color: white;
}

.btn-primary-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline-custom:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-feedback {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-feedback:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Section subtitle - consistent heading for form sections and sidebars */
.section-subtitle {
    color: var(--text-blue);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}

.sidebar h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-blue);
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar-links a:hover {
    background: white;
    color: var(--secondary-color);
    padding-left: 15px;
}

/* Facebook Updates sidebar */
.facebook-updates-sidebar .sidebar-subtitle {
    font-size: 0.875rem;
}

.fb-page-wrapper {
    min-height: 400px;
    overflow: hidden;
}

.fb-page-wrapper .fb-page span,
.fb-page-wrapper iframe {
    max-width: 100% !important;
}

@media (max-width: 767px) {
    .fb-page-wrapper {
        min-height: 350px;
    }
}

@media (max-width: 991px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .logo-section {
        margin-bottom: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* ============================================
   VACANCIES PAGE SPECIFIC STYLES
   ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #009E42 0%, #007A33 100%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header .lead {
    font-size: 1.1rem;
    opacity: 0.95;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Content Section */
.content-section {
    padding: 50px 0;
    background-color: white;
}

/* Alert Box */
.alert-box {
    background: #dbeafe;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.alert-box i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.alert-box strong {
    color: var(--text-blue);
}

/* Vacancy Card */
.vacancy-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.vacancy-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.vacancy-title h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 8px;
    line-height: 1.3;
}

.vacancy-department {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.vacancy-badges {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: flex-end;
}

.vacancy-type {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.type-permanent {
    background: #d1fae5;
    color: #065f46;
}

.type-contract {
    background: #dbeafe;
    color: #1e40af;
}

.type-temporary {
    background: #fed7aa;
    color: #92400e;
}

.vacancy-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-closing-soon {
    background: #fed7aa;
    color: #92400e;
}

.vacancy-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.meta-item i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 1.1rem;
}

.meta-item strong {
    margin-right: 5px;
}

.vacancy-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.vacancy-requirements {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.vacancy-requirements h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 12px;
}

.vacancy-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.vacancy-requirements li {
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.6;
}

.vacancy-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-apply {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-apply:hover {
    background: var(--primary-color);
    color: white;
}

.btn-apply i {
    margin-right: 8px;
}

.btn-details {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-details:hover {
    background: var(--secondary-color);
    color: white;
}

/* Filter Section */
.filter-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.filter-group select,
.filter-group input {
    border: 2px solid #e5e7eb;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

/* Stats Box */
.stats-box {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Application Guide Box */
.application-guide {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.application-guide h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.application-guide p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.application-guide ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.application-guide li {
    margin-bottom: 8px;
    opacity: 0.95;
}

.application-guide a {
    background: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

/* Section Title */
.section-title {
    margin-bottom: 30px;
}

.section-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Enhanced Sidebar for Vacancies */
.sidebar-links a.active {
    background: var(--secondary-color);
    color: white;
    padding-left: 20px;
}

.sidebar-links a i {
    margin-right: 8px;
    width: 20px;
}

/* ============================================
   FEEDBACK PAGE SPECIFIC STYLES
   ============================================ */

/* Info Alert */
.info-alert {
    background: #dbeafe;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.info-alert i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.info-alert strong {
    color: var(--text-blue);
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 10px;
}

.form-card p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(186, 45, 11, 0.25);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
}

/* Sidebar Info */
.sidebar-info {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 20px;
}

.sidebar-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 18px;
}

.sidebar-info .info-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    margin-right: 0 !important;
}

.sidebar-info .info-icon i {
    font-size: 1.3rem;
    color: white;
}

.info-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 158, 66, 0.25);
}

.info-icon-large i {
    font-size: 2rem;
    color: white;
}

.sidebar-info .info-content {
    flex: 1;
}

.sidebar-info .info-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 8px;
    margin-top: 0;
}

.sidebar-info .info-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* Guidelines Box */
.guidelines-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.guidelines-box h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

.guidelines-box ul {
    margin: 0;
    padding-left: 20px;
}

.guidelines-box li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* FAQ Box */
.faq-box {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
}

.faq-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Buttons for Feedback */
.btn-secondary-custom {
    background: white;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background: var(--secondary-color);
    color: white;
}

/* Radio and Checkbox Custom */
.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-check-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(186, 45, 11, 0.25);
}

/* ============================================
   ABOUT US PAGE SPECIFIC STYLES
   ============================================ */

/* Info Card */
.info-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.info-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-card ul {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-card ul li {
    margin-bottom: 10px;
}

/* Value Box */
.value-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.value-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.value-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.value-box h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 15px;
}

.value-box p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Leadership Card */
.leadership-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.leadership-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.leadership-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.leadership-photo i {
    font-size: 3.5rem;
    color: white;
}

.leadership-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 8px;
}

.leadership-card .position {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.leadership-card .bio {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Info in Sidebar */
.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.contact-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item strong {
    color: var(--text-blue);
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item div {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   TENDERS PAGE SPECIFIC STYLES
   ============================================ */

/* Tender Card */
.tender-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.tender-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tender-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.tender-title {
    flex: 1;
}

.tender-number {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tender-title h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-blue);
    margin: 0;
    line-height: 1.3;
}

.tender-status {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 20px;
}

.status-open {
    background: #d1fae5;
    color: #065f46;
}

.status-closing-soon {
    background: #fed7aa;
    color: #92400e;
}

.status-closed {
    background: #e5e7eb;
    color: #6b7280;
}

.status-awarded {
    background: #dbeafe;
    color: #1e40af;
}

.tender-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tender-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.tender-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-view-tender {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-view-tender:hover {
    background: var(--primary-color);
    color: white;
}

.btn-download {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-download:hover {
    background: var(--secondary-color);
    color: white;
}

/* Tabs for Tenders */
.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 30px;
}

.nav-tabs .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
}

.nav-tabs .nav-link.active {
    color: var(--secondary-color);
    background: transparent;
    border-bottom-color: var(--secondary-color);
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ============================================
   RESOURCES PAGE SPECIFIC STYLES
   ============================================ */

/* Search Box */
.search-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.search-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input-group .form-control {
    flex: 1;
}

.search-input-group button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.search-input-group button:hover {
    background: var(--primary-color);
}

/* Category Card */
.category-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.category-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 2.5rem;
    color: white;
}

.category-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 15px;
}

.category-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.resource-count {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Quick Link Box */
.quick-link-box {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.quick-link-box:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(186, 45, 11, 0.1);
}

.quick-link-box h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 5px;
}

.quick-link-box h5 i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.quick-link-box p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Document List */
.document-list {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.document-item:last-child {
    border-bottom: none;
}

.document-item:hover {
    background: var(--bg-light);
}

.document-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.document-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.document-details {
    flex: 1;
}

.document-details h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 8px;
}

.document-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.document-meta span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.document-meta i {
    color: var(--secondary-color);
}

.document-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-view {
    background: var(--bg-light);
    color: var(--text-blue);
}

.btn-view:hover {
    background: var(--text-blue);
    color: white;
}

.btn-download.btn-icon {
    background: var(--secondary-color);
    color: white;
}

.btn-download.btn-icon:hover {
    background: var(--primary-color);
}

/* ============================================
   ACADEMIC CALENDAR TABLE STYLES
   ============================================ */

.academic-calendar-section {
    background: white;
    padding: 70px 0;
}

.academic-calendar-section .section-header {
    margin-bottom: 60px;
}

.calendar-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 158, 66, 0.25);
}

.calendar-year-badge i {
    font-size: 1.2rem;
}

.academic-calendar-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.academic-calendar-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.academic-calendar-section .section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
}

.calendar-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: 40px;
}

.calendar-table-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 25px 30px;
}

.calendar-table-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Calendar Table Styles */
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: white;
    margin: 0;
}

.calendar-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.calendar-table thead th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-blue);
    border: none;
    border-bottom: 2px solid var(--primary-color);
    vertical-align: middle;
}

.calendar-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.calendar-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.calendar-table tbody tr:hover {
    background: #f1f5f9;
}

.calendar-table tbody tr.current-term {
    background: linear-gradient(135deg, rgba(0, 158, 66, 0.08) 0%, rgba(0, 122, 51, 0.08) 100%);
    box-shadow: inset 4px 0 0 var(--primary-color);
}

.calendar-table tbody tr.current-term:hover {
    background: linear-gradient(135deg, rgba(0, 158, 66, 0.12) 0%, rgba(0, 122, 51, 0.12) 100%);
    box-shadow: 0 4px 12px rgba(0, 158, 66, 0.15);
}


.calendar-table tbody td {
    padding: 20px;
    vertical-align: middle;
    border: none;
    text-align: left;
}

/* Term Badge Styles */
.term-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.term-number-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 158, 66, 0.25);
}

.term-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.term-badge span {
    font-weight: 600;
    color: var(--text-blue);
    font-size: 1.05rem;
}

.current-term-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Date Cell Styles */
.date-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-icon-wrapper {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 158, 66, 0.25);
}

.date-icon-wrapper i {
    font-size: 1.2rem;
}

.date-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.date-range {
    font-weight: 600;
    color: var(--text-blue);
    font-size: 1rem;
}

.date-year {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Duration Badge Styles */
.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.duration-badge i {
    color: var(--secondary-color);
}

/* Holiday Cell Styles */
.holiday-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #92400e;
}

.holiday-cell i {
    color: #f59e0b;
    font-size: 1.1rem;
}

/* Calendar Footer */
.calendar-footer {
    background: #f8fafc;
    padding: 30px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.download-calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 158, 66, 0.25);
}

.download-calendar-btn:hover {
    color: white;
    opacity: 0.95;
}

.calendar-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.calendar-note i {
    color: var(--secondary-color);
}

/* Empty State Styles */
.empty-state-message {
    padding: 40px 20px;
}

.empty-state-message i {
    display: block;
    margin: 0 auto 1rem;
}

.empty-state-message p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .academic-calendar-section {
        padding: 50px 0;
    }

    .academic-calendar-section .section-header h2 {
        font-size: 2rem;
    }

    .calendar-table-title {
        font-size: 1.2rem;
    }

    .calendar-table thead th {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .calendar-table tbody td {
        padding: 15px 10px;
    }

    .term-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .date-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .calendar-table-header {
        padding: 20px 15px;
    }

    .calendar-footer {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .calendar-table {
        font-size: 0.85rem;
    }

    .calendar-table thead th {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .calendar-table tbody td {
        padding: 10px 6px;
    }

    .term-number-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .date-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .date-icon-wrapper i {
        font-size: 1rem;
    }
}

/* ============================================
   NEWS & EVENTS PAGE SPECIFIC STYLES
   ============================================ */

/* Featured News */
.featured-news {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-image i {
    font-size: 5rem;
    color: white;
    opacity: 0.3;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-content {
    padding: 35px;
}

.featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.featured-meta span {
    display: flex;
    align-items: center;
}

.featured-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.featured-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 20px;
}

.featured-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
}

/* News Card */
.news-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s;
    display: flex !important;
    flex-direction: column !important;
    max-height: 500px !important;
}

.news-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.news-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-image i {
    font-size: 3rem;
    color: white;
    opacity: 0.5;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--text-blue);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
    flex: 1;
    overflow: hidden;
    max-height: calc(500px - 220px);
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.news-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 3.36em !important;
    word-wrap: break-word;
}

.news-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 5.1em !important;
    word-wrap: break-word;
    flex-shrink: 1;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
    margin-top: auto;
    padding-top: 10px;
    flex-shrink: 0;
}

.read-more:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.read-more i {
    margin-left: 5px;
}

/* Event Card */
.event-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 25px;
    transition: all 0.3s;
}

.event-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.event-date-box {
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
    min-width: 0;
}

.event-details h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
}

.event-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.event-details p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Filter Tabs */
.filter-tabs {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-tabs .nav-pills .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-tabs .nav-pills .nav-link:hover {
    background: white;
    color: var(--secondary-color);
}

.filter-tabs .nav-pills .nav-link.active {
    background: var(--secondary-color);
    color: white;
}

/* Announcement Box */
.announcement-box {
    background: white;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.announcement-box:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.announcement-box h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.announcement-box p {
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.recent-update-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--text-blue);
}

.recent-update-date {
    font-size: 0.8rem;
}

/* Calendar Section */
.calendar-widget {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.calendar-widget h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.calendar-widget h5 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.calendar-item {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 12px;
}

.calendar-item-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.calendar-item-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Newsletter Box */
.newsletter-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.newsletter-box h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.newsletter-box p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.newsletter-box input {
    border: none;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
}

.newsletter-box button {
    background: white;
    color: var(--text-blue);
    border: none;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-box button:hover {
    background: var(--bg-light);
}

/* Tags */
.tags-box {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.tags-box h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.tag:hover {
    background: var(--secondary-color);
    color: white;
}

/* ============================================
   PROJECTS PAGE SPECIFIC STYLES
   ============================================ */

/* Project Card */
.project-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.project-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image i {
    font-size: 4rem;
    color: white;
    opacity: 0.6;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.status-active {
    background: #10b981;
}

.status-completed {
    background: #3b82f6;
}

.status-upcoming {
    background: #f59e0b;
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.project-type,
.project-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.project-type i,
.project-date i {
    color: var(--secondary-color);
}

.project-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 15px;
    line-height: 1.4;
}

.project-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.project-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 6px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 70px;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 3px;
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.project-actions .btn {
    flex: 1;
}

/* ============================================
   SINGLE PROJECT PAGE SPECIFIC STYLES
   ============================================ */

/* Project Hero Section */
.project-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
}

.project-breadcrumb {
    margin-bottom: 30px;
}

.project-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
}

.project-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.project-breadcrumb .breadcrumb-item a:hover {
    color: white;
}

.project-breadcrumb .breadcrumb-item.active {
    color: white;
}

.project-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.project-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.project-hero-content .lead {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 25px;
}

.project-status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.project-hero-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.project-hero-meta i {
    font-size: 1.2rem;
}

/* Project Section */
.project-section {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.project-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.project-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Objectives List */
.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.objective-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.objective-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.objective-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 8px;
}

.objective-item p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Impact Stat Cards */
.impact-stat-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.impact-stat-card:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.impact-icon i {
    font-size: 2rem;
    color: white;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 8px;
}

.impact-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 10px;
}

.impact-stat-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.timeline-content {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s;
}

.timeline-content:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Feature Box */
.feature-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
}

.feature-box:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-box h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Project Sidebar */
.project-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--text-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item span {
    color: var(--text-dark);
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.team-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.team-item:last-child {
    border-bottom: none;
}

.team-item strong {
    color: var(--text-blue);
    display: block;
    margin-bottom: 5px;
}

.team-item p {
    color: var(--text-dark);
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-item span {
    color: var(--text-dark);
}

.download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.download-link:hover {
    background: var(--secondary-color);
    color: white;
}

.download-link i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.download-link:hover i {
    color: white;
}

.related-project {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.related-project:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-project a {
    text-decoration: none;
    color: inherit;
}

.related-project h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 5px;
}

.related-project p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   SINGLE NEWS/ARTICLE PAGE SPECIFIC STYLES
   ============================================ */

/* News Article Hero */
.news-article-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
}

.article-breadcrumb {
    margin-bottom: 30px;
}

.article-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
}

.article-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.article-breadcrumb .breadcrumb-item a:hover {
    color: white;
}

.article-breadcrumb .breadcrumb-item.active {
    color: white;
}

.article-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.article-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.meta-item i {
    font-size: 1.1rem;
}

/* Article Featured Image */
.article-featured-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-placeholder i {
    font-size: 5rem;
    color: white;
    opacity: 0.3;
}

/* Article Content */
.article-content {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-intro .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-blue);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--bg-light);
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-top: 35px;
    margin-bottom: 20px;
}

.article-content p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-list {
    margin: 25px 0;
    padding-left: 25px;
}

.article-list li {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* Article Stats Box */
.article-stats-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 40px;
    margin: 35px 0;
}

.stat-box {
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Article Tags */
.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-light);
}

.article-tags strong {
    color: var(--text-blue);
    margin-right: 15px;
    font-size: 1.1rem;
}

.article-tags .tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.article-tags .tag:hover {
    background: var(--secondary-color);
    color: white;
}

/* Share Buttons */
.article-share {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-light);
}

.article-share strong {
    color: var(--text-blue);
    display: block;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.email {
    background: var(--secondary-color);
    color: white;
}

.share-btn:hover {
    color: white;
    opacity: 0.95;
}

/* Author Section */
.article-author {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    gap: 25px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 3rem;
    color: white;
}

.author-info h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 5px;
}

.author-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.author-info p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Related Articles Section */
.related-articles-section {
    margin-top: 40px;
}

.related-articles-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.related-article-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.related-article-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.related-article-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-article-image i {
    font-size: 3rem;
    color: white;
    opacity: 0.5;
}

.related-article-content {
    padding: 20px;
}

.related-article-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.related-article-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-article-content h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.related-article-content h5 a:hover {
    color: var(--secondary-color);
}

.related-article-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 20px;
}

.recent-news-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
}

.recent-news-item:last-child {
    border-bottom: none;
}

.recent-news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.recent-news-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.recent-news-item h5 a {
    color: var(--text-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-news-item h5 a:hover {
    color: var(--secondary-color);
}

/* Upcoming Event Item in Sidebar */
.upcoming-event-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
}

.upcoming-event-item:last-child {
    border-bottom: none;
}

.event-date-small {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.event-day-small {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.event-month-small {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-info-small h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 5px;
    line-height: 1.3;
}

.event-info-small p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   FAQ CHATBOT - Ministry of Education Malawi
   ============================================ */
.moest-chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.moest-chatbot-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.moest-chatbot-window[hidden] {
    display: none !important;
}

.moest-chatbot-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #007a34 100%);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.moest-chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.moest-chatbot-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.moest-chatbot-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.moest-chatbot-subtitle {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.95;
}

.moest-chatbot-close {
    background: transparent;
    border: none;
    color: #fff;
    padding: 6px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.moest-chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.moest-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-light);
}

.moest-msg {
    max-width: 90%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.moest-msg p {
    margin: 0 0 6px 0;
}

.moest-msg p:last-child {
    margin-bottom: 0;
}

.moest-msg-bot {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
    align-self: flex-start;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.moest-msg-user {
    background: var(--primary-color);
    color: #fff;
    align-self: flex-end;
}

.moest-msg-user .moest-msg-text {
    color: inherit;
}

.moest-msg-bot a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.moest-msg-bot a:hover {
    text-decoration: underline;
}

.moest-chatbot-quick-replies {
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.moest-quick-reply {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.moest-quick-reply:hover {
    background: var(--primary-color);
    color: #fff;
}

.moest-chatbot-input-wrap {
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.moest-chatbot-input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.moest-chatbot-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 158, 66, 0.2);
}

.moest-chatbot-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.moest-chatbot-send:hover {
    background: #007a34;
}

.moest-chatbot-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #007a34 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 158, 66, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.moest-chatbot-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 158, 66, 0.5);
}

.moest-chatbot-trigger .moest-chatbot-trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 480px) {
    .moest-chatbot-window {
        width: 100%;
        height: 70vh;
        bottom: 56px;
        right: 0;
        left: 0;
        margin: 0 12px;
        max-width: none;
    }
    .moest-chatbot {
        bottom: 16px;
        right: 16px;
    }
}
