/* ============================================
   FACULTY PAGE — PREMIUM STYLES
   Cambridge Model Sr. Sec. School
   ============================================ */

/* ============================================
   SHARED SECTION HEADER
   ============================================ */
.fcty-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.fcty-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    color: #C9A24D;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.fcty-section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.fcty-section-header p {
    color: #6b7280;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   QUICK STATS (overlapping hero)
   ============================================ */
.fcty-stats-section {
    padding: 0;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.fcty-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.fcty-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 162, 77, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fcty-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(201, 162, 77, 0.3);
}

.fcty-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0B3D2E;
    margin-bottom: 4px;
    line-height: 1.1;
}

.fcty-stat-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   FACULTY EXCELLENCE
   ============================================ */
.fcty-excellence-section {
    padding: 80px 0;
    background: #fff;
}

.fcty-excellence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.fcty-excellence-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fcty-excellence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
    border-color: rgba(201, 162, 77, 0.25);
}

.fcty-excellence-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 20px;
}

.fcty-excellence-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 6px;
}

.fcty-excellence-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   DEPARTMENT HEADS
   ============================================ */
.fcty-heads-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.fcty-heads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.fcty-head-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px 28px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fcty-head-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 162, 77, 0.25);
}

.fcty-head-avatar {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid rgba(201, 162, 77, 0.3);
    box-shadow: 0 6px 20px rgba(11, 61, 46, 0.15);
    margin-bottom: 18px;
}

.fcty-head-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fcty-head-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fcty-head-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fcty-head-role {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    background: rgba(201, 162, 77, 0.12);
    color: #8B6914;
    font-size: 0.78rem;
    font-weight: 600;
}

.fcty-head-info p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
}

.fcty-head-info p strong {
    color: #374151;
}

/* ============================================
   PROFESSIONAL DEVELOPMENT
   ============================================ */
.fcty-dev-section {
    padding: 80px 0;
    background: #fff;
}

.fcty-dev-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.fcty-dev-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.fcty-dev-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.fcty-dev-content .fcty-badge {
    margin-bottom: 12px;
}

.fcty-dev-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.fcty-dev-intro {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
}

.fcty-dev-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fcty-dev-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.fcty-dev-check {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 12px;
    margin-top: 2px;
}

.fcty-dev-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 3px;
}

.fcty-dev-item p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
}

/* ============================================
   SUPPORT STAFF
   ============================================ */
.fcty-support-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.fcty-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fcty-support-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fcty-support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 162, 77, 0.25);
}

.fcty-support-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF8EE, #FFF0DB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 24px;
    margin: 0 auto 18px;
    transition: all 0.35s ease;
}

.fcty-support-card:hover .fcty-support-icon {
    background: linear-gradient(135deg, #0B3D2E, #155d47);
}

.fcty-support-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 10px;
}

.fcty-support-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ============================================
   CTA SECTION
   ============================================ */
.fcty-cta-section {
    padding: 72px 0;
    background: linear-gradient(135deg, #0B3D2E 0%, #155d47 50%, #0B3D2E 100%);
    position: relative;
    overflow: hidden;
}

.fcty-cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.06);
}

.fcty-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.04);
}

.fcty-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.fcty-cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.fcty-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.02rem;
    max-width: 550px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.fcty-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.fcty-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #C9A24D, #D4AF61);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(201, 162, 77, 0.3);
}

.fcty-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 77, 0.45);
}

.fcty-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.35s ease;
}

.fcty-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
    .fcty-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .fcty-stats-section {
        margin-top: -20px;
    }

    .fcty-excellence-grid {
        grid-template-columns: 1fr;
    }

    .fcty-heads-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fcty-head-avatar {
        max-width: 170px;
    }

    .fcty-dev-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .fcty-dev-image {
        max-height: 350px;
    }

    .fcty-support-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .fcty-section-header h2 {
        font-size: 1.7rem;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 576px) {
    .fcty-stats-section {
        margin-top: 0;
    }

    .fcty-stats-section {
        margin-top: 0;
    }

    .fcty-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fcty-stat-card {
        padding: 18px 10px;
    }

    .fcty-stat-number {
        font-size: 1.4rem;
    }

    .fcty-stat-label {
        font-size: 0.7rem;
    }

    .fcty-excellence-section,
    .fcty-heads-section,
    .fcty-dev-section,
    .fcty-support-section,
    .fcty-cta-section {
        padding: 55px 0;
    }

    .fcty-section-header {
        margin-bottom: 32px;
    }

    .fcty-section-header h2 {
        font-size: 1.35rem;
    }

    .fcty-section-header p {
        font-size: 0.9rem;
    }

    .fcty-excellence-card {
        padding: 22px 18px;
        gap: 14px;
    }

    .fcty-excellence-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 17px;
    }

    .fcty-head-card {
        padding: 20px 14px 22px;
    }

    .fcty-heads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .fcty-head-avatar {
        max-width: 150px;
    }

    .fcty-head-info h4 {
        font-size: 0.95rem;
    }

    .fcty-head-role {
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .fcty-dev-content h2 {
        font-size: 1.4rem;
    }

    .fcty-support-card {
        padding: 28px 22px;
    }

    .fcty-cta-content h2 {
        font-size: 1.35rem;
    }

    .fcty-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .fcty-btn-primary,
    .fcty-btn-secondary {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}
