/* ========================================
   InDevJobs.org - New Design
   Brand Colors: Red (#CC2936) + Dark Navy (#1A2E5A)
   ======================================== */

:root {
    --red: #CC2936;
    --red-dark: #a8212c;
    --red-light: #f8d7da;
    --navy: #1A2E5A;
    --navy-dark: #0f1d3a;
    --navy-light: #2a4478;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.6rem 1.2rem; border-radius: var(--radius);
    font-weight: 600; font-size: 0.875rem;
    border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--navy); background: var(--gray-50); }
.btn-search {
    background: var(--red); color: var(--white);
    padding: 0.8rem 2rem; font-size: 1rem; font-weight: 700;
    border-radius: var(--radius);
}
.btn-search:hover { background: var(--red-dark); }
.btn-sm {
    padding: 0.35rem 0.8rem; font-size: 0.75rem;
    background: var(--navy); color: var(--white);
    border-radius: 6px; font-weight: 600;
}
.btn-sm:hover { background: var(--navy-light); }

/* ========================================
   Top Bar - Existing Site Menu Retained
   ======================================== */
.top-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
}
.top-bar-inner {
    display: flex; align-items: center;
    justify-content: space-between; height: 60px;
}
.logo img { height: 70px; }

.main-nav { display: flex; gap: 0.25rem; align-items: center; }
.main-nav a {
    font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
    padding: 0.5rem 1rem; border-radius: var(--radius);
    transition: all 0.2s;
}
.main-nav a:hover { color: var(--navy); background: var(--gray-50); }
.main-nav .nav-cta {
    background: var(--red); color: var(--white);
    font-weight: 600; border-radius: var(--radius);
    margin-right: 0.5rem;
}
.main-nav .nav-cta:hover { background: var(--red-dark); }

.top-bar-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Login Dropdown */
.login-dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute;
    top: calc(100% + 8px); right: 0;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); min-width: 200px;
    overflow: hidden; z-index: 200;
    border: 1px solid var(--gray-200);
}
.dropdown-menu.show { display: block; }
.dropdown-menu a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.75rem 1rem; font-size: 0.875rem;
    color: var(--gray-700); transition: all 0.15s;
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--navy); }
.dropdown-menu a i { width: 18px; text-align: center; color: var(--red); }

/* ========================================
   Plant a Tree – Green Strip Banner
   ======================================== */
.campaign-banner {
    position: relative;
    overflow: hidden;
}
.campaign-bg {
    position: absolute;
    inset: 0;
    background: url('/images/haritanjali-banner.jpg') center/cover no-repeat;
    z-index: 0;
}
.campaign-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 80, 30, 0.7);
}
.campaign-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2.5rem 0.5rem 1.25rem;
    gap: 1rem;
}
.campaign-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}
.campaign-tree-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.campaign-left strong {
    font-weight: 700;
}
.campaign-dash {
    margin: 0 0.15rem;
    opacity: 0.7;
}
.campaign-cta {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #4caf50;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s;
}
.campaign-cta:hover {
    background: #388e3c;
}
.campaign-close {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    z-index: 2;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}
.campaign-close:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .campaign-inner {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem 2rem 0.75rem 1rem;
    }
    .campaign-left { justify-content: center; }
    .campaign-dash { display: none; }
}

/* ========================================
   Hero Section - Background Photo
   ======================================== */
.hero {
    background:
        linear-gradient(135deg, rgba(0,30,0,0.55) 0%, rgba(0,40,0,0.45) 50%, rgba(0,30,0,0.55) 100%),
        url('/images/haritanjali-banner.jpg?v=2') center/cover no-repeat;
    position: relative;
    padding: 3.5rem 0 4rem;
    overflow: hidden;
}
.hero-overlay { display: none; }
.hero-content { position: relative; text-align: center; z-index: 2; }
.hero h1 {
    color: var(--white); font-size: 2.2rem; font-weight: 700;
    margin-bottom: 2rem; max-width: 700px;
    margin-left: auto; margin-right: auto; line-height: 1.3;
}

/* Search Tabs */
.search-tabs {
    display: inline-flex;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden; margin-bottom: 0;
}
.search-tab {
    padding: 0.75rem 1.5rem; background: transparent; border: none;
    color: rgba(255,255,255,0.7); font-size: 0.95rem;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
    font-family: inherit;
}
.search-tab:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.search-tab.active { background: var(--white); color: var(--navy); }

