:root {
    --primary: #1a3a8f;
    --secondary: #f8a31c;
    --light: #f5f7ff;
    --dark: #1e2a5a;
    --success: #28a745;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9fafc;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-left: 10px;
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

nav {
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary);
}

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

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 143, 0.85), rgba(26, 58, 143, 0.85)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn-hero {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    min-width: 200px;
}

.btn-hero:hover {
    background-color: white;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

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

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.3;
}

.service-card p {
    line-height: 1.6;
}

/* Target Audience Section */
.audience-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.audience-tab {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.audience-tab.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.audience-content {
    display: none;
}

.audience-content.active {
    display: block;
}

.audience-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

.audience-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.audience-card h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: var(--primary);
}

.audience-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.audience-card li {
    margin-bottom: 8px;
}

/* Application Form */
.application-form {
    background-color: var(--light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column ul li i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s;
    text-decoration: none;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    display: none;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background-color: var(--dark);
    color: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px 0;
    overflow-y: auto;
}

.admin-logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.admin-menu {
    list-style: none;
}

.admin-menu li {
    margin-bottom: 5px;
}

.admin-menu li a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.admin-menu li a:hover, .admin-menu li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-content {
    margin-left: 250px;
    padding: 20px;
    width: calc(100% - 250px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.admin-card h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.admin-card .number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.admin-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

th {
    background-color: var(--light);
    font-weight: 600;
    color: var(--dark);
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-approved {
    background-color: #d1edff;
    color: #0c5460;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.action-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
    text-decoration: none;
    display: inline-block;
}

.btn-view {
    background-color: #17a2b8;
    color: white;
}

.btn-edit {
    background-color: #ffc107;
    color: #212529;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 70px;
    }
    
    .admin-sidebar .admin-logo span,
    .admin-sidebar .admin-menu li a span {
        display: none;
    }
    
    .admin-content {
        margin-left: 70px;
        width: calc(100% - 70px);
    }
    
    .admin-sidebar .admin-menu li a i {
        margin-right: 0;
        font-size: 18px;
    }
    
    .admin-sidebar .admin-logo h2 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 10px 0;
        margin-left: 0;
        text-align: center;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        min-width: 100%;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .audience-tab {
        min-width: 120px;
        font-size: 12px;
        padding: 8px 15px;
    }
    
    .admin-content {
        padding: 15px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .audience-card {
        padding: 20px;
    }
    
    .form-container {
        padding: 15px;
    }
    
    .btn {
        padding: 10px 15px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-content {
        margin-left: 0;
        width: 100%;
    }
    
    .login-container {
        margin: 50px auto;
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 150px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .about-text h3 {
        font-size: 20px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
}

/* Admin Login Card Styles */
.admin-login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a3a8f 0%, #2d4ba8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-login-logo {
    margin-bottom: 30px;
}

.admin-login-logo h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.admin-login-logo span {
    color: var(--secondary);
}

.admin-login-logo p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.admin-login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.admin-login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.admin-login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.admin-login-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5ee;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.admin-login-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
}

.admin-login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 58, 143, 0.3);
}

.admin-login-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.admin-login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.admin-login-footer a:hover {
    color: var(--secondary);
}

/* Enhanced Dashboard Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.dashboard-card.pending {
    border-left-color: #ffc107;
}

.dashboard-card.approved {
    border-left-color: #28a745;
}

.dashboard-card.rejected {
    border-left-color: #dc3545;
}

.dashboard-card h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-card .number {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.dashboard-card .trend {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
}

.dashboard-card .trend.down {
    color: #dc3545;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.quick-action-btn {
    background: white;
    border: 2px solid #e1e5ee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--dark);
}

.quick-action-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-action-btn i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.quick-action-btn span {
    font-weight: 600;
    font-size: 14px;
}

/* Enhanced Table Styles */
.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.table-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: between;
    align-items: center;
}

.table-header h2 {
    margin: 0;
    color: var(--dark);
}

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

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-reviewed {
    background: #d1edff;
    color: #0c5460;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Mobile Responsive for Admin */
@media (max-width: 768px) {
    .admin-login-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .table-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .admin-login-card {
        padding: 25px 15px;
    }
    
    .admin-login-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Application CTA Section */
.application-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 80px 0;
}

.application-cta .section-title h2 {
    color: white;
}

.application-cta .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.cta-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.cta-text ul {
    list-style: none;
    margin-bottom: 25px;
}

.cta-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.cta-text li i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 18px;
}

.cta-action {
    flex: 1;
    min-width: 300px;
}

.cta-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: var(--dark);
}

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

.cta-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.cta-card p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.cta-features i {
    color: var(--primary);
}

/* Application Header */
.application-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.application-logo h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.application-logo span {
    color: var(--secondary);
}

.application-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: var(--secondary);
}

