/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.about-hero {
    position: relative;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.94) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 145px;
    padding-bottom: 60px;
}

.about-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.about-breadcrumb {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-breadcrumb a:hover {
    color: #ee5057;
}

/* Badges */
.about-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: #fff0f1;
    border: 1px solid rgba(238, 80, 87, 0.35);
    color: #ee5057;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.about-hero .about-pill-badge {
    background: rgba(238, 80, 87, 0.18);
    border: 1px solid rgba(238, 80, 87, 0.4);
    color: #fecdd3;
}

/* ==========================================================================
   2. MAIN CARD & LAYOUT
   ========================================================================== */
.about-main-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 40px;
    margin-bottom: 30px;
}

.about-main-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-main-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-main-img-wrapper:hover .about-main-img {
    transform: scale(1.02);
}

/* ==========================================================================
   3. SIDEBAR WIDGETS
   ========================================================================== */
.sidebar-widget-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 26px;
}

.sidebar-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    margin-bottom: 12px;
}

.sidebar-info-item:hover {
    background: #fff5f5;
    border-color: #fecdd3;
    transform: translateY(-2px);
}

.sidebar-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ee5057 0%, #d63b42 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(238, 80, 87, 0.2);
}

.sidebar-info-body label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
    display: block;
    text-transform: uppercase;
}

.sidebar-info-body span,
.sidebar-info-body a {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a !important;
    text-decoration: none !important;
    word-break: break-word;
    transition: color 0.2s ease;
}

.sidebar-info-body a:hover {
    color: #ee5057 !important;
}

.social-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.social-circle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 2px;
}

.social-circle-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    color: #ffffff !important;
}

.btn-facebook { background: #1877f2; }
.btn-whatsapp { background: #25d366; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.btn-linkedin { background: #0a66c2; }

/* ==========================================================================
   4. DETAILS & SUMMARY CONTENT
   ========================================================================== */
.about-summary-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border-right: 5px solid #ee5057;
    padding: 24px 28px;
    border-radius: 14px;
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(238, 80, 87, 0.06);
}

html[dir="ltr"] .about-summary-box {
    border-right: none;
    border-left: 5px solid #ee5057;
}

.about-details-content {
    font-size: 1.08rem;
    line-height: 2;
    color: #334155;
}

.about-details-content p {
    margin-bottom: 1.5rem;
}

.about-details-content h2,
.about-details-content h3,
.about-details-content h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   5. BOARD MEMBERS SECTION
   ========================================================================== */
.about-members-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px dashed #e2e8f0;
}

.about-members-heading-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.about-members-heading-wrapper .about-pill-badge {
    box-shadow: 0 2px 8px rgba(238, 80, 87, 0.08);
}

.about-members-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.about-members-divider {
    width: 50px;
    height: 3px;
    background: #ee5057;
    margin: 0 auto;
    border-radius: 3px;
}