/* Search Box */
.search-box {
    display: flex; background: var(--white);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    padding: 0.75rem; gap: 0;
    box-shadow: var(--shadow-lg); max-width: 900px; margin: 0 auto;
}
.search-field {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; flex: 1;
    border-right: 1px solid var(--gray-200);
}
.search-field:last-of-type { border-right: none; }
.search-field i { color: var(--gray-400); font-size: 0.9rem; }
.search-field input,
.search-field select {
    border: none; outline: none; font-size: 0.9rem;
    font-family: inherit; color: var(--gray-700);
    width: 100%; background: transparent;
}
.search-field select { cursor: pointer; -webkit-appearance: none; }

/* ========================================
   Main Content Grid
   ======================================== */
.main-content { padding: 2rem 0 1rem; }
.main-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.5rem; align-items: start;
}
.content-left { min-width: 0; }
.content-right { min-width: 0; width: 100%; }

/* Section Headers */
.section-header {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 1rem;
}
.section-header h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.view-all {
    font-size: 0.85rem; font-weight: 600; color: var(--red);
    display: flex; align-items: center; gap: 0.3rem;
}
.view-all:hover { color: var(--red-dark); }

/* ========================================
   Job Card Grid - 3 Column (matching current site)
   ======================================== */
.job-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.job-card-top {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    min-height: 55px;
}

.job-card-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    object-fit: contain;
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
    background: var(--white);
    padding: 3px;
}

.job-card-info { flex: 1; min-width: 0; }
.job-card-info h3 {
    font-size: 0.85rem; font-weight: 600;
    line-height: 1.4; margin-bottom: 0.2rem;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.job-card-info h3 a { color: var(--navy); }
.job-card-info h3 a:hover { color: var(--red); }

.job-card-org {
    font-size: 0.78rem; color: var(--gray-600);
    display: block;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.job-card-details {
    display: flex; flex-direction: column; gap: 0.3rem;
    margin-bottom: 0.75rem; flex: 1;
}
.job-card-details span {
    font-size: 0.75rem; color: var(--gray-600);
    display: flex; align-items: center; gap: 0.4rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.job-card-details i { font-size: 0.7rem; color: var(--gray-400); width: 14px; }

.job-card-footer {
    padding-top: 0.6rem;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}
.job-card-footer span {
    font-size: 0.75rem; font-weight: 600;
    color: var(--red);
}

/* Show More Button */
.show-more {
    text-align: center; margin-top: 1rem;
}
.show-more-btn {
    width: 48px; height: 48px;
    border-radius: 50% !important;
    justify-content: center;
    font-size: 1rem;
}

/* ========================================
   Funding Opportunities - Card List Layout
   ======================================== */
.funding-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.funding-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    transition: all 0.25s;
    position: relative;
    border-left: 4px solid var(--navy);
}
.funding-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--red);
    transform: translateX(2px);
}

.funding-badge {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}
.badge-status, .badge-type {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.badge-status.open {
    background: #d4edda;
    color: #155724;
}
.badge-status.upcoming {
    background: #fff3cd;
    color: #856404;
}
.badge-status.closed {
    background: var(--red-light);
    color: var(--red-dark);
}
.badge-type.grant {
    background: #d1ecf1;
    color: #0c5460;
}
.badge-type.contract {
    background: #e2d9f3;
    color: #4a2d82;
}

.funding-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}
.funding-card h3 a { color: var(--navy); }
.funding-card h3 a:hover { color: var(--red); }

.funding-org {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}
.funding-org i {
    color: var(--navy);
    font-size: 0.8rem;
    width: 16px;
}

.funding-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.6rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.funding-meta span {
    font-size: 0.82rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}
.funding-meta i {
    color: var(--red);
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
}

.funding-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0.6rem 0;
}

.funding-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.funding-tags span {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--gray-700);
    transition: all 0.2s;
}
.funding-tags span:hover {
    background: var(--navy);
    color: var(--white);
}

/* ========================================
   Scholarships - 2-Column Card Grid
   ======================================== */
.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.scholarship-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.scholarship-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--navy-light));
    transition: background 0.3s;
}
.scholarship-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.scholarship-card:hover::before {
    background: linear-gradient(90deg, var(--red), var(--red-dark));
}

.scholarship-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}
.scholarship-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.scholarship-card:hover .scholarship-icon {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.scholarship-level {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: var(--navy);
    color: var(--white);
}

.scholarship-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}
.scholarship-card h3 a { color: var(--navy); }
.scholarship-card h3 a:hover { color: var(--red); }

