/* About Page Styles */

/* Page Header */
.about-page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    color: #fff;
}

.about-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-header-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-header-desc {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Overview */
.about-overview {
    padding: 4rem 0;
}

.about-main-content {
    background: white;
    border-radius: 10px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-sm);
}

/* Stats Section */
.about-stats-section {
    background-color: var(--light);
    padding: 4rem 0;
}

.about-stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.about-stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.about-stat-label {
    color: var(--neutral-600);
    font-size: var(--text-sm);
}

/* Timeline Section */
.about-timeline-section {
    padding: 4rem 0;
    position: relative;
}

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

.about-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.about-timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.about-timeline-content {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.about-timeline-year {
    color: var(--primary);
    font-weight: 600;
}

.about-timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
}

/* Core Values */
.about-values-section {
    padding: 4rem 0;
    background-color: var(--light);
}

.about-value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-5px);
}

.about-value-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-value-desc {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* === COMPANY DETAILS CARD FIXES === */
/* Fix for Company Details heading visibility */
.card-header.bg-primary.text-white {
    background: #1a365d !important;
    color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.card-header.bg-primary.text-white h3,
.card-header.bg-primary.text-white .h5,
.card-header.bg-primary.text-white .mb-0 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 600;
}

.card-header.bg-primary.text-white i {
    color: #ffffff !important;
}

.card-header.bg-primary.text-white h3.h5.mb-0 {
    color: #ffffff !important;
}

/* Company info list styling */
.company-info-list .info-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.company-info-list .info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.company-info-list .info-icon {
    background: #1a365d !important;
    color: #ffffff !important;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-info-list h4.h6 {
    color: #6c757d !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.company-info-list p.fw-medium {
    color: #1a365d !important;
    font-weight: 600;
    margin-bottom: 0;
}

/* === HIGH CONTRAST MODE SUPPORT === */
/* High contrast mode overrides for Company Details card */
.high-contrast .card-header.bg-primary.text-white,
body.tcl-high-contrast .card-header.bg-primary.text-white {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.high-contrast .card-header.bg-primary.text-white h3,
.high-contrast .card-header.bg-primary.text-white .h5,
.high-contrast .card-header.bg-primary.text-white .mb-0,
body.tcl-high-contrast .card-header.bg-primary.text-white h3,
body.tcl-high-contrast .card-header.bg-primary.text-white .h5,
body.tcl-high-contrast .card-header.bg-primary.text-white .mb-0 {
    color: #ffffff !important;
    text-shadow: none !important;
}

.high-contrast .card-header.bg-primary.text-white i,
body.tcl-high-contrast .card-header.bg-primary.text-white i {
    color: #ffffff !important;
}

/* High contrast mode for company info list */
.high-contrast .company-info-list .info-icon,
body.tcl-high-contrast .company-info-list .info-icon {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.high-contrast .company-info-list h4.h6,
body.tcl-high-contrast .company-info-list h4.h6 {
    color: #000000 !important;
}

.high-contrast .company-info-list p.fw-medium,
body.tcl-high-contrast .company-info-list p.fw-medium {
    color: #000000 !important;
}

/* High contrast mode for the entire card */
.high-contrast .card,
body.tcl-high-contrast .card {
    background: #ffffff !important;
    border: 2px solid #000000 !important;
    box-shadow: none !important;
}

.high-contrast .card-body,
body.tcl-high-contrast .card-body {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Ensure all text in the card is visible in high contrast mode */
.high-contrast .card *,
body.tcl-high-contrast .card * {
    color: #000000 !important;
}

.high-contrast .card-header *,
body.tcl-high-contrast .card-header * {
    color: #ffffff !important;
}

/* CSR Section */
.about-csr-section {
    background: var(--light);
    padding: 4rem 0;
}

.about-csr-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.3s ease;
}

.about-csr-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-csr-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-csr-desc {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.about-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.about-cta-buttons {
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .about-header-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .about-timeline::before {
        left: 31px;
    }

    .about-timeline-item {
        width: 100%;
        padding-left: 70px;
    }

    .about-stat-card,
    .about-value-card {
        margin-bottom: 1rem;
    }
}