/* ========================================================
   NIGER STATE INFORMATION TECHNOLOGY AND DIGITAL ECONOMY AGENCY
   SIWES PORTAL - STYLESHEET
   Clean, Professional Green & White Palette + Full-Width Hero Slider
   ======================================================== */

:root {
    --primary-color: #008751;        /* Nigerian Emerald Green */
    --primary-hover: #076d43;
    --primary-dark: #08432a;
    --primary-light: #e8f5ee;
    --accent-gold: #f59e0b;          /* Vibrant Gold / Amber */
    --accent-gold-hover: #d97706;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --info: #0284c7;
    --info-bg: #f0f9ff;
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --purple: #8b5cf6;
    --purple-bg: #f5f3ff;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
}

/* ========================================================
   CONTAINER & LAYOUT
   ======================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1;
    padding: 40px 0;
}

/* ========================================================
   HEADER & NAVBAR
   ======================================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 6px 0;
    letter-spacing: 0.5px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 2px;
}

.brand-logo svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-color);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.05);
}

.brand-text h1 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.brand-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.nav-btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.nav-btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 10px rgba(0, 135, 81, 0.3);
}

.nav-btn-outline {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 1.5px solid var(--primary-color);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* ========================================================
   FULL-WIDTH HERO SLIDER (AS IN REFERENCE IMAGE)
   ======================================================== */
.full-hero-slider {
    position: relative;
    width: 100%;
    min-height: 640px;
    overflow: hidden;
    background-color: #0c1b14;
    display: flex;
    align-items: center;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: brightness(1.08) contrast(1.06) saturate(1.12);
    image-rendering: -webkit-optimize-contrast;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.20) 0%, 
        rgba(0, 0, 0, 0.10) 35%, 
        rgba(0, 0, 0, 0.30) 70%, 
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 2;
}

.slide-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 70px 25px 90px;
    text-align: center;
    color: #ffffff;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(2, 132, 199, 0.9); /* Azure blue pill as in screenshot */
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 6px;
    margin-bottom: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.slide-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.8);
}

.slide-desc {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #ffffff;
    max-width: 780px;
    margin: 0 auto 32px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.7);
}

.slide-btn-group {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.watermark-seal {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

.watermark-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.btn-slider-primary {
    background-color: var(--accent-gold);
    color: #ffffff !important;
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-slider-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-slider-secondary {
    background-color: #ffffff;
    color: #0f172a !important;
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-slider-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Slider Navigation Controls (Left & Right round arrows) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 135, 81, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 24px;
}

.slider-arrow.next {
    right: 24px;
}

/* Slider Pagination Dots (Bottom centered) */
.slider-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dots .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dots .slider-dot.active {
    background-color: var(--accent-gold); /* Gold dot as in screenshot */
    border-color: var(--accent-gold);
    width: 26px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.9);
}

/* WhatsApp Admin Direct Chat Floating Pill (Bottom Right) */
.floating-support-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366; /* Official WhatsApp Emerald Green */
    color: #ffffff !important;
    padding: 11px 20px 11px 16px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.2px;
}

.floating-support-btn:hover {
    background-color: #20ba59;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), 0 3px 8px rgba(0, 0, 0, 0.15);
}

.floating-support-btn:active {
    transform: translateY(-1px) scale(0.99);
}

.floating-support-btn .wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.floating-support-btn .wa-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    display: block;
}

@media (max-width: 480px) {
    .floating-support-btn {
        bottom: 18px;
        right: 18px;
        padding: 9px 16px 9px 12px;
        font-size: 0.85rem;
        gap: 7px;
    }
    .floating-support-btn .wa-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================================
   PROGRAM BANNER STRIP (BELOW HERO)
   ======================================================== */
.program-highlight-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.program-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.program-highlight-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary-color);
    transition: all 0.25s ease;
}