.scholarship-provider {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.scholarship-provider i {
    color: var(--navy);
    font-size: 0.75rem;
    width: 14px;
}

.scholarship-desc {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 0.6rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scholarship-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--gray-100);
}
.scholarship-details span {
    font-size: 0.78rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}
.scholarship-details i {
    color: var(--red);
    font-size: 0.7rem;
    width: 13px;
    text-align: center;
}

.scholarship-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.scholarship-fields span {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(26,46,90,0.08), rgba(26,46,90,0.04));
    color: var(--navy);
    border: 1px solid rgba(26,46,90,0.12);
    transition: all 0.2s;
}
.scholarship-fields span:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ========================================
   Sidebar / Portlets
   ======================================== */
.portlet {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); overflow: hidden;
    margin-bottom: 1.5rem;
    word-wrap: break-word; overflow-wrap: break-word;
}
.portlet-title {
    font-size: 1rem; font-weight: 700; color: var(--navy);
    padding: 1rem 1.2rem;
    border-bottom: 2px solid var(--red);
    background: var(--gray-50);
}

/* Articles */
.article-card { border-bottom: 1px solid var(--gray-100); }
.article-card:last-of-type { border-bottom: none; }
.article-body { padding: 0.8rem 1.2rem 1rem; }
.article-body h4 {
    font-size: 0.85rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    word-wrap: break-word; overflow-wrap: break-word;
}
.article-body h4 a { color: var(--gray-800); }
.article-body h4 a:hover { color: var(--red); }

.article-category {
    display: inline-block; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--red); background: var(--red-light);
    padding: 0.15rem 0.5rem; border-radius: 4px;
    margin-bottom: 0.4rem;
}

.article-author { display: flex; align-items: center; gap: 0.5rem; }
.author-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.author-name { font-size: 0.78rem; font-weight: 600; color: var(--gray-700); display: block; }
.article-date { font-size: 0.72rem; color: var(--gray-500); }

.portlet-view-all {
    display: block; text-align: center;
    padding: 0.75rem 1.2rem; font-size: 0.82rem;
    font-weight: 600; color: var(--red);
    border-top: 1px solid var(--gray-100); transition: all 0.2s;
}
.portlet-view-all:hover { background: var(--gray-50); color: var(--red-dark); }
.portlet-view-all i { margin-left: 0.2rem; font-size: 0.7rem; }

/* Premium Jobs */
.premium-job-card {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}
.premium-job-card:last-of-type { border-bottom: none; }
.premium-job-card:hover { background: var(--gray-50); }
.premium-job-top {
    display: flex; align-items: center; gap: 0.6rem;
    margin-bottom: 0.35rem;
}
.premium-job-logo {
    width: 36px; height: 36px; border-radius: 6px;
    object-fit: contain; flex-shrink: 0;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
}
.premium-job-info { flex: 1; min-width: 0; }
.premium-job-info h4 {
    font-size: 0.83rem; font-weight: 600; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    word-wrap: break-word; overflow-wrap: break-word;
}
.premium-job-info h4 a { color: var(--gray-800); }
.premium-job-info h4 a:hover { color: var(--red); }
.premium-job-org {
    font-size: 0.75rem; color: var(--gray-600);
    display: block; margin-top: 0.1rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.premium-job-meta {
    display: flex; gap: 0.75rem; flex-wrap: wrap;
    font-size: 0.72rem; color: var(--gray-500);
    padding-left: 2.6rem;
}
.premium-job-meta i { font-size: 0.65rem; margin-right: 0.2rem; }

/* Featured Candidates / Premium Profiles */
.seeker-card {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}
.seeker-card:last-child { border-bottom: none; }
.seeker-card:hover { background: var(--gray-50); }
.seeker-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 2px solid var(--gray-200);
}
.seeker-info { flex: 1; min-width: 0; }
.seeker-info h4 { font-size: 0.85rem; font-weight: 600; color: var(--gray-800); }
.seeker-title { font-size: 0.78rem; color: var(--navy); font-weight: 500; display: block; }
.seeker-location {
    font-size: 0.72rem; color: var(--gray-500);
    display: flex; align-items: center; gap: 0.25rem;
}
.seeker-location i { font-size: 0.65rem; }

/* ========================================
   Partners - Auto-scrolling Marquee
   ======================================== */
