/* ═══════════════════════════════════════════════════════════
   CAREER PAGE — Premium Redesign
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    background-color: #F5FFF7;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.35);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.btn-outline {
    background: transparent;
    color: #2E7D32;
    border: 2px solid #2E7D32;
    box-shadow: none;
}

.btn-outline::after {
    display: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

/* ── Section Titles ──────────────────────────────────────── */
.section-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #1a2e1d;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2E7D32, #66BB6A);
    border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 30%, #43A047 60%, #A5D6A7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="8" fill="white" opacity="0.06"/><circle cx="40" cy="30" r="12" fill="white" opacity="0.06"/></svg>');
    opacity: 0.5;
}

/* Decorative floating blobs */
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: heroBlob 8s ease-in-out infinite;
}

@keyframes heroBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.1); }
}

.hero .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1 1 400px;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-buttons .btn {
    background: white;
    color: #2E7D32;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-buttons .btn:hover {
    background: #f0f0f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.8);
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: #2E7D32;
    border-color: white;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   WHY WORK WITH US
   ══════════════════════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.why-card {
    background: white;
    border-radius: 20px;
    padding: 35px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid rgba(46, 125, 50, 0.06);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E7D32, #66BB6A);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
    transform-origin: left;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.12);
}

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

.why-card i {
    font-size: 2.5rem;
    color: #2E7D32;
    margin-bottom: 18px;
    display: inline-block;
    width: 68px;
    height: 68px;
    line-height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    transition: transform 0.3s;
}

.why-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a2e1d;
}

.why-card p {
    color: #6b7c6d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   OPEN POSITIONS — Filter Bar
   ══════════════════════════════════════════════════════════ */
#open-positions {
    background: linear-gradient(180deg, #F5FFF7 0%, #EDF7EE 100%);
}

.filter-bar {
    background: white;
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(46, 125, 50, 0.08);
    transition: box-shadow 0.3s;
}

.filter-bar:focus-within {
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.1);
}

.search-box {
    flex: 2 1 250px;
    display: flex;
    align-items: center;
    background: #f7faf8;
    border-radius: 14px;
    padding: 0 16px;
    border: 1.5px solid #e8ede9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box:focus-within {
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.08);
}

.search-box i {
    color: #9aaa9c;
    font-size: 0.95rem;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 13px 10px;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.search-box input::placeholder {
    color: #a0b0a2;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-select {
    padding: 10px 20px;
    border-radius: 12px;
    border: 1.5px solid #e0e8e1;
    background: #f7faf8;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    color: #4a5a4c;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: auto;
}

.filter-select:focus {
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.08);
}

/* ── Active filter count badge ────────────────────────── */
.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 28px;
    height: 28px;
    border-radius: 50px;
    padding: 0 10px;
    animation: badgePop 0.3s cubic-bezier(.4, 0, .2, 1);
}

@keyframes badgePop {
    0% { transform: scale(0); }
    80% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ══════════════════════════════════════════════════════════
   OPEN POSITIONS — Job Cards Grid
   ══════════════════════════════════════════════════════════ */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.job-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid rgba(46, 125, 50, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2E7D32, #66BB6A, #A5D6A7);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
    transform-origin: left;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.12);
}

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

/* ── Job Card: Header row ─────────────────────────────── */
.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.job-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.job-card:hover .job-icon {
    transform: scale(1.08) rotate(-3deg);
}

.job-icon i {
    font-size: 1.2rem;
    color: #2E7D32;
}

.job-card-header-text {
    flex: 1;
    min-width: 0;
}

/* ── Tags ──────────────────────────────────────────────── */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-dept {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
}

.tag-type {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
}

.tag-location {
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
    color: #7B1FA2;
}

.tag-default {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
}

/* ── Job Title ─────────────────────────────────────────── */
.job-title {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #1a2e1d;
    line-height: 1.3;
    font-weight: 700;
}

/* ── Job Meta (location, type, salary) ─────────────────── */
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 14px 0;
    font-size: 0.88rem;
    color: #6b7c6d;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    color: #43A047;
    font-size: 0.85rem;
    width: auto;
}

/* ── Job Description ───────────────────────────────────── */
.job-desc {
    color: #5a6b5c;
    margin-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.65;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Job Card Footer: Deadline + Buttons ───────────────── */
.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f4f1;
}

