/* ================================
   FACULTY PAGE CSS
   Save as: /Emitrust/css/faculty.css
   Faculty accent color via --fac on .fac-hero
   ================================ */

/* ── Hero ─────────────────────────────── */
.fac-hero {
    background: var(--fac, #06AAC5);
    padding: 120px 0 64px;
    position: relative;
    overflow: hidden;
}

.fac-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    pointer-events: none;
}

.fac-hero .container { position: relative; z-index: 1; }

.fac-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.fac-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.fac-breadcrumb a:hover { color: #fff; }

.fac-breadcrumb i {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
}

.fac-breadcrumb span {
    color: #fff;
    font-weight: 700;
}

.fac-hero-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.fac-hero-icon i {
    font-size: 32px;
    color: #fff;
}

.fac-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.fac-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.fac-hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fac-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
}

/* ── Search bar ───────────────────────── */
.fac-search-bar {
    background: #fff;
    border-bottom: 1px solid #E8E8E5;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.fac-search-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fac-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.fac-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9A9A9A;
    font-size: 15px;
    pointer-events: none;
}

.fac-search-wrap input {
    width: 100%;
    border: 1px solid #E8E8E5;
    border-radius: 0;
    padding: 10px 14px 10px 40px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.15s;
}

.fac-search-wrap input:focus {
    border-color: #06AAC5;
}

.fac-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fac-pill {
    border: 1px solid #E8E8E5;
    background: #fff;
    color: #5A5A5A;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fac-pill:hover {
    background: #F5F5F3;
    color: #0D0D0D;
}

.fac-pill.active {
    background: #0D0D0D;
    border-color: #0D0D0D;
    color: #fff;
}

/* ── Section heading ──────────────────── */
.fac-section-head {
    margin-bottom: 40px;
}

.fac-section-head h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0D0D0D;
    margin-bottom: 6px;
}

.fac-section-head p {
    font-size: 14px;
    color: #9A9A9A;
}

/* ── Projects ─────────────────────────── */
.fac-projects {
    padding: 64px 0;
    background: #F5F5F3;
}

.fac-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E8E8E5;
    border-left: 3px solid transparent;
    padding: 28px;
    height: 100%;
    transition: border-color 0.15s, background 0.15s;
}

.fac-card:hover {
    border-left-color: var(--fac-card, #06AAC5);
    background: #fafafa;
    text-decoration: none;
}

.fac-card-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #0D0D0D;
    padding: 4px 10px;
    margin-bottom: 16px;
}

.fac-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0D0D0D;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 67px;
}

.fac-card-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #E8E8E5;
    border-bottom: 1px solid #E8E8E5;
    margin-bottom: 16px;
}

.fac-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.fac-stat i {
    font-size: 16px;
    color: #06AAC5;
}

.fac-stat span {
    font-size: 11px;
    color: #9A9A9A;
    font-weight: 600;
}

.fac-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fac-price {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0D0D0D;
}

.fac-arrow {
    width: 36px;
    height: 36px;
    background: #F5F5F3;
    border: 1px solid #E8E8E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #9A9A9A;
    transition: background 0.15s, color 0.15s;
}

.fac-card:hover .fac-arrow {
    background: #0D0D0D;
    border-color: #0D0D0D;
    color: #fff;
}

/* ── Empty state ──────────────────────── */
.fac-empty {
    text-align: center;
    padding: 80px 20px;
    color: #9A9A9A;
}

.fac-empty i {
    font-size: 56px;
    display: block;
    margin-bottom: 16px;
    color: #E8E8E5;
}

.fac-empty h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #5A5A5A;
    margin-bottom: 8px;
}

.fac-empty p { font-size: 14px; }

/* ── Other faculties ──────────────────── */
.fac-others {
    padding: 64px 0;
    background: #fff;
}

.fac-other-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E8E8E5;
    padding: 28px 20px;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
}

.fac-other-card:hover {
    border-color: #0D0D0D;
    background: #F5F5F3;
    text-decoration: none;
}

.fac-other-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.fac-other-icon i {
    font-size: 24px;
    color: #fff;
}

.fac-other-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #0D0D0D;
    margin-bottom: 4px;
}

.fac-other-card p {
    font-size: 12px;
    color: #9A9A9A;
    margin-bottom: 12px;
}

.fac-other-arrow {
    font-size: 18px;
    color: #E8E8E5;
    transition: color 0.15s;
}

.fac-other-card:hover .fac-other-arrow {
    color: #0D0D0D;
}

/* ── CTA ──────────────────────────────── */
.fac-cta {
    padding: 64px 0;
    background: #F5F5F3;
}

.fac-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px;
    flex-wrap: wrap;
}

.fac-cta-text h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.fac-cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

.fac-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fac-cta-white {
    display: inline-block;
    background: #fff;
    color: #0D0D0D;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 28px;
    text-decoration: none;
    border: 1px solid #fff;
    transition: background 0.15s, color 0.15s;
}

.fac-cta-white:hover {
    background: #F5F5F3;
    color: #0D0D0D;
    text-decoration: none;
}

.fac-cta-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 28px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.6);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fac-cta-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* ── Responsive ───────────────────────── */
@media (max-width: 768px) {
    .fac-hero { padding: 80px 0 48px; }

    .fac-hero-badges { flex-direction: column; }
    .fac-badge { width: fit-content; }

    .fac-search-inner { flex-direction: column; align-items: stretch; }
    .fac-search-wrap { width: 100%; }

    .fac-cta-box { flex-direction: column; padding: 32px 24px; }
    .fac-cta-btns { width: 100%; }
    .fac-cta-white, .fac-cta-outline { width: 100%; text-align: center; }

    .fac-card-stats { grid-template-columns: 1fr; gap: 8px; }
    .fac-stat { flex-direction: row; justify-content: space-between; text-align: left; }
    .fac-stat i { font-size: 14px; }
}