/* ===== ABOUT PAGE DEDICATED STYLES ===== */

.about-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1920px) {
    .about-container {
        max-width: 1600px;
    }
}

/* History Section */
.about-history-section {
    padding: 90px 0;
    background: var(--white);
}

.about-editorial-layout {
    display: block;
    overflow: hidden;
    /* Clear floating elements */
}

.about-text-content {
    display: block;
}

.about-text-content h3 {
    color: var(--green-dark);
    font-size: 2.2rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.3;
    position: relative;
    padding-bottom: 12px;
}

/* arrange line to center */
.about-text-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.about-text-content p {
    color: var(--gray-700);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-photo-wrapper {
    float: right;
    width: 42%;
    max-width: 520px;
    margin-left: 45px;
    margin-bottom: 30px;
    margin-top: 10px;
    position: relative;
    padding-right: 15px;
    padding-bottom: 15px;
}

.about-photo-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-md);
    z-index: 1;
}

.about-photo-img {
    width: 100%;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}

.about-photo-wrapper:hover .about-photo-img {
    transform: translate(-5px, -5px);
}

/* Vision and Mission Section */
.about-vision-mission-section {
    position: relative;
    background: var(--green-primary);
    padding: 100px 0;
    overflow: hidden;
}

.about-vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    background-image: url('../img/bg02.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

.about-vision-mission-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 250px;
    background-image: url('../img/bg02.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
    transform: scaleX(-1);
}

.about-vision-mission-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.about-vision-card,
.about-mission-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-left: 5px solid var(--gold);
    padding: 45px 40px;
    border-radius: 0 16px 16px 0;
    color: var(--white);
    transition: all 0.4s ease;
}

.about-vision-card:hover,
.about-mission-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-vision-card h4,
.about-mission-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-vision-card h4 i,
.about-mission-card h4 i {
    color: var(--gold);
    font-size: 1.8rem;
}

.about-vision-card p,
.about-mission-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.8;
}

/* Chairman Profile Section */
.about-chairman-profile-section {
    padding: 100px 0;
    background: var(--white);
}

.about-chairman-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.chairman-badge-label {
    display: inline-block;
    background: rgba(220, 166, 41, 0.08);
    color: var(--gold-dark);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.about-chairman-content h3 {
    color: var(--green-dark);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.chairman-divider {
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 30px;
}

.chairman-profile-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 30px;
    text-align: justify;
}

.chairman-signature-details .signature-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 2px;
}

.chairman-signature-details .signature-office {
    font-size: 0.9rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.about-chairman-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-chairman-frame {
    position: relative;
    max-width: 320px;
    width: 100%;
}

/* Flag & Demographics Section */
.about-flag-demographics-section {
    padding: 100px 0;
    background: var(--cream-light);
}

.about-flag-demographics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-card-inner {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 59, 38, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.015);
    padding: 45px;
    height: 100%;
}

.about-card-inner h3 {
    color: var(--green-dark);
    font-size: 1.6rem;
    font-weight: 750;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cream-light);
}

.about-flag-img-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    text-align: center;
}

.about-flag-img {
    width: 100%;
    max-height: 100%;
    object-position: center;
    object-fit: cover;
}

.about-flag-desc {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 0;
}

/* Demographics Indicators */
.demographics-sub-title {
    font-weight: 700;
    color: var(--green-dark);
    font-size: 1.05rem;
    margin-bottom: 20px;
    margin-top: 15px;
}

.gender-ratio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.gender-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--cream-light);
    border-radius: 12px;
    border: 1px solid rgba(220, 166, 41, 0.05);
}

.gender-icon {
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.male-gender .gender-icon {
    background: rgba(15, 59, 38, 0.06);
    color: var(--green-primary);
}

.female-gender .gender-icon {
    background: rgba(220, 166, 41, 0.08);
    color: var(--gold-dark);
}

.gender-text-details {
    display: flex;
    flex-direction: column;
}

.gender-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.1;
}

.gender-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 600;
}

.demographics-progress-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.progress-item-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.progress-item-name {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    font-weight: 650;
}

.progress-item-val {
    color: var(--black);
    font-weight: 700;
}

.progress-track-bar {
    width: 100%;
    height: 8px;
    background: #eef2f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill-bar {
    height: 100%;
    border-radius: 4px;
}

.bg-gold {
    background: var(--gold);
}

.bg-theme {
    background: var(--green-primary);
}

.bg-orange {
    background: #E07A5F;
}

.text-orange {
    color: #E07A5F !important;
}

.text-green-dark {
    color: var(--green-dark) !important;
}

/* Organogram Section */
.about-organogram-section {
    padding: 100px 0;
    background: var(--white);
}

.section-title-dark-center {
    text-align: center;
    color: var(--green-dark);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.organogram-image-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.organogram-image-card:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(15, 59, 38, 0.06);
}

.organogram-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.organogram-overlay-caption {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--gray-600);
    font-style: italic;
    font-weight: 600;
}

/* Executive Structure Section */
.about-structure-section {
    padding: 100px 0;
    background: var(--cream-light);
}

.about-structure-section h3 {
    text-align: center;
    color: var(--green-dark);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.about-structure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-structure-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: 0 10px 30px rgba(15, 59, 38, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: all 0.4s ease;
}

.about-structure-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(15, 59, 38, 0.1);
}

.avatar-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: var(--shadow-md);
    background: var(--cream);
    padding: 4px;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.structure-name {
    font-weight: 700;
    color: var(--black);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.structure-role {
    font-size: 0.88rem;
    color: var(--gold-dark);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-photo-wrapper {
        float: none;
        width: 100%;
        max-width: 550px;
        margin: 0 auto 40px;
        display: block;
        padding-right: 15px;
        padding-bottom: 15px;
    }

    .about-vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-structure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-chairman-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .chairman-divider {
        margin: 0 auto 30px;
    }

    .about-flag-demographics-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .about-history-section,
    .about-vision-mission-section,
    .about-structure-section,
    .about-chairman-profile-section,
    .about-flag-demographics-section,
    .about-organogram-section {
        padding: 60px 0;
    }

    .about-text-content h3,
    .about-structure-section h3,
    .about-chairman-content h3,
    .section-title-dark-center {
        font-size: 1.8rem;
    }

    .about-photo-wrapper {
        max-width: 500px;
        margin: 0 auto 45px;
    }

    .about-vision-card,
    .about-mission-card {
        padding: 30px;
    }

    .about-card-inner {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .about-structure-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .gender-ratio-container {
        grid-template-columns: 1fr;
    }

    .organogram-image-card {
        padding: 15px;
    }
}