.job-deadline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #94a396;
}

.job-deadline i {
    color: #43A047;
    font-size: 0.8rem;
}

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

.job-buttons .btn {
    padding: 9px 20px;
    font-size: 0.88rem;
    border-radius: 12px;
}

.job-buttons .btn-outline {
    border-width: 1.5px;
}

/* ── No jobs message ───────────────────────────────────── */
.no-jobs-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #8a9a8c;
}

.no-jobs-message i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: #c8d8ca;
}

.no-jobs-message h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #5a6b5c;
    font-weight: 600;
}

.no-jobs-message p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   VIEW DETAILS MODAL — Premium Redesign
   ══════════════════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 20, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    animation: modalSlideIn 0.45s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(46, 125, 50, 0.05);
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c8d8ca;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a0b0a2;
}

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

/* ── Close button ──────────────────────────────────────── */
.close-modal {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0,0,0,0.05);
    font-size: 1.4rem;
    cursor: pointer;
    color: #888;
    transition: all 0.3s;
    z-index: 10;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════
   VIEW DETAILS MODAL — Inner Structure
   ═══════════════════════════════════════════════════════ */

/* ── Modal Header / Banner ─────────────────────────────── */
.modal-job-header {
    background: linear-gradient(135deg, #1B5E20, #2E7D32, #43A047);
    padding: 36px 36px 28px;
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.modal-job-header::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
    top: -60px;
    right: -40px;
    border-radius: 50%;
}

.modal-job-header::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    bottom: -30px;
    left: 20px;
    border-radius: 50%;
}

.modal-job-title {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    line-height: 1.3;
    padding-right: 40px;
}

.modal-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.modal-meta-item i {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* ── Modal Body ────────────────────────────────────────── */
.modal-job-body {
    padding: 32px 36px 36px;
}

/* ── Status badge row ──────────────────────────────────── */
.modal-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-active {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
}

.status-active::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2E7D32;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-closed {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    color: #C62828;
}

.status-deadline {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    color: #F57F17;
}

/* ── Section headings inside modal ─────────────────────── */
.modal-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2e1d;
    margin-bottom: 14px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section-title i {
    color: #43A047;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E8F5E9;
    border-radius: 10px;
}

.modal-section-title:first-child {
    margin-top: 0;
}

/* ── About Role description ────────────────────────────── */
.modal-about-text {
    color: #5a6b5c;
    font-size: 0.95rem;
    line-height: 1.75;
    padding: 16px 20px;
    background: #f9fcfa;
    border-radius: 14px;
    border-left: 3px solid #43A047;
}

/* ── Responsibility / Requirement lists ────────────────── */
.modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-list li {
    padding: 10px 16px 10px 42px;
    position: relative;
    font-size: 0.93rem;
    color: #4a5a4c;
    line-height: 1.6;
    border-radius: 10px;
    transition: background 0.2s;
}

.modal-list li:hover {
    background: #f5faf6;
}

.modal-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #43A047, #66BB6A);
}

/* ── Modal Footer: Apply button row ────────────────────── */
.modal-job-footer {
    padding: 24px 36px 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid #f0f4f1;
}

.modal-job-footer .btn {
    padding: 13px 32px;
    font-size: 1rem;
    border-radius: 14px;
}

.modal-share-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5faf6;
    border: 1.5px solid #e0e8e1;
    color: #6b7c6d;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.modal-share-btn:hover {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: #C8E6C9;
}

/* ══════════════════════════════════════════════════════════
   APPLICATION FORM MODAL
   ══════════════════════════════════════════════════════════ */
.apply-modal-content {
    max-width: 720px;
    padding: 0;
}

.apply-modal-header {
    text-align: center;
    padding: 36px 36px 20px;
    border-bottom: 1px solid #f0f4f1;
}

.apply-modal-header > i {
    font-size: 2.2rem;
    color: #2E7D32;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
}

.apply-modal-header h2 {
    font-size: 1.5rem;
    color: #1a2e1d;
    margin-bottom: 6px;
}

.apply-modal-subtitle {
    font-size: 0.9rem;
    color: #94a396;
}

#applicationForm {
    padding: 28px 36px 36px;
}

