:root {
    --header-color: #D1DFB7;
    --sidebar-color: #FAE6BE;
    --text-color: #000;
    --primary-green: #2E7D32;
    --primary-dark: #1B5E20;
    --accent-gold: #F9A825;
    --light-bg: #f5f5f5;
    --dark-bg: #333;
    --header-bg: linear-gradient(135deg, #2E7D32 0%, #1B5E20 50%, #2E7D32 100%);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background: #fff;
    margin: 0;
}

.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
}

/* Alert Banner */
.alert-banner {
    background: #c62828;
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.alert-banner i {
    margin-right: 8px;
}

/* Top Bar */
.top-bar {
    background: #ffffff;
    padding: 12px 0;
    color: #212529;
    border-top: 4px solid #7CB342;
    border-bottom: 1px solid #eaeaea;
}

.top-bar-left a {
    color: #212529 !important;
}

.top-bar-left img {
    height: 65px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.ministry-title {
    font-family: 'Roboto', sans-serif;
    line-height: 1.25;
}

.ministry-title .gov-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #333333;
}

.ministry-title .dept-title {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #111111;
}

.ministry-title .dept-sub-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #333333;
}

.portal-title-section {
    font-family: 'Roboto', sans-serif;
}

.portal-title-section .portal-main-title {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1px;
    letter-spacing: 0.3px;
}

.portal-title-section .portal-sub-title {
    font-size: 17.5px;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

/* Main Navigation */
.main-nav {
    background: #7CB342 !important;
    border-bottom: none;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.main-nav .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 14px 16px;
    transition: all 0.2s ease-in-out;
    text-transform: none;
    letter-spacing: 0.2px;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active,
.main-nav .navbar-nav .show > .nav-link {
    background: #689F38 !important;
    color: #ffffff !important;
}

.main-nav .dropdown-menu {
    border: none;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    padding: 6px 0;
    min-width: 250px;
    background: #ffffff;
}

.main-nav .dropdown-menu .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    color: #333333;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    text-transform: none;
}

.main-nav .dropdown-menu .dropdown-item:hover {
    background: #f1f8e9;
    color: #33691E;
    border-left-color: #7CB342;
}

/* Main Container */
.main-container {
    min-height: 500px;
}

/* Hero Slider */
.hero-slider {
    margin-bottom: 0;
}

.hero-slider .carousel-item {
    height: 420px;
    background: #e8f5e9;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    margin: 0 15px;
}

.hero-slider .carousel-indicators {
    bottom: 15px;
}

/* Section Styles */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-green);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.section-padding {
    padding: 50px 0;
}

.bg-light-section {
    background: var(--light-bg);
}

/* Ministers Section */
.minister-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s;
}

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

.minister-card .minister-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--header-color);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-green);
}

.minister-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.minister-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* About Section */
.about-section {
    background: #fff;
}

.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* Component Cards */
.component-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    border-top: 4px solid var(--primary-green);
    transition: all 0.3s;
}

.component-card:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.component-card .icon {
    width: 70px;
    height: 70px;
    background: var(--header-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: var(--primary-green);
}

.component-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.component-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

/* Dashboard Stats */
.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    height: 100%;
    border-left: 4px solid var(--primary-green);
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 5px 0;
}

.stat-card p {
    font-size: 13px;
    color: #888;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-card .stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-green);
}

/* Dashboard Component */
.dashboard-section .nav-tabs .nav-link {
    color: var(--primary-dark);
    font-weight: 600;
    border: none;
    padding: 12px 25px;
}

.dashboard-section .nav-tabs .nav-link.active {
    background: var(--primary-green);
    color: #fff;
    border-radius: 0;
}

/* What's New */
.whats-new-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.whats-new-item .date {
    font-size: 12px;
    color: var(--primary-green);
    font-weight: 600;
}

.whats-new-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.whats-new-item a:hover {
    color: var(--primary-green);
}

/* Public Info Cards */
.info-card {
    background: var(--sidebar-color);
    padding: 20px;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid #e0d4b8;
}

