:root {
    --tabs-bg: #181818;
    --tab-hover: #ffffffa1;
    --yellow-color: #F6C900;
    --timeline-color: #777777;
    --position-gray: #a5a5a5;
    --partner-bg: #F9F9F9;
    --box-title: #242424;
}

.about-page .page-header {
    background-image: url('/assets/img/layers/line-layer.png');
    background-repeat: repeat;
    height: 412px;
}

.about-page .page-header h4 {
    font-size: 80px;
}

.about-page .page-header .page-desc {
    font-size: 20px;
    color: var(--timeline-color);
    max-width: 50%;
}

.about-page .about-tabs {
    background-color: var(--tabs-bg);
    padding-top: 10px;
    font-size: 16px;
}

.about-page .about-tabs .nav-link:hover {
    color: var(--yellow-color) !important;
}

.about-page .about-tabs .nav-link.active {
    color: var(--yellow-color) !important;   
    font-weight: bold;
    border-bottom: 3px solid var(--yellow-color);
}

.about-page .tab-contents {
    /* margin-top: 64px; */
}

.about-page .page-content:not(.active) {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.about-page .page-content.history {
}

.about-page .page-content.history .history-header {
    background-color: var(--tabs-bg);
    /* padding: 64px 0; */
    padding-bottom: 64px;
}

.about-page .page-content.history .content-image {
    max-height: 700px;
}

.about-page .page-content.history .name-divider .line {
    height: 2px;
    background-color: var(--yellow-color);
}

.about-page .page-content.history .divider-text {
    font-size: 160px;
    color: var(--yellow-color);
}

.about-page .page-content.history .history-title-text {
    font-size: 32px;
}

.about-page .page-content.history .history-desc-text {
    font-size: 20px;
    width: 50%;
}

.about-page .page-content.history .history-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page .page-content.history .history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: black;
}

