/* style/about.css */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --background-light: #F4F7FB;
    --text-main: #1F2D3D;
    --card-bg: #FFFFFF;
    --border-color: #D6E2FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --glow-color: #A5C4FF;
}

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--background-light);
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    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: var(--secondary-color);
    border-radius: 2px;
}

.page-about__dark-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-about__dark-section .page-about__section-title {
    color: #ffffff;
}

.page-about__dark-section .page-about__section-title::after {
    background-color: var(--glow-color);
}

.page-about__light-bg {
    background-color: var(--background-light);
    color: var(--text-main);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-light);
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-about__hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-content p {
    font-size: 20px;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-about__button-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
    box-shadow: none;
}

.page-about__button-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
}

/* General Text */
.page-about p {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-main);
    text-align: justify;
}

.page-about__introduction p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Mission & Vision */
.page-about__mission-vision {
    background-color: var(--primary-color);
    color: #ffffff;
}

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

.page-about__grid-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__grid-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-about__grid-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-about__grid-item p {
    color: #f0f0f0;
    font-size: 16px;
    text-align: center;
}

/* Core Values */
.page-about__core-values {
    background-color: var(--card-bg);
}

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

.page-about__value-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 1px solid var(--border-color);
}

.page-about__value-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about__value-item p {
    font-size: 16px;
    color: var(--text-main);
    text-align: justify;
}

/* History */
.page-about__history-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-about__history-content img {
    flex: 1; /* Allows image to take available space */
    min-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-about__history-text {
    flex: 2; /* Allows text to take more space */
    text-align: left;
}

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

.page-about__team-member {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-about__team-member img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--secondary-color);
}

.page-about__member-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.page-about__member-role {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-about__member-description {
    font-size: 15px;
    color: var(--text-main);
    text-align: center;
}

/* Security */
.page-about__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-about__feature-item p {
    color: #f0f0f0;
    font-size: 16px;
    text-align: justify;
}

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

.page-about__experience-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-about__experience-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-about__item-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-about__experience-item p {
    font-size: 16px;
    color: var(--text-main);
    text-align: center;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--background-light);
}

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

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

details.page-about__faq-item summary.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
    display: none;
}

details.page-about__faq-item summary.page-about__faq-question:hover {
    background: #f5f5f5;
}

.page-about__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-main);
}

.page-about__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 20px;
    background: #fcfcfc;
    border-radius: 0 0 12px 12px;
}

details.page-about__faq-item .page-about__faq-answer p {
    font-size: 16px;
    color: #555555;
    text-align: justify;
    margin-bottom: 0;
}

/* Bottom CTA */
.page-about__cta-bottom {
    background-color: var(--primary-color);
    color: #ffffff;
    padding-bottom: 80px;
}

.page-about__cta-bottom .page-about__section-title {
    margin-bottom: 20px;
}

.page-about__cta-bottom p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-about__cta-bottom .page-about__cta-button {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-content h1 {
        font-size: 42px;
    }
    .page-about__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__hero-image img {
        border-radius: 8px;
    }

    .page-about__hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-about__hero-content p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin: 10px 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__button-secondary {
        margin-left: 0;
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-about p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .page-about__grid-item img {
        max-width: 200px;
    }

    .page-about__grid-title {
        font-size: 24px;
    }

    .page-about__value-title {
        font-size: 20px;
    }

    .page-about__history-content {
        flex-direction: column;
    }

    .page-about__history-text {
        text-align: center;
    }

    .page-about__team-member img {
        
        
    }

    .page-about__member-name {
        font-size: 20px;
    }

    .page-about__feature-title {
        font-size: 20px;
    }

    .page-about__item-title {
        font-size: 20px;
    }

    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px 20px;
    }

    .page-about__faq-qtext {
        font-size: 16px;
    }

    .page-about__faq-toggle {
        font-size: 24px;
        width: 24px;
    }

    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 20px 15px;
    }

    .page-about__cta-bottom p {
        font-size: 18px;
    }

    .page-about__cta-bottom .page-about__cta-button {
        margin: 10px 0;
        width: 100% !important;
    }

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}