/* ==================================================
   DATA APARATUR - MODERN TEAM SHOWCASE
   Purple/Blue Gradient Theme with Interactive Design
   Version 2.0 - Complete Redesign
   ================================================== */

/* Hide old sections */
.page-hero,
.hero-split,
.hero-simple-elegant {
    display: none !important;
}

/* ==================================================
   HERO SECTION - Clean & Welcoming
   ================================================== */
.hero-modern-team {
    min-height: 85vh;
    background: linear-gradient(to bottom, #ffffff 0%, #faf9f7 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

/* Subtle pattern background */
.hero-modern-team::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-team-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.hero-team-badge i {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-team-badge span {
    font-weight: 600;
    color: #059669;
    font-size: 0.95rem;
}

.hero-team-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-team-title .gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-team-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin: 0 0 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats-modern {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease 0.6s both;
}

/* Decorative Background Shapes */
.hero-modern-team::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-team-content::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -150px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-scroll-indicator {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: #10b981;
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* ==================================================
   LEADERSHIP SECTION - Premium Featured Cards
   ================================================== */
.leadership-section {
    padding: 5rem 2rem;
    background: #faf9f7;
}

.section-header-premium {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #10b981;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title-premium {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem;
}

.section-subtitle-premium {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.leader-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.leader-photo-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.leader-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.leader-card:hover .leader-photo-wrapper img {
    transform: scale(1.08);
}

.leader-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #10b981;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.leader-info {
    padding: 2.5rem;
}

.leader-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.leader-position {
    font-size: 1.125rem;
    color: #10b981;
    font-weight: 600;
    margin: 0 0 1rem;
}

.leader-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 2rem;
}

.leader-contacts {
    display: flex;
    gap: 1rem;
}

.contact-button {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-button.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.contact-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.contact-button.secondary {
    background: rgba(99, 102, 241, 0.1);
    color: #10b981;
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.contact-button.secondary:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

/* ==================================================
   STAFF SECTION - Interactive Team Grid
   ================================================== */
.staff-section-modern {
    padding: 5rem 2rem;
    background: white;
}

.staff-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.staff-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #f1f5f9;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.staff-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.staff-photo-modern {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    overflow: hidden;
}

.staff-photo-modern img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.staff-card-modern:hover .staff-photo-modern img {
    transform: scale(1.1);
}

.staff-department-badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    z-index: 2;
}

.staff-info-modern {
    padding: 1.75rem;
}

.staff-name-modern {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.staff-position-modern {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1.25rem;
}

.staff-contact-quick {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.staff-card-modern:hover .staff-contact-quick {
    opacity: 1;
    transform: translateY(0);
}

.quick-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.quick-contact-icon:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    transform: scale(1.1);
}

/* Department color coding */
.staff-card-modern[data-department="admin"] .staff-department-badge {
    color: #059669;
}

.staff-card-modern[data-department="pelayanan"] .staff-department-badge {
    color: #10b981;
}

.staff-card-modern[data-department="keuangan"] .staff-department-badge {
    color: #f59e0b;
}

.staff-card-modern[data-department="umum"] .staff-department-badge {
    color: #3b82f6;
}

/* ==================================================
   CTA SECTION - Contact Banner
   ================================================== */
.cta-section-modern {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content-modern {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem;
}

.cta-subtitle-modern {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.5rem;
}

.cta-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-btn.light {
    background: white;
    color: #10b981;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-btn.light:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.cta-btn.outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

/* ==================================================
   ANIMATIONS
   ================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */
@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .staff-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-modern-team {
        padding: 6rem 1.5rem 3rem;
        min-height: 70vh;
    }

    .hero-team-title {
        font-size: 2.25rem;
    }

    .hero-team-subtitle {
        font-size: 1.05rem;
    }

    .hero-stats-modern {
        gap: 1.5rem;
    }

    .stat-card-modern {
        padding: 1.5rem 2rem;
        min-width: 140px;
    }

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

    .leader-photo-wrapper {
        height: 320px;
    }

    .leader-info {
        padding: 2rem;
    }

    .staff-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cta-title-modern {
        font-size: 1.875rem;
    }

    .cta-buttons-modern {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

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

    .hero-team-title {
        font-size: 1.875rem;
    }

    .hero-stats-modern {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-card-modern {
        width: 100%;
    }
}

/* ================================================== 
   BACKWARD COMPATIBILITY - Style Existing HTML 
   ================================================== */

/* Structure Section */
/* Decorative Background Shapes */
.hero-modern-team::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-team-content::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -150px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-scroll-indicator {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: #10b981;
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Org Chart */
.org-chart {
    max-width: 1200px;
    margin: 0 auto;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.org-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 450px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s;
    position: relative;
}

.org-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 24px 24px 0 0;
}

.org-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.org-photo {
    position: relative !important;
    width: 150px !important;
    padding-bottom: 150px !important;
    height: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto 1.5rem !important;
    border: 4px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2) !important;
}

.org-photo img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.org-info {
    text-align: center;
}

.org-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.org-info .position {
    font-size: 1.05rem;
    color: #10b981;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
}

/* Staff Section */
.staff-section {
    padding: 5rem 2rem;
    background: white;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.staff-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #f1f5f9;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    /* Ensure badges can be absolute */
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.staff-photo {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 100% !important;
    height: 0 !important;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%) !important;
    overflow: hidden !important;
}

.staff-photo img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s !important;
}

.staff-card:hover .staff-photo img {
    transform: scale(1.1);
}

.staff-info {
    padding: 1.75rem;
    text-align: center;
}

.staff-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.staff-info .staff-position {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    margin: 0;
}

/* Contact Banner - CORRECTED SELECTORS */
.contact-banner {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.banner-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem;
}

.banner-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.5rem;
}

.banner-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Override existing button styles for this section */
.contact-banner .btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.contact-banner .btn-primary {
    background: white !important;
    color: #10b981 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: none;
}

.contact-banner .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: #f0fdf4 !important;
}

.contact-banner .btn-outline {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
}

.contact-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: white !important;
}

/* ================================================== 
   RESPONSIVE DESIGN (Mobile & Tablet) 
   ================================================== */
@media (max-width: 1024px) {
    .org-level {
        gap: 2rem;
    }

    .org-card {
        max-width: 100%;
        padding: 2rem;
    }

    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .structure-section {
        padding: 4rem 1.5rem;
    }

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

    .org-level {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    .org-card {
        width: 100%;
        min-width: auto;
    }

    .org-card::before {
        height: 4px;
    }

    /* Hide horizontal connectors on mobile */
    .org-connector,
    .org-connector-multi {
        display: none;
    }

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

    .contact-banner {
        padding: 4rem 1.5rem;
    }

    .banner-text h3 {
        font-size: 1.75rem;
    }

    .banner-cta {
        flex-direction: column;
        width: 100%;
    }

    .contact-banner .btn {
        width: 100%;
        justify-content: center;
    }
}

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

    /* Horizontal Card Layout for better mobile UX */
    .staff-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        padding: 0 !important;
        min-height: 100px;
        position: relative;
        /* Important for absolute badge */
    }

    .staff-photo {
        width: 100px !important;
        height: 100px !important;
        padding-bottom: 0 !important;
        flex-shrink: 0;
    }

    .staff-photo img {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .staff-info {
        padding: 0 1rem !important;
        text-align: left !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .staff-info h3 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .staff-info .staff-position {
        font-size: 0.85rem !important;
        margin-bottom: 0.25rem !important;
    }

    /* Fix Badge Positioning on Mobile */
    .staff-badge {
        position: absolute !important;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.65rem;
        padding: 0.25rem 0.75rem;
        z-index: 5;
    }

    /* Org Chart Adjustments */
    .org-photo {
        width: 120px !important;
        padding-bottom: 120px !important;
    }

    .org-info h3 {
        font-size: 1.25rem;
    }

    .section-header-center {
        margin-bottom: 3rem;
    }
}