﻿/* ============================================
   GEP Website - Optimized CSS
   Color Palette: Black, Blue, Dark Green, Grey, Lime Green
   Performance Optimized | Accessibility Enhanced
   ============================================ */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    /* Primary Colors */
    --primary-dark-green: #b2b91b;
    --secondary-dark-green: #2d5f3f;
    --lime-green: #90ee90;
    --bright-lime: #32cd32;
    /* Blue Shades */
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --light-blue: #3b82f6;
    /* Neutrals */
    --black: #000000;
    --dark-black: #0a0a0a;
    --dark-grey: #1f2937;
    --medium-grey: #6b7280;
    --light-grey: #f3f4f6;
    --border-grey: #d1d5db;
    --white: #ffffff;
    /* Text Colors */
    --text-dark: #111827;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    /* Accent & Special */
    --accent-lime: #84cc16;
    --hover-lime: #65a30d;
    /* Shadows - Optimized for performance */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.25);
    /* Other */
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    margin: 0;
    position: relative;
    min-height: 100%;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--secondary-blue);
        text-decoration: none;
    }

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Top Header Strip
   ============================================ */
.top-header-strip {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 3px solid var(--lime-green);
}

.header-contact-info span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.header-contact-info a {
    color: var(--white);
    transition: var(--transition);
}

    .header-contact-info a:hover {
        color: var(--lime-green);
    }

.header-contact-info i {
    margin-right: 8px;
    color: var(--lime-green);
    width: 14px;
}

.header-social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(144, 238, 144, 0.1);
    color: var(--lime-green);
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}

    .social-link:hover {
        background: var(--lime-green);
        color: var(--black);
        transform: translateY(-2px);
        border-color: var(--lime-green);
    }

/* ============================================
   Main Header & Navigation
   ============================================ */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-medium);
    border-bottom: 2px solid var(--light-grey);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: bold;
    text-decoration: none;
    margin-right: 2rem;
}

.logo-main {
    width: 65px;
    height: 65px;
    margin-right: 15px;
    object-fit: contain;
}

.brand-text {
    line-height: 1.2;
}

.brand-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark-green);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(144, 238, 144, 0.2);
}

.brand-subtitle {
    font-size: 11px;
    color: var(--medium-grey);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Links */
.navbar-nav {
    align-items: center;
}

    .navbar-nav .nav-link {
        color: var(--text-dark);
        font-weight: 600;
        font-size: 14px;
        padding: 12px 18px;
        margin: 0 3px;
        border-radius: var(--border-radius);
        transition: var(--transition);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
    }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            color: var(--primary-dark-green);
            background: linear-gradient(135deg, rgba(144, 238, 144, 0.1), rgba(144, 238, 144, 0.15));
        }

        .navbar-nav .nav-item.active .nav-link,
        .navbar-nav .nav-link.active {
            color: var(--white);
            background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green));
        }

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    padding: 15px 0;
    margin-top: 8px;
    min-width: 240px;
    border-top: 3px solid var(--lime-green);
    background: var(--white);
}

.dropdown-item {
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-weight: 500;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: linear-gradient(90deg, rgba(144, 238, 144, 0.15), transparent);
        color: var(--primary-dark-green);
        border-left-color: var(--lime-green);
    }

/* Mobile Toggle */
.navbar-toggler {
    border: 2px solid var(--primary-dark-green);
    padding: 8px 12px;
    border-radius: var(--border-radius);
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(26, 77, 46, 0.25);
    }

.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%2826, 77, 46, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius);
    padding: 12px 28px;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green));
    color: var(--white);
    border-color: var(--primary-dark-green);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--secondary-dark-green), var(--primary-dark-green));
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 77, 46, 0.4);
    }

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border-color: var(--primary-blue);
}

    .btn-secondary:hover {
        background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
    }

.btn-success {
    background: linear-gradient(135deg, var(--bright-lime), var(--accent-lime));
    color: var(--black);
    border-color: var(--bright-lime);
    font-weight: 700;
}

    .btn-success:hover {
        background: linear-gradient(135deg, var(--accent-lime), var(--hover-lime));
        color: var(--white);
        transform: translateY(-2px);
    }

