/* Administration Pages Shared Styles */


.admin-section {
    padding: 10px;
    background-color: #f8fbff;
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #1a73e8, transparent);
    width: 60%;
    margin: 40px auto;
    opacity: 0.2;
}

.admin-category-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 36px;
    color: #003366;
    margin-bottom: 50px;
    position: relative;
}

.admin-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1a73e8;
    margin: 15px auto;
}

/* Card Styles */
.admin-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.admin-img-wrapper {
    position: relative;
    overflow: hidden;
    padding: 15px;
}

.admin-img {
    width: 100%;
    aspect-ratio: 1/1.2;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.admin-card:hover .admin-img {
    transform: scale(1.05);
}

.admin-info {
    padding: 20px;
    flex-grow: 1;
}

/* Strong Hands Card Style */
.strong-hands-section {
    padding-bottom: 40px;
}

.strong-hands-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    margin-top: 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f4f8;
}

.strong-hands-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.strong-hands-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1965c0;
    margin-top: 10px;
}

.strong-hands-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.strong-hands-info {
    flex: 1;
}

.strong-hands-img-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
}

.strong-hands-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.strong-hands-card:hover .strong-hands-img-wrapper img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .strong-hands-flex {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .strong-hands-card {
        padding: 30px 20px;
    }

    .strong-hands-title {
        font-size: 32px;
        text-align: center;
        display: block;
    }

    .strong-hands-title::after {
        margin: 10px auto 0;
    }
}

.hands-row {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.hands-label {
    flex: 0 0 180px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #1965c0;
}

.hands-separator {
    margin-right: 15px;
    font-weight: 700;
    color: #1965c0;
    font-size: 1.4rem;
}

.hands-value {
    flex: 1;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    color: #444;
    font-weight: 600;
}

/* Detailed Profile Card (Portrait Left, Details Right) */
.detailed-profile-card {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.detailed-profile-card:hover {
    transform: translateY(-5px);
}

.profile-portrait-wrapper {
    flex: 0 0 180px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #e1e8f0;
}

.profile-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.present-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #1965c0;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-details-wrapper {
    flex: 1;
    padding: 15px;
    background-color: #fafbfc;
}

.details-header {
    border-bottom: 2px solid #1965c0;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

.details-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #003366;
    margin-bottom: 0;
    font-weight: 700;
}

.details-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-row {
    display: flex;
    flex-direction: column;
}

.details-role {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.0rem;
    color: #1a73e8;
    margin-bottom: 3px;
}

.details-date {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 991px) {
    .detailed-profile-card {
        flex-direction: column;
    }
    .profile-portrait-wrapper {
        flex: 0 0 300px;
        border-right: none;
        border-bottom: 1px solid #e1e8f0;
    }
}

@media (max-width: 768px) {
    .hands-row {
        margin-bottom: 15px;
    }
    .hands-label {
        flex: 0 0 130px;
        margin-bottom: 0;
        font-size: 1rem;
    }
    .hands-separator {
        display: block;
        margin-right: 8px;
        font-size: 1.1rem;
    }
    .hands-value {
        font-size: 1rem;
    }
}

.admin-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #003366;
    margin-bottom: 5px;
}

.admin-role {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    color: #1a73e8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.admin-bio {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Animations */

.admin-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.show {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

@media (max-width: 991px) {
}

@media (max-width: 768px) {

    .admin-category-title {
        font-size: 28px;
    }

    .admin-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
}

/* Leadership History Tables */
.table-responsive-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 1, 0.05);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-family: 'Quicksand', sans-serif;
}

.history-table thead th {
    background-color: #1965c0;
    color: #ffffff;
    padding: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-align: left;
    border: 1px solid #14529d;
    font-size: 18px;
}

.history-table tbody td {
    padding: 15px 20px;
    vertical-align: top;
    border: 1px solid #e1e8f0;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

.history-table tbody tr:nth-child(even) {
    background-color: #f9fbfe;
}

.history-table tbody tr:hover {
    background-color: #f0f7ff;
}

.history-title {
    color: #1965c0;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
    position: relative;
    padding-bottom: 10px;
}

.history-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1965c0;
}

@media (max-width: 768px) {
    .history-table thead {
        display: none;
    }
    .history-table tbody td {
        display: block;
        width: 100%;
        border: none;
        padding: 10px 20px;
    }
    .history-table tbody td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #1965c0;
        margin-bottom: 5px;
    }
    .history-table tbody tr {
        border-bottom: 2px solid #e1e8f0;
        display: block;
        padding: 15px 0;
    }
}