/* ── Form Elements ─────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #3a4a3c;
}

.form-group label i {
    color: #43A047;
    width: 18px;
    margin-right: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #e0e8e1;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f9fcfa;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #43A047;
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
    outline: none;
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0b0a2;
}

.form-group textarea {
    border-radius: 16px;
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #94a396;
}

.form-hint i {
    margin-right: 4px;
    color: #43A047;
}

/* ── File Upload Area ──────────────────────────────────── */
.file-upload {
    border: 2px dashed #d0dcd2;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #94a396;
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    background: #f9fcfa;
}

.file-upload:hover {
    border-color: #43A047;
    background: #f0faf2;
    color: #2E7D32;
    transform: translateY(-1px);
}

.file-upload.uploaded {
    border-color: #43A047;
    border-style: solid;
    background: linear-gradient(135deg, #E8F5E9, #f0faf2);
    color: #2E7D32;
}

.file-upload.uploaded i {
    color: #2E7D32;
}

/* ── Submit Button ─────────────────────────────────────── */
.apply-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    border-radius: 16px;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   LIFE AT GTF — Image Grid
   ══════════════════════════════════════════════════════════ */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1), box-shadow 0.4s;
}

.image-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ══════════════════════════════════════════════════════════
   VOLUNTEER BLOCK
   ══════════════════════════════════════════════════════════ */
.volunteer-block {
    background: linear-gradient(135deg, #2E7D32, #43A047, #66BB6A);
    border-radius: 30px;
    padding: 55px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.volunteer-block::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    top: -80px;
    right: -60px;
    border-radius: 50%;
}

.volunteer-block h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
}

.volunteer-block .btn {
    background: white;
    color: #2E7D32;
    margin-top: 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.volunteer-block .btn:hover {
    background: #f0f0f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 20px 22px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #1a2e1d;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #2E7D32;
}

.faq-question i {
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    color: #43A047;
    font-size: 0.9rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: #5a6b5c;
    line-height: 1.7;
    transition: max-height 0.35s ease, padding 0.35s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 22px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: rgba(46, 125, 50, 0.15);
}

/* ══════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════ */
.final-cta {
    background: linear-gradient(135deg, #1B5E20, #2E7D32, #43A047);
    border-radius: 30px;
    padding: 65px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    bottom: -100px;
    left: -50px;
    border-radius: 50%;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.final-cta .btn {
    background: white;
    color: #2E7D32;
    font-size: 1.15rem;
    padding: 15px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
}

.final-cta .btn:hover {
    background: #f0f0f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
    background: #1B3B1F;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS — Entrance (intersection observer)
   ══════════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grid children */
.animate-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.animate-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.animate-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.animate-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.animate-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.animate-stagger > *:nth-child(6) { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

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

    .final-cta {
        padding: 50px 30px;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .volunteer-block {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-bar {
        border-radius: 18px;
        padding: 16px 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-box {
        flex: none;
    }

    .filter-group {
        justify-content: stretch;
    }

    .filter-select {
        flex: 1;
        min-width: 0;
    }

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

    /* Modal responsiveness */
    .modal {
        padding: 10px;
        align-items: flex-end;
    }

    .modal-content {
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
        animation: modalSlideUp 0.4s cubic-bezier(.4, 0, .2, 1);
    }

    @keyframes modalSlideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .modal-job-header {
        padding: 28px 22px 22px;
    }

    .modal-job-title {
        font-size: 1.35rem;
    }

    .modal-job-meta {
        gap: 10px;
    }

    .modal-meta-item {
        font-size: 0.82rem;
        padding: 5px 12px;
    }

    .modal-job-body {
        padding: 24px 22px 28px;
    }

    .modal-job-footer {
        padding: 20px 22px 28px;
    }

    .apply-modal-header {
        padding: 28px 22px 16px;
    }

    #applicationForm {
        padding: 22px 22px 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

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

    .filter-group {
        flex-direction: column;
    }

    .job-card {
        padding: 22px 18px;
    }

    .job-card-header {
        gap: 12px;
    }

    .job-title {
        font-size: 1.15rem;
    }

    .final-cta {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .final-cta h2 {
        font-size: 1.7rem;
    }

    .volunteer-block {
        border-radius: 20px;
        padding: 35px 20px;
    }
}