/* style/about.css */
.page-about {
    color: #ffffff; /* Default text color for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__dark-section {
    background-color: #0d0d0d; /* Slightly lighter than pure black for depth */
    color: #ffffff;
    padding: 60px 0;
}

.page-about__light-bg {
    background-color: #1a1a1a; /* Dark gray for contrast with dark-section */
    color: #ffffff;
    padding: 60px 0;
}

.page-about__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    text-align: center;
    overflow: hidden;
}

.page-about__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffc107;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #ffc107;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-align: justify;
}

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-about__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-about__card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
}

.page-about__card-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-about__card-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-about__sub-title {
    font-size: 2em;
    color: #ffc107;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 25px;
}

.page-about__value-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-about__value-item {
    background-color: #2a2a2a;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #e0e0e0;
    border-left: 5px solid #007bff;
}

.page-about__timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px 0;
}

.page-about__timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #007bff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.page-about__timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.page-about__timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #ffc107;
    border: 4px solid #007bff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.page-about__timeline-item:nth-child(even) {
    left: 50%;
}

.page-about__timeline-item:nth-child(even)::after {
    left: -16px;
}

.page-about__timeline-year {
    font-size: 1.5em;
    color: #ffc107;
    margin-bottom: 5px;
}

.page-about__timeline-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-card {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid #007bff;
    color: #ffffff;
}

.page-about__feature-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-about__feature-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

.page-about__team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-about__team-member-card {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-about__team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #ffc107;
}

.page-about__team-member-name {
    font-size: 1.5em;
    color: #ffc107;
    margin-bottom: 5px;
}

.page-about__team-member-role {
    font-size: 0.9em;
    color: #e0e0e0;
}

.page-about__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-about__faq-item {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #007bff;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
}

.page-about__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #ffc107;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

.page-about__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-about__cta-title {
    font-size: 2.8em;
    color: #ffc107;
    margin-bottom: 25px;
}

.page-about__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-about__btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
}

.page-about__btn-secondary:hover {
    background-color: #ffc107;
    color: #0d0d0d;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__timeline::before {
        left: 20px;
    }
    .page-about__timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }
    .page-about__timeline-item::after {
        left: 13px;
    }
    .page-about__timeline-item:nth-child(even) {
        left: 0;
    }
    .page-about__timeline-item:nth-child(even)::after {
        left: 13px;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__dark-section, .page-about__light-bg {
        padding: 40px 0;
    }
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__text-block {
        font-size: 0.95em;
    }
    .page-about__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-about__value-item {
        font-size: 1em;
    }
    .page-about__timeline {
        margin: 30px auto;
    }
    .page-about__features-grid {
        grid-template-columns: 1fr;
    }
    .page-about__team-grid {
        grid-template-columns: 1fr;
    }
    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-about__faq-answer {
        padding: 15px !important;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }
    
    /* Mobile image responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__cta-section,
    .page-about__faq-section,
    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__mission-vision-section,
    .page-about__history-section,
    .page-about__tech-security-section,
    .page-about__team-service-section,
    .page-about__csr-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-about__timeline-item {
        padding-left: 40px;
    }
    .page-about__timeline::before {
        left: 15px;
    }
    .page-about__timeline-item::after {
        left: 8px;
    }
    .page-about__timeline-item:nth-child(even)::after {
        left: 8px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
}