.about-page .page-content.history .timeline-item {
    position: relative;
    padding: 80px 0;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-page .page-content.history .timeline-item:last-child {
    margin-bottom: 0;
}

.about-page .page-content.history .timeline-content {
    width: 50%;
    position: relative;
}

.about-page .page-content.history .timeline-content.text-content {
    position: relative;
}

.about-page .page-content.history .horizontal-line {
    width: 100%;
    height: 2px;
    background-color: black;
    margin: 20px 0;
}

.about-page .page-content.history .timeline-content.left.text-content::before {
    right: 0;
}

.about-page .page-content.history .timeline-content.right.text-content::before {
    left: 0;
}

.about-page .page-content.history .timeline-year {
    font-size: 140px;
    font-weight: bold;
    color: black;
    position: relative;
    z-index: 1;
}

.about-page .page-content.history .timeline-text {
    color: var(--timeline-color);
    font-size: 24px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.about-page .page-content.history .timeline-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.about-page .page-content.history .logo-box {
    margin: 80px 0;
}

@media (max-width: 768px) {
    .about-page .page-content.history .divider-text {
        font-size: 120px;
    }
    .about-page .page-content.history .history-desc-text {
        width: 100%;
        padding: 0 16px;
    }
    .about-page .about-tabs {
        font-size: 14px;
    }
    
    .about-page .page-content.history .history-timeline::before {
        left: 30px;
    }

    .about-page .page-content.history .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-page .page-content.history .timeline-content {
        width: 95%;
    }
    
    .about-page .page-content.history .timeline-content.left.text-content::before,
    .about-page .page-content.history .timeline-content.right.text-content::before {
        left: 0;
    }

    .about-page .page-content.history .timeline-year {
        font-size: 28px;
    }

    .about-page .page-content.history .timeline-text {
        font-size: 18px;
    }

    .about-page .page-content.history .timeline-image {
        height: 250px;
    }

    .about-page .page-header h4 {
        font-size: 40px;
    }
    .about-page .page-header .page-desc {
        max-width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .about-page .page-content.history .divider-text {
        font-size: 80px;
    }
    .about-page .about-tabs {
        font-size: 12px;
    }
}

/* Management Structure Styles */
.management-container {
    padding: 64px 24px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.management-section {
    margin-bottom: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.management-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.management-box {
    background: #F2EDE4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding-top: 40px;
    width: 100%;
    max-width: 360px;
}

.box-image {
    width: 272px;
    height: 355px;
    margin: 0 auto;
    overflow: hidden;
}

.box-image.empty {
    background-color: white;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-content {
    padding: 24px;
    text-align: center;
}

.box-content .name {
    font-size: 18px;
    margin-bottom: 8px;
}

.box-content .position {
    font-size: 14px;
    color: var(--position-gray);
    margin: 0;
}

/* Grid Layouts */
.founders-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 760px;
}

.executive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1160px;
}

.executive-grid .management-box:first-child {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
}

.headquarters-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1160px;
}

.dall-cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 850px;
    place-items: center;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .management-container {
        padding: 48px 16px;
    }
}

@media (max-width: 1200px) {
    .dall-cabinet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .management-box {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .executive-grid,
    .headquarters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .box-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .management-container {
        padding: 32px 16px;
    }

    .management-section {
        margin-bottom: 48px;
    }

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

    .management-box {
        max-width: 360px;
    }

    .box-image {
        height: 300px;
    }

    .box-content {
        padding: 16px;
    }

    .founders-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .executive-grid,
    .headquarters-grid,
    .dall-cabinet-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 360px;
    }

    .executive-grid .management-box:first-child {
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .management-container {
        padding: 24px 12px;
    }

    .box-image {
        height: 250px;
    }

    .box-content {
        padding: 12px;
    }

    .box-content .position {
        font-size: 13px;
    }
}

/* Partners Section Styles */
.partners-container {
    padding: 64px 0px;
    width: 100%;
    box-sizing: border-box;
}

.partner-row {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 80px;
}

.partner-row:last-child {
    margin-bottom: 0;
}

.partner-row.reverse {
    flex-direction: row-reverse;
}

.partner-content {
    width: 50%;
    height: 280px;
    min-height: fit-content;
    flex: 1;
    padding: 60px 30px;
    background: var(--partner-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-name {
    font-size: 32px;
    margin-bottom: 16px;
}

.partner-desc {
    font-size: 16px;
    color: var(--timeline-color);
    margin-bottom: 24px;
    line-height: 1.6;
}

.partner-action-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.partner-action-btn:hover {
    background: #333;
}

.partner-image {
    width: 50%;
    flex: 1;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-image img {
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
}

.partner-image.taj-image img {
    max-width: 400px;
    max-height: 400px;
    border-radius: 4px;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .partners-container {
        padding: 48px 16px;
    }
    
    .partner-row {
        gap: 32px;
        margin-bottom: 64px;
    }
    
    .partner-content {
        padding: 32px;
    }
    
    .partner-name {
        font-size: 28px;
    }
    
    .partner-desc {
        font-size: 16px;
    }
    
    .partner-image {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .partner-row {
        flex-direction: column-reverse !important;
        gap: 24px;
        margin-bottom: 48px;
    }
    
    .partner-content {
        width: 100%;
    }
    
    .partner-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .partners-container {
        padding: 32px 16px;
    }
    
    .partner-content {
        padding: 24px;
    }
    
    .partner-name {
        font-size: 24px;
    }
    
    .partner-desc {
        font-size: 15px;
    }
    
    .partner-action-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .partner-image {
        height: 250px;
    }
    .partner-image.taj-image img {
        max-width: 250px;
        max-height: 250px;
    }
    .partner-image.taj-image img {
        max-width: 300px;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .partners-container {
        padding: 24px 12px;
    }
    
    .partner-content {
        padding: 20px;
    }
    
    .partner-name {
        font-size: 20px;
    }
    
    .partner-desc {
        font-size: 14px;
    }
    
    .partner-image {
        height: 200px;
    }
}

/* Groups Section Styles */
.groups-container {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 64px;
}

.group-row {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.group-row.reverse {
    flex-direction: row;
}

.group-row:not(:first-child) {
    margin-top: 40px;
}

.group-image {
    width: 50%;
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.group-image img {
    /* width: 100%; */
    height: 100%;
    /* object-fit: cover; */
    max-width: 100%;
}

.group-content {
    width: 50%;
    height: 500px;
    background: var(--partner-bg);
    padding: 60px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.group-name {
    font-size: 32px;
    margin-bottom: 24px;
}

.group-desc {
    font-size: 16px;
    color: var(--timeline-color);
    line-height: 1.8;
}

@media (max-width: 1200px) {
    .group-content {
        padding: 40px 20px;
    }
    
    .group-name {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .group-row {
        flex-direction: column !important;
    }
    
    .group-image,
    .group-content {
        width: 100%;
        height: 300px;
    }
    
    .group-content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .group-image {
        height: 250px;
    }
    
    .group-content {
        padding: 24px;
        margin-top: 24px;
    }
    
    .group-name {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .group-desc {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .group-image {
        height: 200px;
    }
    
    .group-content {
        padding: 20px;
    }
    
    .group-name {
        font-size: 20px;
    }
    
    .group-desc {
        font-size: 14px;
    }
}

.philosophy-header {
    background-image: url('/assets/img/pages/about/philosophy/philosophy-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}

.philosophy-header .philosophy-title {
    font-size: 140px;
    color: var(--yellow-color);
}

.philosophy-box .box-title {
    font-size: 32px;
    color: var(--box-title);
}

.philosophy-box .box-subtitle {
    font-size: 20px;
    color: var(--timeline-color);
}

.about-page .page-content.philosophy .philosophy-text {
    font-size: 22px;
    color: var(--timeline-color);
    border-inline-start: 2px solid var(--box-title);
}

.philosophy-row .daal-box .daal-title {
    font-size: 30px;
    color: var(--box-title);
}

.philosophy-row .daal-box .daal-subtitle {
    font-size: 16px;
    color: var(--timeline-color);
}

.philosophy-row .daal-box .daal-box-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.philosophy-row .daal-box.right-daal {
    margin-top: 100px;
}

.philosophy-row .row-title {
    font-size: 48px;
    color: var(--box-title);
}

.philosophy-row .row-desc {
    font-size: 20px;
    color: var(--timeline-color);
}

.philosophy-row.data-row {
    max-width: 55%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .philosophy-header .philosophy-title {
        font-size: 90px;
    }
    .philosophy-row.data-row {
        max-width: 100%;
    }
    .philosophy-row .daal-box {
        width: 100% !important;
    }
    .philosophy-row .daal-box.right-daal {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .philosophy-header .philosophy-title {
        font-size: 60px;
    }
}