.program-highlight-card:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.program-highlight-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.program-highlight-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* ========================================================
   CARDS & SECTIONS
   ======================================================== */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-tag {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Steps Process */
.step-card {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.step-num {
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(0, 135, 81, 0.25);
}

/* ========================================================
   FORMS & INPUTS
   ======================================================== */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.form-header h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    background-color: #ffffff;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.form-helper {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.error-text {
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 4px;
    display: none;
}

.form-control.is-invalid {
    border-color: var(--danger);
    background-color: #fffaf0;
}

.form-control.is-invalid + .error-text {
    display: block;
}

/* ========================================================
   BUTTONS
   ======================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 135, 81, 0.3);
}

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

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

.btn-secondary {
    background-color: #e2e8f0;
    color: #334155 !important;
}

.btn-secondary:hover {
    background-color: #cbd5e1;
}

.btn-danger {
    background-color: var(--danger);
    color: #ffffff !important;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-accept {
    background-color: #10b981;
    color: #ffffff !important;
}
.btn-accept:hover {
    background-color: #059669;
}

.btn-progress {
    background-color: #0284c7;
    color: #ffffff !important;
}
.btn-progress:hover {
    background-color: #0369a1;
}

.btn-complete {
    background-color: #8b5cf6;
    color: #ffffff !important;
}
.btn-complete:hover {
    background-color: #7c3aed;
}

.btn-reject {
    background-color: #ef4444;
    color: #ffffff !important;
}
.btn-reject:hover {
    background-color: #dc2626;
}

/* ========================================================
   ALERTS & FLASH MESSAGES
   ======================================================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: var(--success-bg);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: var(--danger-bg);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: var(--warning-bg);
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background-color: var(--info-bg);
    color: #075985;
    border: 1px solid #bae6fd;
}

/* ========================================================
   STATUS BADGES
   ======================================================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-accepted {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-progress {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.badge-completed {
    background-color: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.badge-rejected {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ========================================================
   PROGRESS BAR & TIMELINE (APPLICANT DASHBOARD)
   ======================================================== */
.progress-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.progress-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.progress-track {
    width: 100%;
    height: 12px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.prog-pending {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.prog-accepted {
    background: linear-gradient(90deg, #10b981, #34d399);
}
.prog-progress {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}
.prog-completed {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.prog-rejected {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Timeline steps */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 15px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.timeline-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.timeline-step.active .timeline-icon {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-step.completed .timeline-icon {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.timeline-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.timeline-step.active .timeline-label {
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================================
   TABLES & ADMIN STYLES
   ======================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

.admin-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    margin-bottom: 30px;
}

.admin-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.stat-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 6px;
}

.stat-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.action-btn-group {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
    background-color: #0c1b14;
    color: #cbd5e1;
    padding: 60px 0 25px;
    margin-top: auto;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 10px;
}

/* ========================================================
   HERO SECTION — TWO-COLUMN LAYOUT (TEXT LEFT, CAROUSEL RIGHT)
   ======================================================== */
.hero {
    background: linear-gradient(135deg, #0c1b14 0%, #083c22 50%, #0f4c2a 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,135,81,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 135, 81, 0.2);
    border: 1px solid rgba(0, 135, 81, 0.4);
    color: #6ee7b7;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.hero-title span {
    color: #34d399;
    display: block;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========================================================
   HERO CAROUSEL (RIGHT COLUMN)
   ======================================================== */
.hero-carousel-wrapper {
    position: relative;
}

.carousel-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    background: #0c1b14;
    aspect-ratio: 4 / 3;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.04);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(8,20,14,0.92) 0%, rgba(8,20,14,0.5) 60%, transparent 100%);
    padding: 30px 20px 20px;
    color: #ffffff;
    z-index: 3;
}

.carousel-badge {
    display: inline-block;
    background: rgba(0, 135, 81, 0.8);
    color: #6ee7b7;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.carousel-caption h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.carousel-caption p {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0;
}

/* Carousel arrow buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(0, 135, 81, 0.7);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

/* Carousel dots */
.carousel-dots {
    position: absolute;
    bottom: 14px;
    right: 16px;
    display: flex;
    gap: 7px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.25s ease;
}

.dot.active {
    background: #f59e0b;
    border-color: #f59e0b;
    width: 22px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

/* Carousel card footer (programs strip) */
.carousel-card-footer {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-top: 16px;
}

.carousel-program-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 2px;
}

.program-pill {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.program-pill h5 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 2px;
}

.program-pill span {
    font-size: 0.74rem;
    color: #94a3b8;
}

/* ========================================================
   SITE FOOTER (EXECUTIVE BLACK BACKGROUND)
   ======================================================== */
.site-footer {
    background-color: #070d0a; /* Sleek rich black */
    color: #cbd5e1;
    padding: 65px 0 30px;
    border-top: 3px solid var(--primary-color);
    margin-top: auto;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 135, 81, 0.5);
    display: inline-block;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #10b981;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom div:last-child {
    color: #94a3b8;
}

/* ========================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ======================================================== */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.2rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .program-highlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        align-items: stretch;
    }
    .nav-menu.show {
        display: flex;
    }
    .hero {
        padding: 50px 0 40px;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .carousel-program-pills {
        grid-template-columns: 1fr;
    }
    .slide-title {
        font-size: 1.8rem;
    }
    .slide-desc {
        font-size: 0.95rem;
    }
    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
    .btn-slider-primary, .btn-slider-secondary {
        width: 100%;
        justify-content: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .card-grid-2, .card-grid-3 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        flex-direction: column;
        gap: 20px;
    }
    .timeline::before {
        display: none;
    }
    .timeline-step {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .timeline-icon {
        margin: 0;
    }
}

/* ========================================================
   ADMIN REJECTION REASON MODAL & POPUP
   ======================================================== */
.reject-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.reject-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.reject-modal-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
    border-top: 5px solid #dc2626;
    overflow: hidden;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reject-modal-backdrop.is-open .reject-modal-card {
    transform: scale(1) translateY(0);
}

.reject-modal-header {
    padding: 20px 24px 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.reject-modal-header-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reject-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid #fca5a5;
}

.reject-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.2;
}

.reject-modal-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.reject-modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #64748b;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.reject-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.reject-modal-body {
    padding: 20px 24px;
}

.reject-modal-alert {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    color: #991b1b;
    line-height: 1.45;
}

.reject-form-group {
    margin-bottom: 8px;
}

.reject-form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.reject-form-label .req {
    color: #dc2626;
    margin-left: 2px;
}

.reject-textarea {
    width: 100%;
    min-height: 110px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
}

.reject-textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.reject-textarea.has-error {
    border-color: #dc2626 !important;
    background-color: #fffafb;
}

.reject-error-msg {
    display: none;
    color: #dc2626;
    font-size: 0.84rem;
    font-weight: 600;
    margin-top: 6px;
}

.reject-help-text {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reject-modal-footer {
    padding: 14px 24px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

/* ========================================================
   APPLICANT DASHBOARD REJECTION DISPLAY (RED HIGHLIGHT)
   ======================================================== */
.applicant-rejection-card {
    border: 2px solid #ef4444;
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.12);
}

.applicant-rejection-reason-box {
    background: #ffffff;
    border: 1.5px solid #fca5a5;
    border-left: 6px solid #dc2626;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin: 16px 0;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.08);
}

.applicant-rejection-reason-text {
    color: #dc2626 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    word-break: break-word;
}

