/* =========================================
   ABOUT PAGE CONTENT STYLES
   ========================================= */

.about-hero-section {
    padding: 120px 0 80px;
    /* Reduced from 160px 0 100px */
    background-color: #000000;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* =========================================
   OFFICE & LEADERSHIP SECTION
   ========================================= */

.about-info-section {
    padding: 100px 0;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px;
    transition: all 0.4s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.info-title {
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.info-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.ceo-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 12px 20px;
    background: rgba(108, 59, 255, 0.1);
    border-radius: 100px;
}

.ceo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 14px;
}

.ceo-name {
    font-weight: 700;
    color: #FFFFFF;
    font-size: 15px;
}

/* =========================================
   COMPANY SUMMARY SECTION
   ========================================= */

.about-summary-section {
    padding: 100px 0 160px;
    background-color: #000000;
}

.summary-header {
    margin-bottom: 60px;
    text-align: center;
}

.summary-header h2 {
    font-size: 3rem;
    font-weight: 850;
    color: #FFFFFF;
}

/* =========================================
   SUBSIDIARY INTERACTIVE SECTION (TABS)
   ========================================= */

.subsidiary-interactive-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 40px;
    min-height: 500px;
    backdrop-filter: blur(10px);
}

.subsidiary-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-item {
    position: relative;
    padding: 20px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    background: transparent;
}

.tab-item .tab-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.tab-item .tab-indicator {
    position: absolute;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--item-accent);
    border-radius: 10px;
    transition: height 0.3s;
}

.tab-item:hover .tab-name {
    color: rgba(255, 255, 255, 0.8);
}

.tab-item.active {
    background: rgba(255, 255, 255, 0.03);
}

.tab-item.active .tab-name {
    color: #FFFFFF;
    font-weight: 700;
}

.tab-item.active .tab-indicator {
    height: 60%;
}

/* Content Panel */
.subsidiary-content-panel {
    position: relative;
    overflow: hidden;
}

.agency-content-view {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.agency-content-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.agency-view-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.agency-view-title {
    font-size: 2.2rem;
    font-weight: 850;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.agency-view-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

.btn-view-agency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-view-agency:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.agency-view-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agency-logo-main {
    width: 250px;
    height: 250px;
    background: white;
    padding: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.agency-logo-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.agency-logo-fallback {
    width: 180px;
    height: 180px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

/* Mobile Adjustments - Enhanced for professional feel */
@media (max-width: 900px) {
    .subsidiary-interactive-wrapper {
        grid-template-columns: 1fr;
        padding: 24px 16px;
        gap: 30px;
        min-height: auto;
        border-radius: 24px;
    }

    .subsidiary-tabs {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 5px;
        margin-bottom: 10px;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar IE/Edge */
    }

    .subsidiary-tabs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .tab-item {
        white-space: nowrap;
        padding: 10px 18px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .tab-item .tab-name {
        font-size: 0.95rem;
    }

    .tab-item .tab-indicator {
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px !important;
        top: auto;
        border-radius: 0;
    }

    .agency-view-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .agency-view-image {
        order: -1;
        /* Image first on mobile */
    }

    .agency-logo-main {
        width: 160px;
        height: 160px;
        padding: 20px;
        border-radius: 20px;
    }

    .agency-view-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .agency-view-desc {
        font-size: 1rem;
        text-align: justify;
        text-justify: inter-word;
        margin-bottom: 24px;
    }

    .agency-view-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Content */
.about-hero-tag {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    /* Using Purple Brand Color */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    display: inline-block;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.about-hero-title span {
    color: var(--color-primary);
    /* Highlight color */
}

.about-hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 45px;
    max-width: 550px;
}

.about-hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-with-arrow {
    background: var(--color-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-with-arrow:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 59, 255, 0.4);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Right Image */
.about-hero-image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    height: 550px;
    /* Reduced height as requested */
}

.about-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crops the image without stretching */
    object-position: top;
    /* Ensures the face stays visible */
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .about-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-buttons {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 100px 0 60px;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn-with-arrow,
    .btn-outline-white {
        justify-content: center;
        width: 100%;
    }

    .about-info-section {
        padding: 60px 0;
    }

    .info-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .info-title {
        font-size: 1.6rem;
    }

    .about-summary-section {
        padding: 60px 0 100px;
    }

    .summary-header h2 {
        font-size: 2.2rem;
    }

    .summary-item {
        padding: 25px 20px;
        border-radius: 0 15px 15px 0;
    }

    .about-hero-image-wrapper {
        border-radius: 20px;
    }
}

/* =========================================
   REUSABLE DIVIDERS
   ========================================= */

.about-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    position: relative;
    margin: 0;
}

/* =========================================
   SPECIFIC ABOUT PAGE ANIMATIONS
   ========================================= */

/* Hero Title reveal */
.about-hero-title {
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered buttons reveal */
.about-hero-buttons {
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Enhanced Summary Item animation */
.summary-item.is-revealed {
    animation: swipeReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes swipeReveal {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        border-left-width: 0;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        border-left-width: 5px;
    }
}

/* Image reveal with slight scale */
.about-hero-image-wrapper.is-revealed img {
    animation: imageReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes imageReveal {
    0% {
        transform: scale(1.1) rotate(2deg);
        filter: blur(10px);
    }

    100% {
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}