@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-green: #10b981;
    --primary-green-rgb: 16, 185, 129;
    --primary-green-dark: #059669;

    --secondary-blue: #3b82f6;
    --secondary-blue-rgb: 59, 130, 246;
    --secondary-blue-dark: #1d4ed8;

    --accent-orange: #f97316;
    --accent-yellow: #f59e0b;

    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --bg-sidebar: #0f172a;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border-color: #e2e8f0;
    --font-sans: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--bg-dark);
}

a {
    transition: var(--transition-fast);
    text-decoration: none;
}

/* Accessibility & Gov Top Bar */
.gov-top-bar {
    background-color: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 6px 0;
    font-weight: 500;
}

.gov-top-bar a {
    color: #cbd5e1;
    margin-right: 12px;
}

.gov-top-bar a:hover {
    color: #ffffff;
}

.gov-flag-line {
    height: 3px;
    background: linear-gradient(to right, #ff9933 33.3%, #ffffff 33.3%, #ffffff 66.6%, #138808 66.6%);
}

.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-accessibility {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 1px 6px;
    font-size: 0.7rem;
    border-radius: 3px;
    cursor: pointer;
}

.btn-accessibility:hover {
    color: #ffffff;
    border-color: #94a3b8;
}

/* Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.navbar-brand-logo span {
    color: var(--secondary-blue);
}

.navbar-custom .nav-link {
    color: var(--text-main);
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
    color: var(--primary-green);
    background-color: rgba(40, 167, 69, 0.08);
}

.navbar-custom .btn-login {
    background-color: var(--primary-green);
    color: #ffffff;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.navbar-custom .btn-login:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(40, 167, 69, 0.3);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.hero-slide {
    height: 620px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.05)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    max-width: 650px;
    padding-left: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title span {
    color: var(--primary-green);
    background: linear-gradient(135deg, #28a745 0%, #22c55e 100%);
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
}

/* Section Header */
.section-title-container {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--primary-green);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.section-title-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-green);
    margin: 0 auto;
    border-radius: 2px;
}

/* Reusable Theme Card */
.theme-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: transparent;
    transition: var(--transition-fast);
}

.theme-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(40, 167, 69, 0.2);
}

.theme-card:hover::before {
    background-color: var(--primary-green);
}

.theme-card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--primary-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.theme-card:hover .theme-card-icon {
    background-color: var(--primary-green);
    color: #ffffff;
    transform: scale(1.1);
}

.theme-card-blue::before {
    background-color: transparent;
}

.theme-card-blue:hover::before {
    background-color: var(--secondary-blue);
}

.theme-card-blue .theme-card-icon {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--secondary-blue);
}

.theme-card-blue:hover .theme-card-icon {
    background-color: var(--secondary-blue);
    color: #ffffff;
}

/* Info Banner Section */
.info-banner-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.info-banner-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(40, 167, 69, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    bottom: -100px;
    right: -100px;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Updates Ticker Section */
.ticker-container {
    background-color: #e2e8f0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.ticker-wrap {
    display: flex;
    align-items: center;
}

.ticker-title {
    background-color: var(--secondary-blue);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-left: 20px;
}

.ticker-items {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
}

.ticker-item a {
    color: var(--secondary-blue);
}

.ticker-item a:hover {
    text-decoration: underline;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Updates and Scheme Cards */
.scheme-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.scheme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scheme-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(13, 110, 253, 0.9);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.scheme-tag-green {
    background-color: rgba(40, 167, 69, 0.9);
}

/* Testimonial Section */
.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-quote {
    color: rgba(40, 167, 69, 0.15);
    font-size: 4rem;
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #ffffff;
    border: 4px solid var(--primary-green);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 24px;
    background-color: #ffffff;
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
        right: auto;
    }

    .timeline-right {
        left: 0%;
    }
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.25);
}

/* Jobs Search Layout */
.jobs-search-sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    position: sticky;
    top: 100px;
}

/* Lightbox Modal for Gallery */
.lightbox-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.95);
    border: none;
}

.lightbox-modal .modal-header {
    border-bottom: none;
}

.lightbox-modal .modal-close {
    color: #ffffff;
    font-size: 2rem;
    opacity: 0.8;
}

.lightbox-modal .modal-close:hover {
    opacity: 1;
}

