* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f8f9fa;
            color: #2c3e50;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Navbar Styles */
        .navbar {
            background: white;
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .navbar ul {
            list-style: none;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            padding: 0;
            margin: 0;
        }

        .navbar li {
            margin: 0;
        }

        .navbar a {
            display: block;
            color: #2c3e50;
            text-decoration: none;
            padding: 20px 30px;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
        }

        .navbar a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #008751 0%, #008751 100%);
            transition: width 0.3s ease;
        }

        .navbar a:hover,
        .navbar a.active {
            color: #008751;
            background: rgba(0, 135, 81, 0.05);
        }

        .navbar a:hover::after,
        .navbar a.active::after {
            width: 60%;
        }

        /* Enhanced Navbar Layout */
.navbar {
    background: white;
    padding: 10px 0; /* Reduced padding for a slimmer look */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 45px; /* Adjust based on your PNG size */
    width: auto;
}

.logo span {
    font-size: 20px;
    font-weight: 800;
    color: #008751;
    letter-spacing: -0.5px;
    display: block;
}

/* Centered Menu */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.navbar a {
    padding: 10px 15px !important;
    font-size: 15px;
    border-radius: 5px;
}

/* Search Bar Styles */
.nav-search form {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.nav-search form:focus-within {
    background: white;
    border-color: #008751;
    box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.1);
}

.nav-search input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px;
    font-size: 14px;
    width: 150px; /* Expands on focus */
    transition: width 0.3s ease;
}

.nav-search input:focus {
    width: 200px;
}

.nav-search button {
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-search button:hover {
    color: #008751;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .nav-search {
        display: none; /* Hide search on tablets to save space */
    }
}

@media (max-width: 768px) {
    .navbar ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        border-top: 1px solid #eee;
    }
    
    .logo span {
        font-size: 18px;
    }
}

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 20px;
            gap: 5px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: #008751;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Hero Section */
        .hero {
            background: url('images/hero.jpeg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 120px 20px;
            text-align: center;
            position: relative;
        }

        .hero h1 {
            font-size: 52px;
            margin-bottom: 20px;
            color: white;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
            font-weight: 700;
        }

        .hero p {
            font-size: 22px;
            max-width: 700px;
            margin: 0 auto 40px;
            line-height: 1.6;
            color: white;
            font-weight: 400;
        }

        .cta-button {
            display: inline-block;
            padding: 18px 45px;
            background: white;
            color: #008751;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 18px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .cta-button:hover {
            background: #008751;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(169, 50, 38, 0.4);
        }


        /* Credit Feature */

        /* Highlight the Micro-Credit Card */
.highlighted-card {
    border: 2px solid #008751; /* Ekiti Green Border */
    background-color: #f0fff4; /* Very light green background */
}

.eligibility-mini {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 15px 0;
    font-size: 0.85rem;
    text-align: left;
}

.apply-btn {
    width: 100%;
    background: #008751;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.apply-btn:hover {
    background: #d4a017; /* Ekiti Gold hover effect */
}

        /* Floating Toggle */
#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #008751; /* Ekiti Green */
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Chat Window */
#chat-container {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
    font-family: sans-serif;
}

#chat-header {
    background: #008751;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

#chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-size: 14px;
}

