/* ============================================================================
   EKAFA PIUMS - Consolidated Site Styles
   Combined from: main.php inline styles + original site.css
   ============================================================================ */

/* WCAG AA Compliant Color System */
:root {
    /* Primary Colors - Enhanced Contrast */
    --ekafa-primary: #003829;
    --ekafa-primary-light: #00563d;
    --ekafa-primary-dark: #001f15;
    --ekafa-accent: #00b377;

    /* Text Colors - High Contrast */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-tertiary: #6b7280;
    --text-white: #ffffff;
    --text-white-soft: #f9fafb;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f3f4f6;
    --bg-dark: #1f2937;

    /* Sidebar Colors - Darker for Better Contrast */
    --sidebar-bg: #001f15;
    --sidebar-text: #e5e7eb;
    --sidebar-text-hover: #ffffff;
    --sidebar-active: #00b377;
    --sidebar-hover-bg: rgba(0, 179, 119, 0.15);

    /* Navbar Colors - Darker */
    --navbar-bg: #003829;
    --navbar-text: #ffffff;

    /* Status Colors - High Contrast */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0284c7;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15);
}

/* ==================
   Base HTML/Body Layout
   ================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    /* Background image set inline in main.php - requires PHP */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    min-height: 100vh;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
}

/* Darker overlay for better content visibility */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 56, 41, 0.85), rgba(0, 31, 21, 0.9));
    z-index: -1;
}

main#main {
    flex: 1 0 auto;
}

/* Page Wrapper */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==================
   Navbar Styles
   ================== */

/* Enhanced Navbar - Better Contrast */
.navbar-custom {
    background: var(--navbar-bg) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(0, 179, 119, 0.3);
    height: 70px;
}

