:root {
    --primary-color: #2c5aa0;
    --secondary-color: #1e3a8a;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --maju-red: #d62c1f;
    --maju-blue: #112269;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header */
.navbar {
    background: var(--maju-blue);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--bg-light) !important;
}

.navbar-brand img {
    height: 60px;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    .navbar-brand img {
        height: 30px;
    }
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

.btn-login {
    background: var(--maju-red);
    border: 1px solid ;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: white;
    color: var(--maju-red);
}

/* Hero Section */
.hero {
      background: var(--maju-blue);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.search-form {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.btn-search {
    background: linear-gradient(45deg, #d62c1f 0%, #c2382a 40%, var(--primary-color) 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    color: var(--maju-red);
    background: var(--bg-light);
    border: var(--maju-red) 2px solid;
}

/* Stats Section */
.stats {
    background: var(--bg-light);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--maju-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Job Listings */
.jobs-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.job-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive {
    background: #fee2e2;
    color: #dc2626;
}

.job-header {
    margin-bottom: 1rem;
    margin-right: 80px;
}

.job-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-university {
    color: var(--maju-blue);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-type {
    background: var(--maju-blue);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0rem;
    color: var(--text-light);
    font-size: 0.85rem;
    flex-grow: 1;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

.btn-apply {
    background: var(--maju-red);
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 0px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    color: var(--maju-red);
    border: var(--maju-red) 1px solid;
}

.job-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
      background: var(--maju-blue);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-weight: bold;
    font-size: 1.3rem;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.job-detail-item {
    margin-bottom: 1.5rem;
}

.job-detail-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-detail-value {
    color: var(--text-light);
    line-height: 1.6;
}

.job-description {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-apply-modal {
    background: var(--maju-red);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-apply-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    color: var(--maju-red);
    background: var(--bg-light);
    border:  var(--maju-red) 1px solid; 
}

/* Footer */
.footer {
      background: var(--maju-blue);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-content h5 {
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color:white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: white !important;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-header {
        margin-right: 60px;
    }

    .modal-body {
        padding: 1.5rem;
    }
}