.bot-msg { background: #f1f1f1; padding: 8px; border-radius: 5px; margin-bottom: 10px; }
.user-msg { background: #dcf8c6; padding: 8px; border-radius: 5px; margin-bottom: 10px; text-align: right; }

#chat-input-area { display: flex; border-top: 1px solid #ddd; }
#user-input { flex: 1; border: none; padding: 10px; outline: none; }
#send-btn { background: #008751; color: white; border: none; padding: 10px; cursor: pointer; }

        /* Registration Section */
        .registration-section {
            display: none;
            padding: 80px 20px;
            background: white;
        }

        .registration-section.active {
            display: block;
        }

        .registration-container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            padding: 50px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .registration-container h2 {
            font-size: 36px;
            color: #2c3e50;
            margin-bottom: 15px;
            text-align: center;
            font-weight: 700;
        }

        .registration-container .subtitle {
            text-align: center;
            color: #6c757d;
            margin-bottom: 40px;
            font-size: 18px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #2c3e50;
            font-weight: 600;
            font-size: 15px;
        }

        .form-group label span {
            color: #A93226;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s ease;
            color: #2c3e50;
            background: #f8f9fa;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #008751;
            background: white;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .checkbox-group input[type="checkbox"] {
            width: auto;
            margin-top: 4px;
        }

        .checkbox-group label {
            margin-bottom: 0;
            font-weight: 400;
        }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #008751 0%, #8bf78b 100%);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 135, 81, 0.3);
        }

        .back-link {
            display: inline-block;
            margin-bottom: 20px;
            color: #008751;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .back-link:hover {
            color: #A93226;
        }

        .back-link i {
            margin-right: 8px;
        }

/* Vocational Services Section Styles */
.services-section {
    padding: 100px 20px;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-item:hover {
    background: #008751;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 135, 81, 0.2);
}

.service-item i {
    font-size: 35px;
    color: #008751;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.service-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2c3e50;
}

.service-item p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
}

.service-item:hover i, 
.service-item:hover h4, 
.service-item:hover p {
    color: #ffffff;
}

        /* Enhanced Programs Section */
.programs-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 135, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.3s ease;
}

.card-icon i {
    display: block !important; /* Overriding your previous 'display: none' */
    font-size: 30px;
    color: #008751;
}

.feature-card:hover .card-icon {
    background: #008751;
}

.feature-card:hover .card-icon i {
    color: white;
}

.program-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.program-list li {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-list li i {
    color: #008751;
    font-size: 12px;
}

        /* About Section Styles */
.about-section {
    padding: 100px 20px;
    background: white;
}

.section-subtitle {
    color: #008751;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    gap: 25px;
}

.about-item {
    display: flex;
    gap: 15px;
}

.about-item i {
    color: #008751;
    font-size: 24px;
    margin-top: 5px;
}

.about-item h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #2c3e50;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 4px solid #008751;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 32px;
    color: #008751;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
}

/* Contact Section Styles */
.contact-section {
    padding: 100px 20px;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    margin-top: 40px;
}

.info-box {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.info-box:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #008751;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-details h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 18px;
}

.info-details p {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.5;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999; /* Very high */
}

.modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    z-index: 10000; /* Higher than overlay */
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
}
.credit-feature {
    background: #e8f5e9; /* Light green tint */
    border-left: 5px solid #008751;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.apply-btn {
    background: #008751;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.apply-btn:hover {
    background: #005e38;
}
        /* Content Section */
        .content {
            flex: 1;
            padding: 80px 20px;
            background: #f8f9fa;
        }

        .content-wrapper {
            max-width: 1140px;
            margin: 0 auto;
        }

        .content h2 {
            color: #2c3e50;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .feature-card {
            background: white;
            padding: 40px 30px;
            border-radius: 20px;
            text-align: center;
            transition: all 0.3s ease;
            border: 3px solid transparent;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

        .feature-card:nth-child(odd) {
            border-top: 5px solid #008751;
        }

        .feature-card:nth-child(even) {
            border-top: 5px solid #A93226;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .feature-card i {
            display: none;
        }

        .feature-card img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            margin-bottom: 20px;
        }

        .feature-card h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #2c3e50;
            font-weight: 700;
        }

        .feature-card p {
            font-size: 16px;
            line-height: 1.7;
            color: #6c757d;
        }

        /* Footer Styles */
        footer {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            padding: 60px 20px 0;
            margin-top: 80px;
        }

        .container {
            max-width: 1140px;
            width: 90%;
            margin: auto;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
        }

        .footer-content {
            flex: 1;
            min-width: 250px;
        }

        .footer-content h3 {
            font-size: 24px;
            margin-bottom: 25px;
            text-align: left;
            color: white;
            font-weight: 700;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #008751 0%, #b8f78e 100%);
        }

        .footer-content p {
            width: 100%;
            margin: 0;
            padding: 10px 0;
            font-size: 16px;
            color: #ecf0f1;
        }

        .footer-content p i {
            color: #008751;
            margin-right: 10px;
            width: 20px;
        }

        .footer-content ul {
            text-align: left;
            padding: 0;
        }

        .list li {
            list-style-type: none;
            padding: 10px 0;
            position: relative;
            padding-left: 0;
        }

        .list li::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: 5px;
            width: 0;
            height: 2px;
            background: #008751;
            transition: width 0.3s ease;
        }

        .list li:hover::before {
            width: 60px;
        }

        .list a {
            color: #ecf0f1;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .list a:hover {
            color: #008751;
        }

        .social-icons {
            display: flex;
            gap: 15px;
            padding: 0;
            list-style: none;
        }

        .social-icons li {
            display: inline-block;
        }

        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background: #008751;
            transform: translateY(-5px) scale(1.1);
        }

        .social-icons a:nth-child(even):hover {
            background: #A93226;
        }

        .social-icons i {
            color: #2c3e50;
            font-size: 22px;
        }

        .social-icons a:hover i {
            color: white;
        }

        .bottom-bar {
            background: white;
            padding: 25px 0;
            text-align: center;
            margin-top: 60px;
        }

        .bottom-bar p {
            color: #2c3e50;
            margin: 0;
            font-size: 15px;
            font-weight: 600;
        }

        .apply-btn {
            cursor: pointer;
            position: relative;
            z-index: 1; 
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .navbar ul {
                flex-direction: column;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

            .navbar ul.active {
                max-height: 400px;
            }

            .navbar a {
                padding: 15px;
                width: 100%;
                text-align: center;
                border-bottom: 1px solid #f0f0f0;
            }

            .hamburger {
                display: flex;
                position: absolute;
                right: 20px;
                top: 15px;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .container {
                flex-direction: column;
            }

            .footer-content {
                width: 100%;
                text-align: center;
            }

            .footer-content h3 {
                text-align: center;
            }

            .footer-content h3::after {
                left: 50%;
                transform: translateX(-50%);
            }

            .footer-content ul {
                text-align: center;
            }

            .footer-content p {
                margin: 0 auto;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .registration-container {
                padding: 30px 20px;
            }

            .registration-container h2 {
                font-size: 28px;
            }
        }