.application-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.application-intro p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.application-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature-item i {
    color: var(--secondary);
    font-size: 20px;
}

/* Application Form Section */
.application-form-section {
    padding: 60px 0;
    background-color: var(--light);
}

.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e1e5ee;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 10px;
    background: white;
    border-radius: 20px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.progress-step.active {
    background: var(--primary);
    color: white;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-step h3 i {
    color: var(--secondary);
}

.declaration-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1e5ee;
}

/* Success Message Styles */
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.alert-success i {
    color: #28a745;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .application-features {
        gap: 20px;
    }
    
    .feature-item {
        font-size: 14px;
    }
    
    .form-progress {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-step {
        flex: 1 0 calc(50% - 10px);
        font-size: 14px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .application-logo h1 {
        font-size: 32px;
    }
    
    .application-intro h2 {
        font-size: 24px;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .progress-step {
        flex: 1 0 100%;
    }
}

/* ===== ENTRANCE ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Section Animations */
.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero .btn-hero {
    animation: bounceIn 1s ease-out 0.9s both;
}

/* Section Base Styles - Ensure they're visible by default */
section {
    padding: 80px 0;
    opacity: 1 !important; /* Force visibility */
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 1;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 1;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 1 !important;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Target Audience Section */
.audience-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.audience-tab {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.audience-tab.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.audience-content {
    display: none;
}

.audience-content.active {
    display: block;
}

.audience-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

/* Application CTA */
.application-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 80px 0;
}

.cta-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-action {
    flex: 1;
    min-width: 300px;
}

.cta-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: var(--dark);
}

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

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Animation Classes - Only for scroll-triggered elements */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Specific animation delays for staggered effects */
.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }
.scroll-animate.delay-5 { transition-delay: 0.5s; }
.scroll-animate.delay-6 { transition-delay: 0.6s; }

/* Ensure all content is visible by default */
.about-text,
.about-image,
.service-card,
.audience-tab,
.audience-card,
.cta-text,
.cta-action,
.cta-card,
.footer-column {
    opacity: 1 !important;
    transform: none !important;
}

/* Scholarship Hero Section */
.scholarship-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.scholarship-intro h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.scholarship-intro .lead {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.9;
}

.scholarship-intro p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Quick Info Section */
.quick-info {
    padding: 60px 0;
    background: var(--light);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

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

.info-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Scholarship Filter */
.scholarship-filter {
    padding: 60px 0;
}

.filter-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-actions {
    text-align: center;
}

/* Scholarship Listings */
.scholarship-listings {
    padding: 60px 0;
    background: var(--light);
}

.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.scholarship-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s;
}

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

.scholarship-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.scholarship-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.scholarship-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.scholarship-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.scholarship-meta i {
    color: var(--primary);
    width: 16px;
}

.scholarship-benefits,
.scholarship-eligibility {
    margin-bottom: 20px;
}

.scholarship-benefits h4,
.scholarship-eligibility h4 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.scholarship-benefits p,
.scholarship-eligibility p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.scholarship-deadline {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--dark);
}

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

.scholarship-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* How to Apply Section */
.how-to-apply {
    padding: 80px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.application-tip {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.application-tip i {
    color: #f39c12;
    font-size: 24px;
}

/* About Scholarships */
.about-scholarships {
    padding: 80px 0;
    background: var(--light);
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.about-text h3 {
    color: var(--dark);
    margin: 25px 0 15px;
}

.about-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    margin-bottom: 10px;
    color: white;
}

.newsletter-form {
    flex: 1;
    max-width: 400px;
}

.newsletter-signup {
    display: flex;
    gap: 10px;
}

.newsletter-signup input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #666;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .scholarship-intro h1 {
        font-size: 32px;
    }
    
    .scholarships-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-signup {
        flex-direction: column;
    }
    
    .scholarship-actions {
        flex-direction: column;
    }
}

/* Scholarship Hero Actions */
.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-outline-hero {
    padding: 12px 30px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

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

/* Section Actions */
.section-actions {
    margin-top: 20px;
    text-align: center;
}

.section-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 16px;
}

/* Quick Apply Section */
.quick-apply-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    text-align: center;
}

.quick-apply-content {
    max-width: 600px;
    margin: 0 auto;
}

.quick-apply-content h2 {
    color: white;
    margin-bottom: 15px;
}

.quick-apply-content p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.quick-apply-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .quick-apply-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}
/* Base Menu */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

/* Submenu hidden by default */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 1000;
}

.submenu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.submenu li a:hover {
  background: #f0f0f0;
}

/* Show submenu on hover (desktop) */
nav ul li:hover > .submenu {
  display: block;
}

/* Mobile toggle (optional) */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
  }
  nav.open ul {
    display: flex;
  }
  .submenu {
    position: static;
    box-shadow: none;
  }
}