/* ============================================================
   Non-Teaching Staff Page — Non-Teaching-Staff.css
   Extends: style.css (Satyadeo College Gouripur)
   Theme   : Orange (#fda31b) + Blue/Teal (#116e63) + White
   ============================================================ */

/* ============================================================
   INNER PAGE BANNER  (identical pattern to Principal-Message.css)
   ============================================================ */
.inner-page-banner {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue), var(--primary-blue-light)),
                url('../images/mini-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
}

.inner-page-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(253, 163, 27, 0.10);
    pointer-events: none;
}

.inner-page-banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* Pre-title */
.inner-banner-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-orange-light);
    margin-bottom: 14px;
}

.inner-banner-pretitle i { font-size: 0.9rem; }

/* H1 */
.inner-banner-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.inner-banner-title span { color: var(--primary-orange-light); }

/* Breadcrumb */
.inner-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    flex-wrap: wrap;
}

.inner-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.inner-banner-breadcrumb a:hover { color: var(--primary-orange-light); }

.inner-banner-breadcrumb .separator {
    color: var(--primary-orange);
    font-size: 0.7rem;
}

/* Decorative dot grid */
.banner-dots {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    opacity: 0.18;
}

.banner-dots span {
    display: block;
    width: 7px;
    height: 7px;
    background: var(--white);
    border-radius: 50%;
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.nts-intro-strip {
    padding: 70px 0 60px;
    background: var(--white);
}

/* Pre-title line */
.nts-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 14px;
}

.nts-pretitle::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.nts-intro-heading {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.nts-intro-heading span { color: var(--primary-blue); }

.nts-intro-text {
    font-size: 0.96rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 0;
}

/* Stats grid 2×2 */
.nts-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nts-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 16px;
    padding: 24px 12px;
    text-align: center;
    border: 1px solid var(--light-grey);
    transition: var(--transition);
}

.nts-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.nts-stat-box.orange {
    background: linear-gradient(135deg, rgba(253, 163, 27, 0.10), rgba(253, 163, 27, 0.03));
    border-color: rgba(253, 163, 27, 0.25);
}

.nts-stat-box.teal {
    background: linear-gradient(135deg, rgba(17, 110, 99, 0.08), rgba(17, 110, 99, 0.02));
    border-color: rgba(17, 110, 99, 0.18);
}

.nts-stat-box > i {
    font-size: 1.5rem;
}

.nts-stat-box.orange > i { color: var(--primary-orange); }
.nts-stat-box.teal   > i { color: var(--primary-blue); }

.nts-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.nts-stat-box.orange .nts-stat-num { color: var(--primary-orange-dark); }
.nts-stat-box.teal   .nts-stat-num { color: var(--primary-blue); }

.nts-stat-lbl {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ============================================================
   SECTION WRAPPER (Clerks / Support)
   ============================================================ */
.nts-section {
    padding: 60px 0 70px;
    background: var(--light-bg);
}

.nts-section--alt {
    background: var(--white);
}

/* Section header bar */
.nts-section-header {
    margin-bottom: 40px;
}

.nts-section-header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    border-left: 5px solid var(--primary-blue);
    flex-wrap: wrap;
}

.nts-section--alt .nts-section-header-inner {
    background: var(--light-bg);
    border-left-color: var(--primary-orange);
}

/* Icon bubble */
.nts-section-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.nts-section-icon.teal   { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); }
.nts-section-icon.orange { background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark)); }

.nts-section-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 3px;
    line-height: 1.2;
}

.nts-section-subtitle {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: 0.04em;
}

/* Count badge */
.nts-section-count {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(17, 110, 99, 0.12);
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}

.nts-section-count.orange { color: rgba(253, 163, 27, 0.18); }

/* ============================================================
   STAFF CARD
   ============================================================ */
.nts-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nts-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Top accent line on hover */
.nts-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

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

/* ---- Image wrapper: 16:9 ---- */
.nts-card-img-wrap {
    position: relative;
    width: 100%;
    /* 16:9 ratio */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--light-grey);
}

.nts-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.45s ease;
}

.nts-card:hover .nts-card-img { transform: scale(1.05); }

/* Role tag pill — overlaid bottom-left */
.nts-card-role-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

.nts-card-role-tag.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
}

.nts-card-role-tag.teal {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

/* ---- Card body ---- */
.nts-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nts-card-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

/* Meta rows */
.nts-card-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
}

.nts-meta-row {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-medium);
    background: var(--light-bg);
    border-radius: 8px;
    padding: 7px 12px;
    border: 1px solid var(--light-grey);
}

.nts-meta-row i {
    font-size: 0.8rem;
    color: var(--primary-orange);
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

/* Aadhar row gets a subtle blue tint */
.nts-meta-row:last-child {
    background: rgba(17, 110, 99, 0.04);
    border-color: rgba(17, 110, 99, 0.12);
}

.nts-meta-row:last-child i { color: var(--primary-blue); }

/* ============================================================
   BOTTOM INFO STRIP
   ============================================================ */
.nts-info-strip {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    padding: 20px 0;
}

.nts-info-strip-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nts-info-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-orange-light);
    flex-shrink: 0;
}

.nts-info-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.nts-info-text strong { color: var(--primary-orange-light); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Tablet ≤ 991px ---- */
@media (max-width: 991px) {
    .inner-banner-title   { font-size: 2.2rem; }
    .nts-intro-heading    { font-size: 1.9rem; }

    .nts-section-count {
        font-size: 2rem;
    }

    .nts-intro-strip {
        padding: 56px 0 48px;
    }

    .nts-section {
        padding: 50px 0 60px;
    }

    .nts-stats-grid {
        margin-top: 32px;
    }
}

/* ---- Phablet ≤ 767px ---- */
@media (max-width: 767px) {
    /* Banner */
    .inner-page-banner    { padding: 52px 0 44px; }
    .inner-banner-title   { font-size: 1.8rem; }
    .banner-dots          { display: none; }

    /* Intro */
    .nts-intro-strip      { padding: 48px 0 40px; }
    .nts-intro-heading    { font-size: 1.65rem; }

    /* Section */
    .nts-section          { padding: 44px 0 52px; }

    .nts-section-header-inner {
        padding: 16px 18px;
        gap: 12px;
    }

    .nts-section-title    { font-size: 1.15rem; }
    .nts-section-count    { font-size: 1.8rem; }

    /* Stats */
    .nts-stats-grid       { gap: 12px; }
    .nts-stat-box         { padding: 18px 10px; }
    .nts-stat-num         { font-size: 1.65rem; }

    /* Info strip */
    .nts-info-text        { font-size: 0.8rem; }
}

/* ---- Mobile ≤ 575px ---- */
@media (max-width: 575px) {
    .inner-banner-title   { font-size: 1.55rem; }
    .nts-intro-heading    { font-size: 1.45rem; }

    /* Full-width cards */
    .nts-card-name        { font-size: 0.98rem; }
    .nts-meta-row         { font-size: 0.79rem; }

    /* Stack stats 1 column on very small screens */
    .nts-stats-grid       {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .nts-stat-num         { font-size: 1.5rem; }
    .nts-stat-lbl         { font-size: 0.7rem; }

    /* Section header stack */
    .nts-section-header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nts-section-count    { margin-left: 0; }

    .nts-info-strip-inner { justify-content: center; text-align: center; }
}

/* ---- Very small ≤ 400px ---- */
@media (max-width: 400px) {
    .inner-banner-title   { font-size: 1.35rem; }
    .nts-intro-heading    { font-size: 1.3rem; }
    .nts-stats-grid       { grid-template-columns: 1fr 1fr; }
}