.btn-outline-primary {
    border: 2px solid var(--primary-dark-green);
    color: var(--primary-dark-green);
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--primary-dark-green);
        color: var(--white);
        transform: translateY(-2px);
    }

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

    .btn-outline-light:hover {
        background: var(--white);
        color: var(--primary-dark-green);
        border-color: var(--white);
    }

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(26, 77, 46, 0.5);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 0;
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 50%, var(--primary-dark-green) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: repeating-linear-gradient( 45deg, transparent, transparent 10px, rgba(144, 238, 144, 0.03) 10px, rgba(144, 238, 144, 0.03) 20px );
    }

    .page-header h1 {
        position: relative;
        z-index: 2;
    }

    .page-header .breadcrumb {
        background: transparent;
    }

    .page-header .breadcrumb-item a {
        color: var(--lime-green);
    }

    .page-header .breadcrumb-item.active {
        color: var(--white);
    }

/* ============================================
   Hero Section - Optimized for Performance
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(26, 77, 46, 0.9) 100%), var(--dark-grey);
    /* Removed background-attachment: fixed for better mobile performance */
    background-size: cover;
    background-position: center;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

    /* Optional: Add background image via inline style or separate class for better control */
    .hero-section.with-bg-image {
        background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(26, 77, 46, 0.9) 100%), url('../images/hero-entrepreneur.jpg');
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: repeating-linear-gradient( 90deg, transparent, transparent 100px, rgba(144, 238, 144, 0.05) 100px, rgba(144, 238, 144, 0.05) 200px );
        pointer-events: none;
    }

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    color: var(--white);
}

    .hero-title .text-gold {
        color: var(--lime-green);
        text-shadow: 0 0 20px rgba(144, 238, 144, 0.5);
    }

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.95;
    color: var(--light-grey);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================
   Cards & Sections
   ============================================ */
.card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border: none;
    font-weight: 700;
}

/* Consolidated gradient backgrounds */
.bg-primary,
.funding-card-header-startup,
.success-card-header-primary {
    background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green)) !important;
}

.funding-card-header-contract,
.success-card-header-secondary {
    background: linear-gradient(135deg, var(--secondary-dark-green), var(--primary-dark-green)) !important;
}

.funding-card-header-growth,
.success-card-header-gold {
    background: linear-gradient(135deg, #d4af37, #f4e5a1) !important;
    color: var(--dark-grey) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--bright-lime), var(--accent-lime)) !important;
    color: var(--black) !important;
}

.bg-info {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--accent-lime), var(--bright-lime)) !important;
    color: var(--black) !important;
}

.bg-danger {
    background: linear-gradient(135deg, var(--dark-grey), var(--black)) !important;
}

.text-primary {
    color: var(--primary-dark-green) !important;
}

.text-gold {
    color: var(--lime-green) !important;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--light-grey);
}

.stat-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-dark-green);
    height: 100%;
    /* Use will-change sparingly for animated elements */
    will-change: transform;
}

    .stat-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-heavy);
        border-top-color: var(--lime-green);
        background: linear-gradient(135deg, rgba(144, 238, 144, 0.05), var(--white));
    }

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(26, 77, 46, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-dark-green);
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 25px;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--lime-green), var(--accent-lime));
        border-radius: 2px;
    }

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border-bottom: 4px solid var(--primary-dark-green);
    will-change: transform;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-heavy);
        border-bottom-color: var(--lime-green);
        background: linear-gradient(135deg, rgba(144, 238, 144, 0.05), var(--white));
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lime-green), var(--bright-lime));
    color: var(--black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(144, 238, 144, 0.4);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-dark-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
}

    .service-link:hover {
        color: var(--lime-green);
    }

    .service-link i {
        transition: transform 0.3s ease;
    }

    .service-link:hover i {
        transform: translateX(5px);
    }

    /* Disabled state for service links */
    .service-link.disabled {
        color: var(--medium-grey);
        cursor: not-allowed;
        opacity: 0.6;
        pointer-events: none;
    }

        .service-link.disabled:hover {
            color: var(--medium-grey);
        }

        .service-link.disabled i {
            transform: none;
        }



/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--light-grey);
}

.news-card {
    transition: var(--transition);
    will-change: transform;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }

/* One Horizontal Latest News Block */
.news-section {
    padding: 60px 0;
    background: var(--light-grey, #f7f7f7);
}

.news-block {
    background: var(--white, #ffffff);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(8, 40, 20, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .news-block:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(8, 40, 20, 0.12);
    }

/* Left image block */
.news-image {
    flex: 1 1 45%;
    min-height: 280px;
    background: transparent;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #d9d9d9; /* grey placeholder */
    object-fit: cover;
}

/* Right text block */
.news-content {
    flex: 1 1 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    color: var(--primary-dark-green, #b2b91b);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-date {
    color: var(--text-muted, #6c757d);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.news-headline {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.news-excerpt {
    color: #444;
    font-size: 1rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-dark-green, #b2b91b);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s ease;
}

    .news-link:hover {
        color: #8d9415;
    }

/* Responsive */
@media (max-width: 768px) {
    .news-block {
        flex-direction: column;
    }

    .news-image {
        min-height: 200px;
    }

    .news-content {
        padding: 24px;
    }

    .news-headline {
        font-size: 1.3rem;
    }
}

/* ============================================
   Footer Styles
   ============================================ */
.main-footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 100%);
    color: var(--white);
    margin-top: 0;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(144, 238, 144, 0.2);
}

.footer-widget-title {
    color: var(--lime-green);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .footer-widget-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--lime-green);
    }

.footer-logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-description {
    color: var(--light-grey);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(144, 238, 144, 0.1);
    color: var(--lime-green);
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

    .footer-social-link:hover {
        background: var(--lime-green);
        color: var(--black);
        transform: translateY(-3px);
        border-color: var(--lime-green);
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: var(--light-grey);
        font-size: 14px;
        transition: var(--transition);
        position: relative;
        padding-left: 18px;
    }

        .footer-links a:before {
            content: '▶';
            position: absolute;
            left: 0;
            color: var(--lime-green);
            font-size: 10px;
        }

        .footer-links a:hover {
            color: var(--lime-green);
            padding-left: 24px;
        }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

    .contact-item i {
        color: var(--lime-green);
        font-size: 18px;
        width: 24px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .contact-item div {
        color: var(--light-grey);
        font-size: 14px;
        line-height: 1.6;
    }

    .contact-item strong {
        color: var(--white);
        display: block;
        margin-bottom: 5px;
    }

    .contact-item a {
        color: var(--light-grey);
    }

        .contact-item a:hover {
            color: var(--lime-green);
        }

/* Footer Bottom */
.footer-bottom {
    background: var(--dark-black);
    padding: 25px 0;
    border-top: 1px solid rgba(144, 238, 144, 0.1);
}

.copyright {
    color: var(--light-grey);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

    .footer-bottom-links a {
        color: var(--light-grey);
        font-size: 13px;
        transition: var(--transition);
    }

        .footer-bottom-links a:hover {
            color: var(--lime-green);
        }

.separator {
    color: var(--medium-grey);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green));
    color: var(--white);
    border: 2px solid var(--lime-green);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: linear-gradient(135deg, var(--lime-green), var(--bright-lime));
        color: var(--black);
        transform: translateY(-5px) scale(1.1);
    }

/* ============================================
   Badges
   ============================================ */
.badge {
    padding: 6px 12px;
    font-weight: 700;
    border-radius: 4px;
}

    .badge.bg-primary {
        background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green)) !important;
    }

    .badge.bg-success {
        background: linear-gradient(135deg, var(--bright-lime), var(--accent-lime)) !important;
        color: var(--black) !important;
    }

/* ============================================
   Alerts
   ============================================ */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 16px 20px;
}

.alert-info {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(37, 99, 235, 0.1));
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-blue);
}

.alert-success {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.1), rgba(132, 204, 22, 0.1));
    color: var(--secondary-dark-green);
    border-left: 4px solid var(--bright-lime);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.15), rgba(101, 163, 13, 0.1));
    color: var(--dark-grey);
    border-left: 4px solid var(--accent-lime);
}

/* ============================================
   Forms
   ============================================ */
.form-control,
.form-select {
    border: 2px solid var(--border-grey);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: var(--transition);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary-dark-green);
        box-shadow: 0 0 0 0.2rem rgba(26, 77, 46, 0.25);
    }

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* ============================================
   Tables
   ============================================ */
.table {
    color: var(--text-dark);
}

.table-hover tbody tr:hover {
    background: rgba(144, 238, 144, 0.05);
}

.table thead {
    background: linear-gradient(135deg, var(--light-grey), var(--white));
    border-bottom: 2px solid var(--lime-green);
}

/* ============================================
   Animation Classes
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-lime {
    color: var(--lime-green) !important;
}

.bg-dark-green {
    background-color: var(--primary-dark-green) !important;
}

.bg-light-gray {
    background-color: var(--light-grey) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-medium) !important;
}

.border-lime {
    border-color: var(--lime-green) !important;
}

.border-dark-green {
    border-color: var(--primary-dark-green) !important;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(26, 77, 46, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-dark-green);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Pagination
   ============================================ */