.partners-section {
    background: var(--white); padding: 2.5rem 0;
    border-top: 1px solid var(--gray-200);
    overflow: hidden;
}
.section-title {
    text-align: center; font-size: 1.2rem;
    font-weight: 700; color: var(--navy); margin-bottom: 1.5rem;
}
.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 80px;
    z-index: 2; pointer-events: none;
}
.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}
.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}
.partners-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}
.partners-track img {
    height: 50px;
    flex-shrink: 0;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Role Cards - Now Positioned Lower
   ======================================== */
.role-cards-section {
    padding: 2.5rem 0;
    background: var(--gray-50);
}
.role-cards {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.role-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.5rem; text-align: center;
    box-shadow: var(--shadow-md); transition: all 0.25s;
    border: 2px solid transparent;
}
.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg); border-color: var(--red);
}
.role-icon {
    width: 50px; height: 50px; border-radius: 50%;
    background: transparent;
    color: var(--red); display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 0.75rem;
}
.role-card:hover .role-icon { color: var(--navy); }
.role-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.role-card p { font-size: 0.8rem; color: var(--gray-600); }

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--white); padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
}
.about-inner { display: flex; align-items: center; gap: 3rem; }
.about-text { flex: 1; }
.about-text h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.about-text p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 0.75rem; }
.about-image {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.about-image i { font-size: 4rem; color: rgba(255,255,255,0.3); }

/* ========================================
   Footer Illustration Backgrounds - Development Theme
   ======================================== */
.footer-illustrations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.footer-illust {
    position: absolute;
    color: rgba(204,41,54,0.12);
}
.illust-1 { width: 160px; top: 8px; left: 0%; opacity: 0.7; }
.illust-2 { width: 140px; top: 5px; left: 20%; opacity: 0.5; }
.illust-3 { width: 150px; bottom: 10px; left: 42%; opacity: 0.6; }
.illust-4 { width: 140px; top: 10px; right: 15%; opacity: 0.55; }
.illust-5 { width: 160px; bottom: 5px; right: 0%; opacity: 0.7; }

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex; align-items: center;
    justify-content: center; gap: 0.5rem;
    margin-top: 1rem; padding: 1rem 0;
}
.page-link {
    display: inline-flex; align-items: center;
    justify-content: center; min-width: 36px; height: 36px;
    padding: 0 0.75rem; border-radius: var(--radius);
    font-size: 0.85rem; font-weight: 600;
    color: var(--gray-700); background: var(--white);
    border: 1px solid var(--gray-200); transition: all 0.2s;
}
.page-link:hover { border-color: var(--navy); color: var(--navy); }
.page-link.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7); padding: 3rem 0 0;
    position: relative; overflow: hidden;
}
.footer-grid {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 0.8fr 0.8fr 1fr;
    gap: 1.25rem; position: relative; z-index: 1;
}
.footer-logo { height: 42px; margin-bottom: 1rem; }
.site-footer p { font-size: 0.85rem; line-height: 1.6; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a,
.footer-col .social-links a {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex !important; align-items: center; justify-content: center;
    color: #ffffff !important; font-size: 1rem; transition: all 0.2s;
    padding: 0;
}
.social-links a:hover { opacity: 0.85; transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col a {
    display: block; font-size: 0.85rem;
    color: rgba(255,255,255,0.6); padding: 0.3rem 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem; padding: 1.25rem 0; text-align: center;
    position: relative; z-index: 1;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .main-grid { grid-template-columns: 1fr; }
    .job-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .funding-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scholarship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero h1 { font-size: 1.6rem; }
    .campaign-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
    .campaign-content { flex-direction: column; gap: 0.3rem; }
    .campaign-close { right: 0.5rem; }
    .search-box { flex-direction: column; gap: 0; }
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    .search-field:last-of-type { border-bottom: none; }
    .btn-search { width: 100%; justify-content: center; }
    .role-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .search-tabs {
        flex-direction: column;
        border-radius: var(--radius); margin-bottom: 0.5rem;
    }
    .search-box { border-radius: var(--radius); }
    .about-inner { flex-direction: column; text-align: center; }
    .about-image { display: none; }
    .job-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scholarship-grid { grid-template-columns: 1fr; }
    .funding-meta { gap: 0.5rem; }
    .funding-card { padding: 1rem 1.2rem; }
}

@media (max-width: 480px) {
    .role-cards { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .role-card { padding: 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar-inner { gap: 0.5rem; }
    .job-card-grid { grid-template-columns: 1fr; }
    .funding-list { grid-template-columns: 1fr; }
    .scholarship-grid { grid-template-columns: 1fr; }
    .funding-meta { flex-direction: column; gap: 0.3rem; }
}