/* Horizontal Member Card */
.member-custom-card {
    display: flex;
    align-items: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.member-custom-card:hover {
    transform: translateY(-5px);
}

/* Dark Photo Frame */
.member-custom-photo {
    position: relative;
    width: 140px;
    min-width: 140px;
    height: 155px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
    flex-shrink: 0;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-custom-card:hover .member-custom-photo {
    box-shadow: 0 14px 30px rgba(238, 80, 87, 0.22);
}

.member-custom-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.member-custom-card:hover .member-custom-photo img {
    transform: scale(1.05);
}

.member-custom-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 3rem;
    background: radial-gradient(circle at center, #2c4a5e 0%, #0f172a 100%);
}

/* White Info Box */
.member-custom-info {
    position: relative;
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 130px;
    z-index: 1;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

html[dir="rtl"] .member-custom-info {
    margin-right: -24px;
    padding-right: 38px;
    text-align: right;
}

html[dir="ltr"] .member-custom-info {
    margin-left: -24px;
    padding-left: 38px;
    text-align: left;
}

.member-custom-card:hover .member-custom-info {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.member-custom-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.member-custom-bio {
    font-size: 0.87rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Corner Accent (Red, matching brand identity) */
.member-gold-corner {
    position: absolute;
    width: 32px;
    height: 24px;
    pointer-events: none;
    transition: all 0.3s ease;
}

html[dir="rtl"] .member-gold-corner {
    bottom: -2px;
    left: -2px;
    border-bottom: 3px solid #ee5057;
    border-left: 3px solid #ee5057;
    border-bottom-left-radius: 10px;
}

html[dir="ltr"] .member-gold-corner {
    bottom: -2px;
    right: -2px;
    border-bottom: 3px solid #ee5057;
    border-right: 3px solid #ee5057;
    border-bottom-right-radius: 10px;
}

.member-custom-card:hover .member-gold-corner {
    border-color: #d63b42;
    width: 40px;
    height: 30px;
}

/* ==========================================================================
   6. CALL TO ACTION BANNER
   ========================================================================== */
.about-cta-box {
    background: linear-gradient(135deg, #1f3646 0%, #0f172a 100%);
    border-radius: 18px;
    padding: 32px;
    color: #ffffff;
    margin-top: 36px;
    position: relative;
    overflow: hidden;
}

.about-cta-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-cta-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.about-cta-box .d-flex {
    gap: 12px !important;
}

.about-cta-box .btn {
    margin: 0 !important;
}

/* ==========================================================================
   7. REPORTS SECTION & CARDS
   ========================================================================== */
.about-reports-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px dashed #e2e8f0;
}

.about-reports-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 600px;
    margin: 8px auto 0;
}

.report-custom-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 250px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.report-custom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ee5057 0%, #f97316 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.report-custom-card:hover {
    transform: translateY(-6px);
    border-color: rgba(238, 80, 87, 0.4);
    box-shadow: 0 16px 36px rgba(238, 80, 87, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.report-custom-card:hover::before {
    opacity: 1;
}

.report-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.report-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.15);
    transition: all 0.3s ease;
}

.report-custom-card:hover .report-icon-wrapper {
    background: linear-gradient(135deg, #ee5057 0%, #dc2626 100%);
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(238, 80, 87, 0.35);
}

.report-format-pill {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.report-card-body {
    flex-grow: 1;
    margin-bottom: 20px;
}

.report-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.report-custom-card:hover .report-card-title {
    color: #ee5057;
}

.report-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.report-meta-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.report-tag-verified {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

.report-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.btn-report-action {
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-preview-pdf {
    flex-grow: 1;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 9px 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-preview-pdf:hover {
    background: #ee5057;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(238, 80, 87, 0.3);
}

.btn-download-pdf {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.btn-download-pdf:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* ==========================================================================
   8. PDF PREVIEW MODAL
   ========================================================================== */
.pdf-preview-modal {
    z-index: 100030 !important;
}

.pdf-preview-modal .modal-dialog {
    max-width: 1100px;
    width: 94%;
    margin: 25px auto !important;
}

.pdf-preview-modal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pdf-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 14px 22px !important;
    min-height: 62px;
}

.pdf-modal-header .modal-title {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.pdf-modal-header .close {
    color: #ffffff !important;
    opacity: 0.8 !important;
    font-size: 1.8rem !important;
    padding: 0 6px !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
    transition: all 0.2s ease;
}

.pdf-modal-header .close:hover {
    opacity: 1 !important;
    color: #ee5057 !important;
    transform: scale(1.15);
}

.pdf-type-badge {
    background: rgba(238, 80, 87, 0.25);
    color: #fecdd3;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(238, 80, 87, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pdf-modal-body {
    position: relative;
    height: 75vh;
    min-height: 480px;
    max-height: calc(100vh - 170px);
    background: #1e293b;
    overflow: hidden;
}

.pdf-modal-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
    background: #ffffff;
}

.pdf-loading-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    z-index: 1;
}

.pdf-modal-footer {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 10px 20px !important;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 576px) {
    .about-main-card {
        padding: 24px 18px;
    }

    .report-custom-card {
        padding: 18px 16px;
        min-height: auto;
    }

    .pdf-preview-modal .modal-dialog {
        max-width: 98vw;
        margin: 0.5rem auto;
    }

    .pdf-modal-body {
        height: 70vh;
        min-height: 380px;
    }

    .member-custom-photo {
        width: 100px;
        min-width: 100px;
        height: 125px;
    }

    .member-custom-info {
        padding: 14px 16px;
        min-height: 110px;
    }

    html[dir="rtl"] .member-custom-info {
        margin-right: -16px;
        padding-right: 26px;
    }

    html[dir="ltr"] .member-custom-info {
        margin-left: -16px;
        padding-left: 26px;
    }

    .member-custom-name {
        font-size: 1rem;
    }

    .member-custom-bio {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}
