/* Compact Hero Section */
.wbts-staff-hero {
    width: 100%;
    background: linear-gradient(135deg, #061c7d 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.wbts-staff-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.wbts-staff-hero-content {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.wbts-staff-hero-title-section {
    flex: 1;
}

.wbts-staff-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wbts-staff-hero-title i {
    font-size: 2rem;
    color: #ffd700;
}

.wbts-staff-hero-subtitle {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    opacity: 0.95;
    font-weight: 300;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.wbts-staff-hero-description {
    font-size: 1rem;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
    max-width: 800px;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.wbts-staff-hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.wbts-hero-stat-item {
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.wbts-hero-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1;
}

.wbts-hero-stat-label {
    display: block;
    font-size: 0.8rem;
    margin-top: 6px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wbts-staff-hero {
        padding: 30px 0;
    }
    
    .wbts-staff-hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .wbts-staff-hero-title i {
        font-size: 1.5rem;
    }
    
    .wbts-staff-hero-subtitle {
        font-size: 1rem;
    }
    
    .wbts-staff-hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .wbts-staff-hero-stats {
        gap: 15px;
    }
    
    .wbts-hero-stat-item {
        min-width: 80px;
        padding: 12px 15px;
    }
    
    .wbts-hero-stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .wbts-staff-hero {
        padding: 25px 0;
    }
    
    .wbts-staff-hero-title {
        font-size: 1.8rem;
    }
    
    .wbts-staff-hero-subtitle {
        font-size: 0.9rem;
    }
    
    .wbts-staff-hero-description {
        font-size: 0.8rem;
    }
    
    .wbts-hero-stat-number {
        font-size: 1.3rem;
    }
}

/* Staff Position Styling */
.wbts-staff-position {
    font-size: 0.9rem;
    color: #6366f1;
    font-weight: 600;
    margin: 4px 0;
    font-style: italic;
}

/* ========================================
   COMPACT STAFF CARDS
======================================== */
.wbts-staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Staff Cards - Compact Design */
.wbts-staff-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wbts-staff-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.wbts-staff-card-header {
    position: relative;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}


.wbts-staff-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.wbts-staff-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wbts-staff-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wbts-staff-card-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wbts-staff-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
    text-align: center;
    line-height: 1.3;
}

.wbts-staff-role {
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    text-align: center;
}

.wbts-staff-department {
    font-size: 0.7rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
    text-align: center;
    line-height: 1.2;
}

.wbts-staff-position {
    font-size: 0.7rem;
    color: #6366f1;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-style: italic;
    text-align: center;
}

.wbts-staff-id {
    font-size: 0.65rem;
    color: #9ca3af;
    font-family: 'Monaco', 'Menlo', monospace;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.wbts-staff-info {
    margin-bottom: 0.75rem;
    flex: 1;
}

.wbts-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
    color: #6b7280;
    justify-content: center;
}

.wbts-info-item i {
    width: 12px;
    color: #9ca3af;
    font-size: 0.7rem;
}

.wbts-staff-card-actions {
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
}

.wbts-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.7rem;
}

.wbts-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
}

.wbts-btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.wbts-btn-outline:hover {
    background: #3b82f6;
    color: white;
}



/* Responsive Design for Staff Cards */
@media (max-width: 1200px) {
    .wbts-staff-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
    }
}

@media (max-width: 768px) {
    .wbts-staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .wbts-staff-card-header {
        padding: 0.75rem;
    }
    
    .wbts-staff-avatar img,
    .wbts-staff-avatar-placeholder {
        width: 45px;
        height: 45px;
    }
    
    .wbts-staff-card-body {
        padding: 0.5rem;
    }
    
    .wbts-staff-name {
        font-size: 0.85rem;
    }
    
    .wbts-staff-role {
        font-size: 0.7rem;
    }
    
    .wbts-staff-department {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .wbts-staff-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .wbts-staff-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --primary-color: #061497;
    --primary-light: #2c6ecb;
    --secondary-color: #e8b537;
    --secondary-wbts: #7a812e;
    --accent-color: #2c6ecb;
    --light-color: #f8f9fa;
    --dark-color: #1c222b;
    --success-color: #28a745;
    --text-color: #4a5568;
    --text-light: #718096;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* ========================================
   PROGRAM TABS SECTION
======================================== */
.program-tabs-section {
    padding: 80px 0;
    background: #f8f9fa;
    margin-top: 40px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 20, 151, 0.3);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   PROGRAM CARDS GRID
======================================== */
.programs-grid {
    display: grid;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Desktop: 4 columns */
@media (min-width: 1400px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* Laptop: 4 columns */
@media (min-width: 1200px) and (max-width: 1399px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ========================================
   PROGRAM CARDS
======================================== */
.program-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.program-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f3f4f6;
    overflow: hidden;
}

.program-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.program-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-level {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 12px;
    align-self: flex-start;
}

.program-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.program-content p {
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.5;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.program-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    font-size: 11px;
    color: #6b7280;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
    flex: 1;
    justify-content: center;
}

.detail-item:not(:last-child) {
    border-right: 1px solid #e5e7eb;
    padding-right: 8px;
    margin-right: 8px;
}

.detail-item i {
    color: #3b82f6;
    font-size: 12px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    color: white;
    text-align: center;
    margin-top: 0;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    box-sizing: border-box;
}

/* CTA section now full width - no container needed */
.cta-section * {
    box-sizing: border-box;
}

/* Ensure CTA section breaks out of any parent containers */
main .cta-section,
.wbts-staff-main .cta-section,
.container .cta-section {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Ensure CTA buttons are properly styled */
.cta-section .btn-outline,
.cta-buttons .btn-outline {
    background: transparent !important;
    color: white !important;
    border: 2px solid var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 1px var(--secondary-color) !important;
}

.cta-section .btn-outline:hover,
.cta-buttons .btn-outline:hover {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.8rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent !important;
    color: white !important;
    border: 2px solid var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 1px var(--secondary-color) !important;
}

.btn-outline:hover {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .program-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .tab-btn {
        min-width: 280px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .tab-btn i {
        font-size: 1rem;
    }

    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .program-card-img {
        height: 150px;
    }

    .program-content {
        padding: 16px;
    }

    .program-content h3 {
        font-size: 14px;
        min-height: 40px;
    }

    .program-content p {
        font-size: 12px;
    }

    .program-details {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .detail-item {
        justify-content: flex-start;
        border-right: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .program-tabs {
        gap: 10px;
    }

    .tab-btn {
        min-width: 100%;
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .tab-btn span {
        display: none;
    }

    .tab-btn i {
        font-size: 1.2rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .program-card-img {
        height: 140px;
    }

    .program-content {
        padding: 16px;
    }

    .program-content h3 {
        font-size: 15px;
        min-height: 42px;
    }

    .program-content p {
        font-size: 12px;
    }

    .program-details {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .detail-item {
        flex: 1;
        justify-content: center;
        font-size: 10px;
    }

    .detail-item:not(:last-child) {
        border-right: 1px solid #e5e7eb;
        padding-right: 8px;
        margin-right: 8px;
    }

    .cta-section {
        padding: 30px 0 !important;
    }

    .cta-content {
        padding: 0 15px !important;
    }

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

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

/* Empty state styling */
.no-programs-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}

.no-programs-message i {
    font-size: 64px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.no-programs-message h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.no-programs-message p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}