.navbar-custom .navbar-brand {
    color: var(--navbar-text) !important;
    font-weight: 700;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-custom .navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-custom .navbar-brand img {
    height: 38px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar-custom .nav-link {
    color: var(--navbar-text) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.navbar-custom .nav-link:hover {
    color: var(--navbar-text) !important;
    background: rgba(0, 179, 119, 0.2);
    transform: translateY(-2px);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--ekafa-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
    width: 70%;
}

.navbar-custom .navbar-nav .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: white !important;
}

.user-info-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.user-info-badge i {
    font-size: 1.4rem;
}

/* ==================
   Sidebar Styles
   ================== */

/* Enhanced Sidebar - Much Better Contrast */
.sidebar {
    width: 260px;
    height: calc(100vh - 70px);
    position: fixed;
    top: 70px;
    left: 0;
    background: var(--sidebar-bg);
    padding: 1.5rem 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-right: 2px solid rgba(0, 179, 119, 0.2);
    color: #ffffff;
}

/* Custom Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 179, 119, 0.4);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 179, 119, 0.6);
}

.sidebar .nav-item {
    margin-bottom: 0.25rem;
    position: relative;
}

.sidebar .nav-link {
    color: var(--sidebar-text);
    padding: 0.95rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    position: relative;
    text-decoration: none;
}

.sidebar .nav-link i {
    font-size: 1.25rem;
    min-width: 24px;
    text-align: center;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--sidebar-hover-bg);
    transition: width 0.3s ease;
}

.sidebar .nav-link:hover {
    color: var(--sidebar-text-hover);
    background: var(--sidebar-hover-bg);
    border-left-color: var(--sidebar-active);
}

.sidebar .nav-link:hover::before {
    width: 100%;
}

.sidebar .nav-link.active {
    color: var(--sidebar-text-hover);
    background: var(--sidebar-hover-bg);
    border-left-color: var(--sidebar-active);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(0, 179, 119, 0.2);
}

.sidebar a {
    color: #ffffff;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #014134;
}

.sidebar a.active {
    background-color: #02695e;
    font-weight: bold;
    border-left: 4px solid #ffc107;
}

/* Collapsible Menu - Improved Visibility */
.sidebar .collapse .nav-link {
    padding-left: 3.5rem;
    font-size: 0.95rem;
    color: rgba(229, 231, 235, 0.85);
    position: relative;
}

.sidebar .collapse .nav-link::before {
    content: '→';
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: bold;
}

.sidebar .collapse .nav-link:hover::before {
    opacity: 1;
    left: 2.75rem;
}

.sidebar .collapse .nav-link:hover {
    color: var(--sidebar-text-hover);
}

/* Ensure collapse sections don't show overflow */
.sidebar .collapse {
    overflow: hidden;
}

/* Section Divider */
.sidebar-divider {
    height: 1px;
    background: rgba(0, 179, 119, 0.25);
    margin: 1rem 1.5rem;
}

/* ==================
   Main Content Area
   ================== */

.content-wrapper {
    margin-left: 260px;
    padding: 2rem;
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
    flex: 1 0 auto;
}

/* Guest Center Layout */
.guest-center {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    padding: 2rem;
}

/* ==================
   Footer Styles
   ================== */

footer#footer {
    background: var(--sidebar-bg);
    background-color: #004135;
    color: var(--text-white);
    color: white;
    padding: 1.75rem 0;
    padding: 1rem 0;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(0, 179, 119, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

footer .container,
footer#footer .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.95rem;
    padding-right: 15px;
    padding-left: 15px;
}

footer .container p,
footer#footer .container p {
    margin: 0;
    color: var(--text-white);
    color: white;
    font-weight: 500;
}

.footer-logged-in {
    margin-left: 260px;
}

/* ==================
   Breadcrumbs
   ================== */

.breadcrumbs-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--ekafa-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.breadcrumb-item a:hover {
    color: var(--ekafa-accent);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==================
   Alerts & Notifications
   ================== */

/* Enhanced Alert Animations */
.alert {
    animation: slideInDown 0.3s ease-out;
    border-radius: 0.75rem;
    border: none;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 4px solid var(--info);
}

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

/* Notification Badge Styles */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navbar-bg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.notification-bell-link:hover i {
    transform: rotate(15deg);
    transition: transform 0.3s ease;
}

/* Notification Dropdown Styles */
.notification-dropdown {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 400px;
    max-height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.notification-dropdown.show {
    display: flex;
    animation: slideDown 0.3s ease;
}

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

.notification-dropdown-header {
    background: linear-gradient(135deg, #004135 0%, #11684d 100%);
    color: white;
    padding: 1.25rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.mark-all-read-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.mark-all-read-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white !important;
    text-decoration: none;
}

.mark-all-read-btn:active {
    transform: scale(0.95);
}

.mark-all-read-btn i {
    font-size: 1rem;
}

.notification-dropdown-body {
    overflow-y: auto;
    max-height: 380px;
    flex: 1;
}

.notification-dropdown-body::-webkit-scrollbar {
    width: 6px;
}

.notification-dropdown-body::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.notification-dropdown-body::-webkit-scrollbar-thumb {
    background: #00a86b;
    border-radius: 3px;
}

.notification-dropdown-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.notification-dropdown-item:hover {
    background: #f9fafb;
    border-left: 4px solid #00a86b;
}

.notification-dropdown-item.unread {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.notification-dropdown-item.unread:hover {
    background: #dbeafe;
}

.notification-dropdown-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-dropdown-item-message {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notification-dropdown-item-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

.notification-dropdown-footer {
    background: #f9fafb;
    padding: 0.875rem;
    text-align: center;
    border-top: 2px solid #e5e7eb;
}

.notification-dropdown-footer a {
    color: #00a86b;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.notification-dropdown-footer a:hover {
    color: #059669;
}

.notification-empty {
    padding: 3rem 2rem;
    text-align: center;
    color: #9ca3af;
}

.notification-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.notification-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.badge-new {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
}

/* ==================
   User Dropdown Styles
   ================== */

.user-dropdown-container {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.user-dropdown.show {
    display: flex;
    animation: slideDown 0.3s ease;
}

.user-dropdown-header {
    background: linear-gradient(135deg, #004135 0%, #11684d 100%);
    color: white;
    padding: 1.25rem;
    border-bottom: 2px solid rgba(0, 179, 119, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.user-dropdown-avatar-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.notification-bell-mobile {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    line-height: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell-mobile:hover {
    background: rgba(255, 255, 255, 0.25);
}

.notification-bell-mobile .notification-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.user-dropdown-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.user-dropdown-avatar-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.user-dropdown-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    text-align: left;
}

.user-dropdown-role {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
    text-align: left;
}

.user-dropdown-body {
    padding: 0.5rem 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.user-dropdown-item i {
    font-size: 1.15rem;
    width: 20px;
    text-align: center;
}

.user-dropdown-item:hover {
    background: #f9fafb;
    color: #00a86b;
    border-left-color: #00a86b;
}

.user-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

.user-dropdown-item.logout {
    color: #dc2626;
}

.user-dropdown-item.logout:hover {
    background: #fef2f2;
    border-left-color: #dc2626;
}

/* ==================
   Loading States
   ================== */

/* Loading State */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ekafa-accent), var(--ekafa-primary));
    z-index: 9999;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==================
   Links & Buttons
   ================== */

/* Improved Link Styles */
a {
    color: var(--ekafa-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ekafa-accent);
}

/* Better Button Contrast */
.btn-primary {
    background: var(--ekafa-primary);
    border-color: var(--ekafa-primary);
    color: var(--text-white);
    font-weight: 600;
}

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

/* ==================
   Forms & Tables
   ================== */

/* GridView Sorting Icons */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

/* Form & Error Styling */
.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* Logout Button */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* Form Group */
.form-group {
    margin-bottom: 1rem;
}

/* Login / Register Panels */
.site-login.container,
.site-register.container {
    display: inline-block;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 70%;
    max-width: 100%;
    margin: 25px auto;
}

/* Dashboard Card */
.dashboard-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ==================
   Typography
   ================== */

/* General Typography */
h1, h2, h3, h4, h5 {
    color: #1c1c1c;
}

p {
    font-size: 1rem;
    color: #333333;
}

/* ==================
   Responsive Design
   ================== */

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        font-size: 15px;
        padding-top: 60px;
    }

    body::before {
        background: linear-gradient(135deg, rgba(0, 31, 21, 0.95), rgba(0, 15, 10, 0.95));
    }

    .navbar-custom {
        height: 60px;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        box-shadow: none;
        border-right: none;
        border-bottom: 2px solid rgba(0, 179, 119, 0.2);
    }

    .content-wrapper {
        margin-left: 0;
        padding: 1rem;
    }

    .footer-logged-in {
        margin-left: 0;
    }

    .user-info-badge {
        font-size: 0.85rem;
        padding: 0.5rem 0.85rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 1.15rem;
    }

    .navbar-custom .navbar-brand img {
        height: 32px;
    }

    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

@media(max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .sidebar .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}


/* ==================
   Site Views CSS (extracted from inline styles)
   ================== */

/* ==================
   index.php Styles
   ================== */

/* ==========================
       IMPROVED READABILITY - Modern Landing Page Styles
       ========================== */
    
    :root {
        /* High Contrast Color System */
        --ekafa-primary: #003829;
        --ekafa-primary-light: #00563d;
        --ekafa-primary-dark: #001f15;
        --ekafa-secondary: #00b377;
        --ekafa-accent: #10d890;
        --ekafa-gradient: linear-gradient(135deg, #003829 0%, #00563d 100%);
        
        /* Text Colors - High Contrast */
        --text-primary: #111827;
        --text-secondary: #374151;
        --text-tertiary: #4b5563;
        --text-white: #ffffff;
        --text-white-soft: #f9fafb;
        
        /* Background Colors */
        --bg-white: #ffffff;
        --bg-light: #f3f4f6;
        --bg-lighter: #f9fafb;
        
        /* Shadows */
        --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
        --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15);
        --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    }

    /* Reset & Base */
    .landing-page {
        background: transparent;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        font-size: 16px;
    }

    /* Hero Section - Improved Contrast */
    .hero-section {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 100px 20px 80px;
        background: linear-gradient(135deg, rgba(0, 56, 41, 0.95), rgba(0, 31, 21, 0.97));
    }

    .hero-content {
        max-width: 1200px;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        animation: fadeInUp 1s ease-out;
    }

    .hero-text {
        color: var(--text-white);
    }

    .hero-title {
        font-size: 3.75rem;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        color: var(--text-white);
        text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
        animation: fadeInUp 1s ease-out 0.2s both;
    }

    .hero-subtitle {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 1.25rem;
        color: var(--text-white);
        text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
        animation: fadeInUp 1s ease-out 0.4s both;
    }

    .hero-description {
        font-size: 1.25rem;
        line-height: 1.8;
        color: var(--text-white-soft);
        margin-bottom: 2.5rem;
        font-weight: 400;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        animation: fadeInUp 1s ease-out 0.6s both;
    }

    .hero-buttons {
        display: flex;
        gap: 1.25rem;
        flex-wrap: wrap;
        animation: fadeInUp 1s ease-out 0.8s both;
    }

    .btn-hero {
        padding: 1.125rem 2.25rem;
        font-size: 1.125rem;
        font-weight: 700;
        border-radius: 12px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.625rem;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
        border: 2px solid transparent;
    }

    .btn-hero-primary {
        background: var(--text-white);
        color: var(--ekafa-primary);
        border-color: var(--text-white);
    }

    .btn-hero-primary:hover {
        background: var(--text-white-soft);
        transform: translateY(-3px);
        box-shadow: var(--shadow-2xl);
        color: var(--ekafa-primary);
    }

    .btn-hero-secondary {
        background: transparent;
        color: var(--text-white);
        border: 2px solid var(--text-white);
        backdrop-filter: blur(10px);
    }

    .btn-hero-secondary:hover {
        background: var(--text-white);
        color: var(--ekafa-primary);
        transform: translateY(-3px);
        box-shadow: var(--shadow-2xl);
    }

    /* Hero Image/Illustration */
    .hero-visual {
        position: relative;
        animation: fadeInUp 1s ease-out 0.4s both;
    }

    .hero-image-card {
        background: var(--bg-white);
        border-radius: 24px;
        padding: 2rem;
        box-shadow: var(--shadow-2xl);
        position: relative;
        overflow: hidden;
        border: 2px solid rgba(0, 179, 119, 0.2);
    }

    .hero-image-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(0, 179, 119, 0.1), transparent);
        animation: shimmer 3s infinite;
    }

    .hero-image-card img {
        width: 100%;
        height: auto;
        border-radius: 16px;
        display: block;
    }

    /* Stats Section - Better Contrast */
    .stats-section {
        background: var(--bg-white);
        padding: 70px 20px;
        margin-top: -50px;
        position: relative;
        z-index: 10;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    }

    .stats-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }

    .stat-card {
        text-align: center;
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
        background: var(--bg-white);
        border: 2px solid #e5e7eb;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .stat-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--ekafa-secondary);
    }

    .stat-icon {
        width: 72px;
        height: 72px;
        margin: 0 auto 1.25rem;
        background: var(--ekafa-gradient);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-white);
        font-size: 2.25rem;
        box-shadow: var(--shadow-md);
    }

    .stat-number {
        font-size: 2.75rem;
        font-weight: 900;
        color: var(--ekafa-primary);
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .stat-label {
        font-size: 1.125rem;
        color: var(--text-secondary);
        font-weight: 600;
    }

    /* Features Section - Enhanced Readability */
    .features-section {
        padding: 100px 20px;
        background: var(--bg-lighter);
    }

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

    .section-badge {
        display: inline-block;
        padding: 0.625rem 1.25rem;
        background: var(--ekafa-primary);
        color: var(--text-white);
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
        box-shadow: var(--shadow-md);
        border: 2px solid var(--ekafa-primary-light);
    }

    .section-title {
        font-size: 2.75rem;
        font-weight: 900;
        color: var(--text-primary);
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }

    .section-description {
        font-size: 1.25rem;
        color: var(--text-secondary);
        line-height: 1.8;
        font-weight: 500;
    }

    .features-grid {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    .feature-card {
        background: var(--bg-white);
        padding: 2.75rem;
        border-radius: 20px;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border: 2px solid #e5e7eb;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--ekafa-gradient);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-2xl);
        border-color: var(--ekafa-secondary);
    }

    .feature-card:hover::before {
        transform: scaleX(1);
    }

    .feature-icon {
        width: 72px;
        height: 72px;
        background: var(--ekafa-gradient);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.75rem;
        color: var(--text-white);
        font-size: 2.25rem;
        box-shadow: var(--shadow-md);
    }

    .feature-title {
        font-size: 1.625rem;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .feature-description {
        font-size: 1.0625rem;
        color: var(--text-secondary);
        line-height: 1.75;
        font-weight: 400;
    }

    /* CTA Section - Maximum Contrast */
    .cta-section {
        padding: 100px 20px;
        background: var(--ekafa-gradient);
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -25%;
        width: 50%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: pulse 4s ease-in-out infinite;
    }

    .cta-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
        color: var(--text-white);
        position: relative;
        z-index: 2;
    }

    .cta-title {
        font-size: 3rem;
        font-weight: 900;
        margin-bottom: 1.75rem;
        line-height: 1.2;
        color: var(--text-white);
        text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .cta-description {
        font-size: 1.375rem;
        margin-bottom: 3rem;
        font-weight: 500;
        line-height: 1.6;
        color: var(--text-white);
        text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
    }

    .cta-button {
        background: var(--text-white);
        color: var(--ekafa-primary);
        padding: 1.375rem 3rem;
        font-size: 1.375rem;
        font-weight: 800;
        border-radius: 12px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.875rem;
        box-shadow: var(--shadow-2xl);
        transition: all 0.3s ease;
        border: 2px solid var(--text-white);
    }

    .cta-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 60px -15px rgb(0 0 0 / 0.3);
        background: var(--text-white-soft);
        color: var(--ekafa-primary);
    }

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

    @keyframes shimmer {
        0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
        100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }

    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-content {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .hero-title {
            font-size: 2.5rem;
        }

        .hero-subtitle {
            font-size: 1.375rem;
        }

        .hero-description {
            font-size: 1.125rem;
        }

        .section-title {
            font-size: 2.25rem;
        }

        .cta-title {
            font-size: 2.25rem;
        }

        .features-grid {
            grid-template-columns: 1fr;
        }

        .hero-visual {
            order: -1;
        }

        .stat-card {
            padding: 2rem 1.25rem;
        }

        .feature-card {
            padding: 2.25rem;
        }
    }

/* ==================
   about.php Styles
   ================== */

/* ==========================
       IMPROVED READABILITY - Modern About Page Styles
       ========================== */
    
    :root {
        /* High Contrast Color System */
        --ekafa-primary: #003829;
        --ekafa-primary-light: #00563d;
        --ekafa-primary-dark: #001f15;
        --ekafa-secondary: #00b377;
        --ekafa-accent: #10d890;
        --ekafa-gradient: linear-gradient(135deg, #003829 0%, #00563d 100%);
        
        /* Text Colors - High Contrast */
        --text-primary: #111827;
        --text-secondary: #374151;
        --text-tertiary: #4b5563;
        --text-white: #ffffff;
        --text-white-soft: #f9fafb;
        
        /* Background Colors */
        --bg-white: #ffffff;
        --bg-light: #f3f4f6;
        --bg-lighter: #f9fafb;
    }

    .about-page {
        background: var(--bg-white);
        padding-bottom: 60px;
        font-size: 16px;
    }

    /* Hero Section - Better Contrast */
    .about-hero {
        background: var(--ekafa-gradient);
        padding: 100px 20px 80px;
        text-align: center;
        color: var(--text-white);
        position: relative;
        overflow: hidden;
    }

    .about-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

    .about-hero-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .about-badge {
        display: inline-block;
        padding: 0.625rem 1.5rem;
        background: var(--text-white);
        color: var(--ekafa-primary);
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        border: 2px solid var(--text-white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .about-hero h1 {
        font-size: 3.25rem;
        font-weight: 900;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        color: var(--text-white);
        text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .about-hero p {
        font-size: 1.375rem;
        font-weight: 500;
        line-height: 1.8;
        color: var(--text-white);
        text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
    }

    /* Image Section */
    .about-image-section {
        max-width: 1200px;
        margin: -60px auto 80px;
        padding: 0 20px;
        position: relative;
        z-index: 10;
    }

    .about-image-card {
        background: var(--bg-white);
        border-radius: 24px;
        padding: 2rem;
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
        overflow: hidden;
        border: 2px solid rgba(0, 179, 119, 0.2);
    }

    .about-image-card img {
        width: 100%;
        height: auto;
        border-radius: 16px;
        display: block;
    }

    /* Content Section - Enhanced Readability */
    .about-content {
        max-width: 1200px;
        margin: 0 auto 80px;
        padding: 0 20px;
    }

    .content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    .content-text h2 {
        font-size: 2.75rem;
        font-weight: 900;
        color: var(--text-primary);
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .content-text p {
        font-size: 1.125rem;
        color: var(--text-secondary);
        line-height: 1.8;
        margin-bottom: 1.5rem;
        text-align: justify;
        font-weight: 400;
    }

    .highlight-box {
        background: var(--bg-white);
        padding: 2.5rem;
        border-radius: 16px;
        border: 2px solid var(--ekafa-secondary);
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    }

    .highlight-box h3 {
        font-size: 1.75rem;
        font-weight: 800;
        color: var(--ekafa-primary);
        margin-bottom: 1.5rem;
    }

    .highlight-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .highlight-box li {
        padding: 0.875rem 0;
        color: var(--text-primary);
        font-size: 1.0625rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        font-weight: 500;
        border-bottom: 1px solid #e5e7eb;
    }

    .highlight-box li:last-child {
        border-bottom: none;
    }

    .highlight-box li i {
        color: var(--ekafa-secondary);
        font-size: 1.5rem;
        font-weight: bold;
        flex-shrink: 0;
    }

    /* Mission & Vision Section - Better Contrast */
    .mission-vision-section {
        background: var(--bg-lighter);
        padding: 80px 20px;
    }

    .mission-vision-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .mv-card {
        background: var(--bg-white);
        padding: 3rem;
        border-radius: 24px;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease;
        border: 2px solid #e5e7eb;
    }

    .mv-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: var(--ekafa-gradient);
    }

    .mv-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
        border-color: var(--ekafa-secondary);
    }

    .mv-icon {
        width: 80px;
        height: 80px;
        background: var(--ekafa-gradient);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
        color: var(--text-white);
        font-size: 2.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .mv-card h3 {
        font-size: 2.25rem;
        font-weight: 900;
        color: var(--text-primary);
        margin-bottom: 1.5rem;
    }

    .mv-card p {
        font-size: 1.125rem;
        color: var(--text-secondary);
        line-height: 1.8;
        text-align: justify;
        font-weight: 400;
    }

    /* Timeline Section - Enhanced Visibility */
    .timeline-section {
        padding: 80px 20px;
        background: var(--bg-white);
    }

    .timeline-header {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 60px;
    }

    .timeline-header h2 {
        font-size: 2.75rem;
        font-weight: 900;
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

    .timeline-header p {
        font-size: 1.25rem;
        color: var(--text-secondary);
        font-weight: 500;
    }

    .timeline {
        max-width: 900px;
        margin: 0 auto;
        position: relative;
    }

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--ekafa-gradient);
        transform: translateX(-50%);
    }

    .timeline-item {
        display: flex;
        margin-bottom: 3rem;
        position: relative;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .timeline-content {
        width: calc(50% - 40px);
        background: var(--bg-white);
        padding: 2.5rem;
        border-radius: 16px;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        position: relative;
        border: 2px solid #e5e7eb;
    }

    .timeline-item:hover .timeline-content {
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
        border-color: var(--ekafa-secondary);
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: right;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .timeline-marker {
        width: 28px;
        height: 28px;
        background: var(--bg-white);
        border: 5px solid var(--ekafa-primary);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        box-shadow: 0 0 0 8px rgba(0, 56, 41, 0.1);
    }

    .timeline-phase {
        display: inline-block;
        padding: 0.5rem 1rem;
        background: var(--ekafa-gradient);
        color: var(--text-white);
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }

    .timeline-content h4 {
        font-size: 1.625rem;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
    }

    .timeline-content p {
        color: var(--text-secondary);
        line-height: 1.7;
        font-size: 1.0625rem;
        font-weight: 400;
    }

    /* Features Grid - Better Contrast */
    .features-overview {
        padding: 80px 20px;
        background: var(--bg-lighter);
    }

    .features-overview-header {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 60px;
    }

    .features-overview-header h2 {
        font-size: 2.75rem;
        font-weight: 900;
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

    .features-overview-header p {
        font-size: 1.25rem;
        color: var(--text-secondary);
        font-weight: 500;
    }

    .features-grid-about {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .feature-item {
        background: var(--bg-white);
        padding: 2.5rem;
        border-radius: 16px;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        text-align: center;
        transition: all 0.3s ease;
        border: 2px solid #e5e7eb;
    }

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
        border-color: var(--ekafa-secondary);
    }

    .feature-item-icon {
        width: 72px;
        height: 72px;
        background: var(--ekafa-gradient);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        color: var(--text-white);
        font-size: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .feature-item h4 {
        font-size: 1.375rem;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
    }

    .feature-item p {
        font-size: 1.0625rem;
        color: var(--text-secondary);
        line-height: 1.7;
        font-weight: 400;
    }

    /* Animations */
    @keyframes rotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .about-hero h1 {
            font-size: 2.25rem;
        }

        .about-hero p {
            font-size: 1.125rem;
        }

        .content-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .content-text h2 {
            font-size: 2.25rem;
        }

        .mission-vision-container {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .timeline::before {
            left: 20px;
        }

        .timeline-item,
        .timeline-item:nth-child(even) {
            flex-direction: row !important;
        }

        .timeline-content {
            width: calc(100% - 60px);
            margin-left: 60px;
            text-align: left !important;
        }

        .timeline-marker {
            left: 20px;
            transform: none;
        }

        .features-grid-about {
            grid-template-columns: 1fr;
        }

        .mv-card,
        .feature-item,
        .highlight-box {
            padding: 2rem;
        }
    }

/* ==================
   contact.php Styles
   ================== */

/* ==========================
       Modern Contact Page Styles
       ========================== */
    
    :root {
        --ekafa-primary: #003829;
        --ekafa-primary-light: #00563d;
        --ekafa-secondary: #00b377;
        --ekafa-gradient: linear-gradient(135deg, #003829 0%, #00563d 100%);
        --text-dark: #111827;
        --text-light: #6b7280;
        --white: #ffffff;
    }

    .contact-page {
        background: white;
        padding-bottom: 60px;
    }

    /* Hero Section */
    .contact-hero {
        background: var(--ekafa-gradient);
        padding: 80px 20px 60px;
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .contact-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

    .contact-hero-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .contact-badge {
        display: inline-block;
        padding: 0.5rem 1.5rem;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .contact-hero h1 {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 1rem;
        line-height: 1.2;
        color: var(--text-white);
    }

    .contact-hero p {
        font-size: 1.25rem;
        opacity: 0.95;
        line-height: 1.8;
        color: var(--text-white);
    }

    /* Main Content */
    .contact-content {
        max-width: 1200px;
        margin: -40px auto 60px;
        padding: 0 20px;
        position: relative;
        z-index: 10;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Contact Info Card */
    .contact-info-card {
        background: white;
        border-radius: 24px;
        padding: 3rem;
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .contact-info-card h2 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 1.5rem;
    }

    .contact-info-card p {
        font-size: 1rem;
        color: var(--text-light);
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    /* Contact Item */
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        border-radius: 16px;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
        border-left: 4px solid var(--ekafa-secondary);
    }

    .contact-item:hover {
        transform: translateX(5px);
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    }

    .contact-item-icon {
        width: 56px;
        height: 56px;
        background: white;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ekafa-primary);
        font-size: 1.75rem;
        flex-shrink: 0;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    }

    .contact-item-content {
        flex: 1;
    }

    .contact-item-label {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }

    .contact-item-text {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--text-dark);
        margin: 0;
        word-break: break-word;
    }

    .contact-item-text a {
        color: var(--text-dark);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-item-text a:hover {
        color: var(--ekafa-secondary);
    }

    /* Map Card */
    .map-card {
        background: white;
        border-radius: 24px;
        padding: 2rem;
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .map-card h3 {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 1.5rem;
    }

    .map-container {
        width: 100%;
        height: 450px;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    /* Office Hours */
    .office-hours {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        padding: 2rem;
        border-radius: 16px;
        margin-top: 2rem;
        border-left: 4px solid var(--ekafa-secondary);
    }

    .office-hours h4 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--ekafa-primary);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .office-hours-grid {
        display: grid;
        gap: 0.75rem;
    }

    .office-hours-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 56, 41, 0.1);
    }

    .office-hours-item:last-child {
        border-bottom: none;
    }

    .office-hours-day {
        font-weight: 600;
        color: var(--text-dark);
        font-size: 1rem;
    }

    .office-hours-time {
        color: var(--text-light);
        font-weight: 500;
        font-size: 1rem;
    }

    /* Social Media Section */
    .social-section {
        background: linear-gradient(180deg, white 0%, #f9fafb 100%);
        padding: 60px 20px;
    }

    .social-container {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .social-container h3 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 1rem;
    }

    .social-container p {
        font-size: 1.125rem;
        color: var(--text-light);
        margin-bottom: 2.5rem;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .social-link {
        width: 64px;
        height: 64px;
        background: white;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ekafa-primary);
        font-size: 1.75rem;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        border: 2px solid transparent;
    }

    .social-link:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
        border-color: var(--ekafa-secondary);
        color: var(--ekafa-secondary);
    }

    /* Animations */
    @keyframes rotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .contact-hero h1 {
            font-size: 2rem;
        }

        .contact-grid {
            grid-template-columns: 1fr;
        }

        .contact-info-card,
        .map-card {
            padding: 2rem;
        }

        .map-container {
            height: 300px;
        }

        .contact-item {
            padding: 1.25rem;
        }

        .contact-item-icon {
            width: 48px;
            height: 48px;
            font-size: 1.5rem;
        }
    }

/* ==================
   select_roles.php Styles
   ================== */

/* Ensure CSS variables are available */
:root {
    --ekafa-primary: #004135;
    --ekafa-primary-light: #11684d;
    --ekafa-gray-900: #111827;
    --ekafa-gray-600: #4b5563;
    --ekafa-gray-200: #e5e7eb;
    --ekafa-gray-100: #f3f4f6;
    --radius-xl: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-md: 1rem;
    --transition-base: 250ms ease-in-out;
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Role Grid Specific Styles */
.role-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 0.5rem;
    color: var(--ekafa-gray-900);
    transition: color var(--transition-base);
}

.role-description {
    font-size: 0.875rem;
    color: var(--ekafa-gray-600);
    margin-top: 0.25rem;
}

.role-card-modern:hover .role-title {
    color: var(--ekafa-primary);
}

.back-link {
    color: var(--ekafa-gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-base);
}

.back-link:hover {
    color: var(--ekafa-primary);
}