/* Gallery Hover Grid */
.gallery-grid-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
}

.gallery-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.1) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition-normal);
}

.gallery-grid-item:hover .gallery-grid-img {
    transform: scale(1.08);
}

.gallery-grid-item:hover .gallery-grid-overlay {
    opacity: 1;
}

.gallery-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.gallery-cat {
    color: var(--primary-green);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* User Profile Image Upload widget */
.profile-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.profile-avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-green);
}

.profile-avatar-upload {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: var(--secondary-blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    border: 2px solid #ffffff;
    transition: var(--transition-fast);
}

.profile-avatar-upload:hover {
    background-color: var(--secondary-blue-dark);
}

/* Dashboard Layout Wrapper */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 260px;
    background-color: var(--bg-sidebar);
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.dashboard-sidebar .brand-section {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-sidebar .brand-logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-green);
}

.dashboard-sidebar .brand-logo span {
    color: var(--secondary-blue);
}

.dashboard-nav {
    padding: 20px 15px;
    flex: 1;
    overflow-y: auto;
}

.dashboard-nav .nav-link-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #94a3b8;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    transition: var(--transition-fast);
}

.dashboard-nav .nav-link-custom:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.dashboard-nav .nav-link-custom.active {
    color: #ffffff;
    background-color: var(--primary-green);
}

.dashboard-content {
    flex: 1;
    margin-left: 260px;
    padding: 40px;
    background-color: var(--bg-main);
    min-height: 100vh;
    transition: var(--transition-normal);
}

.dashboard-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 992px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.show {
        transform: translateX(0);
    }

    .dashboard-content {
        margin-left: 0;
        padding: 20px;
    }
}

/* Recent Activity Table and Notifications */
.activity-table th {
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--border-color);
}

.activity-table td {
    vertical-align: middle;
}

.notify-item {
    border-left: 4px solid var(--primary-green);
    background-color: var(--bg-card);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.notify-item:hover {
    transform: translateX(3px);
}

.notify-item.unread {
    background-color: rgba(40, 167, 69, 0.04);
}

.notify-item.blue {
    border-left-color: var(--secondary-blue);
}

.notify-item.blue.unread {
    background-color: rgba(13, 110, 253, 0.04);
}

.notify-item.orange {
    border-left-color: var(--accent-orange);
}

.notify-item.orange.unread {
    background-color: rgba(253, 126, 20, 0.04);
}

/* FAQ Accordion Styling */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--bg-dark);
    padding: 18px 24px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(40, 167, 69, 0.05);
    color: var(--primary-green);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 20px 24px;
    background-color: var(--bg-card);
}

/* Login Page Styling */
.login-split-layout {
    display: flex;
    min-height: 100vh;
}

.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: var(--bg-card);
}

.login-info-side {
    flex: 1.2;
    background: linear-gradient(135deg, #166534 0%, #1e3a8a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.login-info-side::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    top: -100px;
    right: -100px;
}

@media (max-width: 992px) {
    .login-info-side {
        display: none;
    }
}

/* Footer Section */
.footer-section {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 30px;
    border-top: 5px solid var(--primary-green);
}

.footer-section .text-muted {
    color: #94a3b8 !important;
}

.footer-section a.text-muted:hover {
    color: var(--primary-green) !important;
}

.footer-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background-color: var(--primary-green);
    bottom: 0;
    left: 0;
}

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

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

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 6px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-fast);
}

.footer-social-icon:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 50px;
    font-size: 0.85rem;
}

/* Micro animations / Hover glows */
.btn-primary-custom {
    background-color: var(--primary-green);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.btn-primary-custom:hover {
    background-color: var(--primary-green-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(40, 167, 69, 0.3);
}

.btn-secondary-custom {
    background-color: var(--secondary-blue);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

.btn-secondary-custom:hover {
    background-color: var(--secondary-blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.3);
}

/* Page Loader UI */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0f172a 0%, #022c22 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.page-loader .text-center {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 45px 50px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 380px;
    width: 90%;
}

.spinner-custom {
    width: 75px;
    height: 75px;
    border: 4px solid transparent;
    border-top: 4px solid #10b981;
    border-right: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spinner-animation-custom 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    position: relative;
    margin-bottom: 24px !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15), 0 0 35px rgba(59, 130, 246, 0.15);
}

.spinner-custom::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 3px solid transparent;
    border-top: 3px solid #60a5fa;
    border-left: 3px solid #34d399;
    border-radius: 50%;
    animation: spinner-animation-custom-reverse 1.8s linear infinite;
}

