/* Banner Section */
.banner-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.banner-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content Section */
.main-content {
    padding: 60px 20px;
    background-color: var(--white);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background:var(--secondary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Organogram Section */
.organogram-section {
    background-color: var(--white);
    padding: 40px 20px 60px;
    position: relative;
}

.organogram-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.organogram-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.organogram-image-container {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.organogram-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Row-based Organizational Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    max-width: 100%;
}

.org-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

/* Member Card */
.member-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 220px;
    overflow: hidden;
    border: 2px solid transparent;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.member-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
    line-height: 1.2;
}

.member-position {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.3;
}

.member-badge {
    display: inline-block;
    padding: 6px 12px;
    background:var(--secondary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Modal Styles - Similar to executive-committee.css */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modal-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 20px;
    border: 4px solid var(--primary-color);
}

.modal-info h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.modal-info p {
    color: var(--text-light);
    font-size: 16px;
}

.modal-badge {
    display: inline-block;
    padding: 5px 12px;
    background:var(--secondary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.modal-details {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.modal-details h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.detail-item {
    display: flex;
    margin-bottom: 12px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
    width: 120px;
    flex-shrink: 0;
}

.detail-value {
    color: var(--text-light);
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: var(--white);
    padding: 5px;
}

.qr-code-text {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.modal-bio {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.modal-bio h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.modal-bio p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .member-card {
        width: 180px;
    }

    .member-image-container {
        height: 150px;
    }

    .member-info {
        padding: 15px;
    }

    .member-name {
        font-size: 14px;
    }

    .member-position {
        font-size: 11px;
    }

    .org-row {
        gap: 16px;
    }

    .modal-details {
        flex-direction: column;
        align-items: center;
    }

    .qr-code-container {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .member-card {
        width: 150px;
    }

    .member-image-container {
        height: 130px;
    }

    .member-info {
        padding: 12px;
    }

    .member-name {
        font-size: 13px;
    }

    .member-position {
        font-size: 10px;
    }

    .org-row {
        gap: 12px;
    }

    .modal-content {
        padding: 20px;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }
}