.info-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Video Gallery */
.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.video-card .video-thumb {
    height: 180px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
}

.video-card .video-title {
    padding: 12px;
    font-weight: 500;
    font-size: 14px;
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.site-footer h5 {
    color: var(--header-color);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 18px;
}

.site-footer a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--header-color);
}

.site-footer ul li {
    margin-bottom: 8px;
}

.footer-divider {
    border-color: #555;
    margin: 25px 0;
}

.footer-bottom {
    font-size: 12px;
    color: #888;
}

/* Page Header */
.page-header {
    background: var(--header-bg);
    color: #fff;
    padding: 30px 0;
    margin-bottom: 40px;
}

.page-header h2 {
    font-weight: 700;
    margin: 0;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 10px 0 0;
}

.page-header .breadcrumb-item a {
    color: #fff;
    opacity: 0.8;
}

.page-header .breadcrumb-item.active {
    color: #fff;
}

/* About Page Accordion */
.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 6px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--header-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-green);
    color: #fff;
}

/* FAQ Styles */
.faq-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--header-color);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 20px;
    background: #fff;
    line-height: 1.8;
    font-size: 14px;
}

/* Event Styles */
.event-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.event-item h4 {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 17px;
}

.event-item ul {
    padding-left: 20px;
}

.event-item ul li {
    margin-bottom: 6px;
    font-size: 14px;
}

.event-item ul li a {
    color: #333;
    text-decoration: none;
}

.event-item ul li a:hover {
    color: var(--primary-green);
}

/* Document Styles */
.doc-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.doc-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.doc-item a:hover {
    color: var(--primary-green);
}