.spinner-custom::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #a7f3d0;
    border-right: 2px solid #bfdbfe;
    border-radius: 50%;
    animation: spinner-animation-custom 0.8s cubic-bezier(0.3, 0.1, 0.3, 1) infinite;
}

.page-loader h5 {
    color: #f8fafc !important;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 12px;
    background: linear-gradient(to right, #34d399, #60a5fa, #34d399);
    background-size: 200% auto;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text-custom 3s linear infinite, glow-text-custom 2s ease-in-out infinite;
}

@keyframes spinner-animation-custom {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner-animation-custom-reverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes shimmer-text-custom {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes glow-text-custom {

    0%,
    100% {
        filter: drop-shadow(0 0 2px rgba(52, 211, 153, 0.2));
        opacity: 0.85;
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.5));
        opacity: 1;
    }
}

/* About Page Specific Styles */
.about-hero-banner {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75)), url('/front/images/about_img.jpeg') no-repeat center center;
    background-size: cover;
    padding: 100px 0 !important;
}

.about-impact-img {
    object-fit: cover;
    height: 400px;
}

.about-impact-badge {
    max-width: 250px;
}

.team-card {
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
}

.team-card img {
    transition: var(--transition-normal);
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-social-btn {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* About Page */

body {
    background: #f8fafc;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(25, 135, 84, .1);
    color: #198754;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Section Title */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.section-title-line {
    width: 80px;
    height: 4px;
    background: #198754;
    border-radius: 50px;
    margin: 18px auto;
}

/* About Image */
.about-impact-img {
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    transition: .4s;
}

.about-impact-img:hover {
    transform: scale(1.03);
}

.about-impact-badge {
    backdrop-filter: blur(10px);
}

/* Cards */
.theme-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 25px;
    height: 100%;
    transition: .4s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.theme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.theme-card-blue:hover {
    border-color: #0d6efd;
}

.theme-card-icon {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: rgba(25, 135, 84, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #198754;
    margin-bottom: 20px;
}

.theme-card-blue .theme-card-icon {
    background: rgba(13, 110, 253, .1);
    color: #0d6efd;
}

/* Vision Mission */
.card {
    transition: .4s;
}

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

.shadow-md {
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

/* Stats Section */
.stats-box {
    background: linear-gradient(135deg, #198754, #146c43);
    color: #fff;
    border-radius: 24px;
    padding: 35px;
    text-align: center;
}

.stats-box h2 {
    font-size: 3rem;
    font-weight: 800;
}

/* Typography */
.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

/* Responsive */
@media(max-width:991px) {

    .section-title {
        font-size: 2.2rem;
    }

    .about-impact-img {
        height: 350px;
    }

    .about-impact-badge {
        position: relative !important;
        margin-top: 20px !important;
        width: 100%;
    }
}

/* Elegant spacing override */
@media (min-width: 992px) {
    .py-5 {
        padding-top: 5.5rem !important;
        padding-bottom: 5.5rem !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Smooth Scrolling & Scrollbar */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Product Cards and Sections */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.25);
}

.product-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

.product-badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
    z-index: 2;
}

.product-badge-blue {
    background-color: var(--secondary-blue);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.product-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.product-rating {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.product-price span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Glassmorphism Hero Box */
.hero-glass-box {
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   PREMIUM DARK THEME (Contrast Mode Toggle)
   ========================================================================== */
body.dark-contrast {
    background-color: #070a13 !important;
    color: #cbd5e1 !important;
    --bg-main: #070a13;
    --bg-card: #111a2e;
    --bg-dark: #f8fafc;
    --bg-sidebar: #111a2e;
    --text-main: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border-color: #1e293b;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 35px -5px rgba(0, 0, 0, 0.6), 0 15px 15px -5px rgba(0, 0, 0, 0.4);
}

/* Base Text & Headings */
body.dark-contrast h1,
body.dark-contrast h2,
body.dark-contrast h3,
body.dark-contrast h4,
body.dark-contrast h5,
body.dark-contrast h6,
body.dark-contrast .hero-title,
body.dark-contrast .hero-title span {
    color: #f8fafc !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

body.dark-contrast p,
body.dark-contrast label,
body.dark-contrast th,
body.dark-contrast td,
body.dark-contrast span:not(.badge):not(.navbar-brand):not(.product-badge-overlay):not(.scheme-tag):not(.ticker-title) {
    color: #cbd5e1 !important;
}

body.dark-contrast .text-muted,
body.dark-contrast .testimonial-role,
body.dark-contrast .stat-label {
    color: #94a3b8 !important;
}

/* Critical Bootstrap Class Overrides for Visibility */
body.dark-contrast .text-dark,
body.dark-contrast .text-black,
body.dark-contrast .text-body {
    color: #f8fafc !important;
}

body.dark-contrast .bg-white {
    background-color: #111a2e !important;
}

body.dark-contrast .bg-light {
    background-color: #070a13 !important;
}

body.dark-contrast .page-loader {
    background-color: #070a13 !important;
}

/* Card and Panel Backgrounds with Glow Effect */
body.dark-contrast .theme-card,
body.dark-contrast .accordion-item,
body.dark-contrast .accordion-body,
body.dark-contrast .jobs-search-sidebar,
body.dark-contrast .dashboard-sidebar,
body.dark-contrast .dashboard-header,
body.dark-contrast .login-form-side,
body.dark-contrast .modal-content,
body.dark-contrast .card,
body.dark-contrast .testimonial-card,
body.dark-contrast .lightbox-modal .modal-content {
    background-color: #131d35 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
    color: #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Blue theme card variation */
body.dark-contrast .theme-card.theme-card-blue,
body.dark-contrast .card-blue {
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
}

/* Sleek Hover Micro-animations on Cards */
body.dark-contrast .theme-card:hover,
body.dark-contrast .card:hover,
body.dark-contrast .testimonial-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15), 0 0 15px rgba(16, 185, 129, 0.08) !important;
}

body.dark-contrast .theme-card.theme-card-blue:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15), 0 0 15px rgba(59, 130, 246, 0.08) !important;
}

/* Gov Top Bar */
body.dark-contrast .gov-top-bar {
    background-color: #05080f !important;
    border-bottom: 1px solid #111a2e !important;
    color: #cbd5e1 !important;
}

/* Active accessibility contrast toggle state */
body.dark-contrast #btn-toggle-contrast {
    border-color: #10b981 !important;
    color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.1) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important;
}

body.dark-contrast .btn-accessibility {
    background-color: #111a2e !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

body.dark-contrast .btn-accessibility:hover {
    color: #f8fafc !important;
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.05) !important;
}

/* Navbar Style */
body.dark-contrast .navbar-custom {
    background-color: rgba(11, 19, 41, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body.dark-contrast .navbar-custom .nav-link {
    color: #cbd5e1 !important;
}

body.dark-contrast .navbar-custom .nav-link:hover,
body.dark-contrast .navbar-custom .nav-item.active .nav-link {
    color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.15) !important;
}

body.dark-contrast .navbar-brand-logo {
    color: #10b981 !important;
}

body.dark-contrast .navbar-brand-logo span {
    color: #3b82f6 !important;
}

/* Accordion Buttons */
body.dark-contrast .accordion-button {
    background-color: #131d35 !important;
    color: #f8fafc !important;
}

body.dark-contrast .accordion-button:not(.collapsed) {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
}

/* Breadcrumbs */
body.dark-contrast .breadcrumb-item a {
    color: #10b981 !important;
}

/* Input Fields */
body.dark-contrast input,
body.dark-contrast select,
body.dark-contrast textarea {
    background-color: #0b1329 !important;
    border: 1px solid #24324d !important;
    color: #f8fafc !important;
}

body.dark-contrast input:focus,
body.dark-contrast select:focus,
body.dark-contrast textarea:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25) !important;
}

/* Buttons and Links */
body.dark-contrast .btn-primary-custom,
body.dark-contrast .btn-login,
body.dark-contrast .btn-outline-success:hover,
body.dark-contrast .btn-outline-primary:hover {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

body.dark-contrast .btn-primary-custom:hover,
body.dark-contrast .btn-login:hover {
    background-color: #059669 !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

body.dark-contrast .btn-secondary-custom {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35) !important;
}

body.dark-contrast .btn-secondary-custom:hover {
    background-color: #1d4ed8 !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5) !important;
}

body.dark-contrast .btn-outline-success {
    border: 1px solid #10b981 !important;
    color: #10b981 !important;
    background: transparent !important;
}

body.dark-contrast .btn-outline-primary {
    border: 1px solid #3b82f6 !important;
    color: #3b82f6 !important;
    background: transparent !important;
}

body.dark-contrast .btn-outline-success:hover {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

body.dark-contrast .btn-outline-primary:hover {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

/* Testimonial Quote Icon */
body.dark-contrast .testimonial-quote {
    color: rgba(16, 185, 129, 0.08) !important;
}

/* Footer Section styling */
body.dark-contrast .footer-section {
    background-color: #05080f !important;
    border-top: 4px solid #10b981 !important;
}

body.dark-contrast .footer-section .text-muted {
    color: #64748b !important;
}

body.dark-contrast .footer-links a {
    color: #cbd5e1 !important;
}

body.dark-contrast .footer-links a:hover {
    color: #10b981 !important;
}

body.dark-contrast .footer-social-icon {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

body.dark-contrast .footer-social-icon:hover {
    background-color: #10b981 !important;
}

/* Timeline */
body.dark-contrast .timeline::after {
    background-color: #1e293b !important;
}

body.dark-contrast .timeline-content {
    background-color: #131d35 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

/* News Ticker */
body.dark-contrast .ticker-container {
    background-color: #0b1329 !important;
    border-color: #1e293b !important;
}

body.dark-contrast .ticker-item {
    color: #cbd5e1 !important;
}

body.dark-contrast .ticker-item a {
    color: #3b82f6 !important;
    font-weight: 600;
}

body.dark-contrast .ticker-item a:hover {
    color: #10b981 !important;
}

body.dark-contrast .ticker-title {
    background-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2) !important;
}

/* Stats Counter Numbers */
body.dark-contrast .stat-number {
    color: #10b981 !important;
}

/* Table styling */
body.dark-contrast .table {
    color: #cbd5e1 !important;
}

body.dark-contrast .table th {
    border-bottom: 2px solid #24324d !important;
    color: #f8fafc !important;
}

body.dark-contrast .table td {
    border-bottom: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
}

body.dark-contrast .table tr:hover {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Translucent Glowing Badge states */
body.dark-contrast .bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

body.dark-contrast .bg-warning-subtle {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

body.dark-contrast .bg-danger-subtle {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

body.dark-contrast .bg-info-subtle {
    background-color: rgba(59, 130, 246, 0.15) !important;
    color: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* Product overlays and badge glow */
body.dark-contrast .product-badge-overlay {
    background-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3) !important;
}

body.dark-contrast .product-badge-blue {
    background-color: #3b82f6 !important;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3) !important;
}

/* Toast controls */
body.dark-contrast .toast {
    background-color: #131d35 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

body.dark-contrast .toast-header {
    background-color: #0b1329 !important;
    border-bottom: 1px solid #1e293b !important;
    color: #f8fafc !important;
}

body.dark-contrast .toast-body {
    color: #cbd5e1 !important;
}

/* Filter active tabs in dark mode */
body.dark-contrast .filter-tabs .filter-btn.active {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
}

body.dark-contrast .product-price {
    color: #f8fafc !important;
}

body.dark-contrast .product-price span {
    color: #94a3b8 !important;
}

/* Timeline dots in dark mode */
body.dark-contrast .timeline-item::after {
    background-color: #070a13 !important;
}

/* Scrollbars in dark mode */
body.dark-contrast ::-webkit-scrollbar-track {
    background: #070a13 !important;
}

body.dark-contrast ::-webkit-scrollbar-thumb {
    background: #1e293b !important;
    border-radius: 5px !important;
}

body.dark-contrast ::-webkit-scrollbar-thumb:hover {
    background: #334155 !important;
}

/* Bootstrap Close Buttons in dark mode */
body.dark-contrast .btn-close {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

/* Select option background inside forms in dark mode */
body.dark-contrast select option {
    background-color: #111a2e !important;
    color: #f8fafc !important;
}