.pagination .page-link {
    color: var(--primary-dark-green);
    border: 1px solid var(--border-grey);
}

    .pagination .page-link:hover {
        background: var(--lime-green);
        color: var(--black);
        border-color: var(--lime-green);
    }

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green));
    border-color: var(--primary-dark-green);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--lime-green);
    text-decoration: none;
}

    .breadcrumb-item a:hover {
        color: var(--white);
    }

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--medium-grey);
}

/* ============================================
   Custom Scrollbar (Webkit browsers)
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-grey);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-dark-green), var(--lime-green));
    border-radius: 6px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, var(--secondary-dark-green), var(--bright-lime));
    }

/* ============================================
   Focus Visible (Accessibility)
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--lime-green);
    outline-offset: 2px;
}

/* ============================================
   Additional Card Styles
   ============================================ */
.card.border-primary {
    border-left: 4px solid var(--primary-dark-green) !important;
}

.card.border-success {
    border-left: 4px solid var(--lime-green) !important;
}

.card.border-info {
    border-left: 4px solid var(--primary-blue) !important;
}

/* ============================================
   List Group Custom Styles
   ============================================ */
.list-group-item {
    border-left: 3px solid transparent;
    transition: var(--transition);
}

    .list-group-item:hover {
        border-left-color: var(--lime-green);
        background: rgba(144, 238, 144, 0.05);
    }

    .list-group-item.active {
        background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green));
        border-color: var(--primary-dark-green);
    }

/* ============================================
   Navbar Brand & Logo Enhancements
   ============================================ */
.navbar-brand:hover .brand-title {
    color: var(--lime-green);
    text-shadow: 0 0 10px rgba(144, 238, 144, 0.5);
}

/* ============================================
   Progress Bars
   ============================================ */
.progress {
    height: 8px;
    border-radius: 4px;
    background: var(--light-grey);
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-dark-green), var(--lime-green));
}

/* ============================================
   Modal Enhancements
   ============================================ */
.modal-header {
    background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-dark-green));
    color: var(--white);
    border-bottom: 3px solid var(--lime-green);
}

.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

/* ============================================
   Text Selection
   ============================================ */
::selection {
    background: var(--lime-green);
    color: var(--black);
}

::-moz-selection {
    background: var(--lime-green);
    color: var(--black);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991.98px) {
    .top-header-strip {
        text-align: center;
    }

    .header-contact-info {
        text-align: center;
        margin-bottom: 10px;
    }

        .header-contact-info span {
            display: block;
            margin: 5px 0;
        }

    .header-social-links {
        justify-content: center;
    }

    .brand-title {
        font-size: 26px;
    }

    .brand-subtitle {
        font-size: 10px;
    }

    .navbar-nav .nav-link {
        text-align: center;
        margin: 5px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-widget {
        text-align: center;
        margin-bottom: 40px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-buttons {
        align-items: center;
    }

    .cta-features {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .logo-main {
        width: 50px;
        height: 50px;
    }

    .brand-title {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

        .hero-buttons .btn {
            width: 100%;
            max-width: 280px;
        }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card,
    .stat-card {
        margin-bottom: 30px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }
}

/* ============================================
   Performance Optimizations
   ============================================ */

/* Use containment for card components to improve rendering */
.service-card,
.stat-card,
.funding-card,
.success-card,
.news-card {
    contain: layout style paint;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .stat-card,
    .funding-card,
    .success-card,
    .news-card {
        will-change: transform;
    }
}

/* Remove will-change after hover to free up resources */
.service-card:not(:hover),
.stat-card:not(:hover),
.funding-card:not(:hover),
.success-card:not(:hover),
.news-card:not(:hover) {
    will-change: auto;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .top-header-strip,
    .main-header,
    .main-footer,
    .back-to-top,
    .hero-buttons,
    .btn,
    .cta-section {
        display: none !important;
    }

    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    * {
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }

    a {
        text-decoration: underline !important;
    }

    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
}

/* ============================================
   High Contrast Mode Support
   ============================================ */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: none;
        --shadow-medium: none;
        --shadow-heavy: none;
    }

    .btn,
    .card,
    .service-card,
    .stat-card {
        border: 2px solid currentColor !important;
    }
}

/* ============================================
   END OF OPTIMIZED STYLESHEET
   ============================================ */