.doc-item .badge-new {
    background: #c62828;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* Contact Page */
.contact-info-card {
    background: var(--sidebar-color);
    padding: 25px;
    border-radius: 8px;
    height: 100%;
    border: 1px solid #e0d4b8;
}

.contact-info-card h5 {
    color: var(--primary-dark);
    font-weight: 700;
}

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

.contact-table th,
.contact-table td {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
}

.contact-table th {
    background: var(--header-color);
    font-weight: 600;
}

/* Fraud Warning Box */
.fraud-warning {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.fraud-warning h5 {
    color: #e65100;
    font-weight: 700;
}

/* Dropdown submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
}

/* Adjustments */
@media (max-width: 991px) {
    .main-nav .navbar-nav .nav-link {
        padding: 10px 15px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .top-bar .site-title {
        font-size: 14px;
    }
    .top-bar .site-subtitle {
        font-size: 11px;
    }
    .hero-slider .carousel-item {
        height: 250px;
    }
}

/* ===== HOMEPAGE NEW SECTIONS ===== */

/* Carousel Caption */
.carousel-caption-custom {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(0,0,0,0.45);
    padding: 16px 20px;
    color: #fff;
}
.carousel-caption-custom h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.carousel-caption-custom h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: var(--accent-gold);
}

/* Fraud Ticker */
.fraud-ticker {
    background: #e65100;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 38px;
}
.ticker-label {
    background: #bf360c;
    padding: 0 14px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-move {
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    animation: tickerScroll 30s linear infinite;
    padding-left: 100%;
}
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Home Section */
.about-home-section {
    padding: 30px 0;
    background: #fff;
}
.about-home-box {
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    padding: 20px;
    background: #fffdf5;
}
.about-home-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.about-home-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: #444;
}
.minister-photo-box {
    text-align: center;
}
.minister-photo {
    width: 80px;
    height: 90px;
    object-fit: cover;
    border: 2px solid var(--primary-green);
    border-radius: 4px;
}
.minister-name {
    font-size: 11px;
    font-weight: 700;
    margin: 5px 0 0;
    color: var(--primary-dark);
}
.minister-photo-box small {
    font-size: 10px;
    color: #666;
}
.component-btn-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.comp-btn {
    display: block;
    padding: 9px 12px;
    border-radius: 5px;
    font-size: 12px;
    text-decoration: none;
    color: #fff !important;
    line-height: 1.4;
    transition: opacity 0.2s;
}
.comp-btn:hover { opacity: 0.85; }
.comp-btn i { margin-right: 6px; font-size: 14px; }
.comp-a  { background: #1565C0; }
.comp-b  { background: #2E7D32; }
.comp-c  { background: #6A1B9A; }
.comp-fls{ background: #00838F; }

/* Achievement Dashboard */
.achievement-section {
    padding: 40px 0;
    background: #f8f9fa;
}
.dash-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 14px 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.09);
    border-top: 4px solid #4e9af1;
    text-align: center;
    height: 100%;
}
.dash-card-a  { border-top-color: #4e9af1; }
.dash-card-b  { border-top-color: #9b59b6; }
.dash-card-c  { border-top-color: #3498db; }
.dash-card-fls{ border-top-color: #27ae60; }
.dash-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.donut-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 8px;
}
.donut-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 18px;
    font-weight: 800;
    color: #333;
}
.dash-stat-box {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 6px 4px;
}
.dash-stat-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
}
.dash-stat-lbl {
    font-size: 10px;
    color: #777;
    text-transform: uppercase;
}
.dash-legend {
    font-size: 11px;
    color: #666;
    text-align: left;
}
.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 3px;
}

/* What's New Section */
.whats-new-section {
    padding: 0;
    background: #1a1a2e;
}
.whats-new-inner {
    display: flex;
    align-items: stretch;
    min-height: 100px;
}
.wn-header {
    background: var(--accent-gold);
    color: #000;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}
.wn-items {
    flex: 1;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
.wn-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.wn-badge {
    color: var(--accent-gold);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}
.wn-item a {
    color: #ddd;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.wn-item a:hover { color: var(--accent-gold); }

/* Public Info & Documents */
.pub-docs-section {
    padding: 40px 0;
    background: #fff;
}
.pub-info-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px 20px;
}
.pub-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pub-info-list li {
    padding: 9px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 13.5px;
}
.pub-info-list li:last-child { border-bottom: none; }
.pub-info-list a {
    color: #333;
    text-decoration: none;
}
.pub-info-list a:hover { color: var(--primary-green); text-decoration: underline; }
.docs-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px 0;
}
.doc-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 18px;
    border-bottom: 1px dashed #ddd;
    font-size: 13.5px;
}
.doc-row:last-child { border-bottom: none; }
.doc-row a {
    color: #333;
    text-decoration: none;
}
.doc-row a:hover { color: var(--primary-green); }
.doc-row i { margin-top: 2px; flex-shrink: 0; font-size: 15px; }

/* Social Media & Video Gallery */
.social-video-section {
    padding: 40px 0;
    background: #f5f5f5;
}
.social-box {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.social-post {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px;
}
.social-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.social-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.social-post-header strong { font-size: 13px; color: #222; }
.social-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}
.social-text { font-size: 13px; color: #555; margin: 0; }
.social-btn-twitter { background: #000; color: #fff !important; font-size: 12px; }
.social-btn-fb { background: #1877f2; color: #fff !important; font-size: 12px; }
.video-gallery-box {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.video-main-thumb {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}
.video-main-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 56px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}
.video-play-btn:hover { transform: translate(-50%,-50%) scale(1.1); }
.video-main-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 13px;
    padding: 8px 12px;
}
.video-thumbs-row {
    display: flex;
    gap: 8px;
}
.video-mini-thumb {
    position: relative;
    flex: 1;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    height: 70px;
}
.video-mini-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}
.mini-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 22px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Events & Meetings */
.events-section {
    padding: 40px 0;
    background: #fff;
}
.event-card { border-radius: 8px; overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,0.1); }
.event-img-wrap { position: relative; }
.event-img-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(27,94,32,0.82);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .whats-new-inner { flex-direction: column; }
    .wn-header { justify-content: center; }
    .carousel-caption-custom h2 { font-size: 18px; }
    .about-home-box { padding: 14px; }
    .donut-wrap { width: 90px; height: 90px; }
    .donut-label { font-size: 15px; }
}
