/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Text color for dark body background */
    background-color: transparent; /* body background is handled by shared.css */
}

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

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

.page-about__section:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-about__hero-section {
    position: relative;
    padding: 80px 0 60px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.7)), url('[GALLERY:hero_bg:1920x1080:abstract,geometric,dark,gold,red,tech]') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-about__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-about__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold brand color */
    color: #121212; /* Dark text for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-about__hero-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-about__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-about__heading {
    font-size: 2.5em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-about__sub-heading {
    font-size: 1.8em;
    color: #B22222; /* Red brand color */
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.page-about__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.page-about__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #FFD700; /* Gold accent */
    border-radius: 5px;
    font-size: 1.05em;
    color: #ffffff;
}

.page-about__list-item strong {
    color: #FFD700;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__contact-button {
    display: inline-block;
    background-color: #B22222; /* Red brand color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.page-about__contact-button:hover {
    background-color: #8c1b1b; /* Darker red on hover */
}

.page-about__career-link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-about__career-link:hover {
    color: #e6c200;
}

/* FAQ Section Styling */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-about__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #FFD700;
}

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

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    text-align: left;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px 25px;
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-answer a {
    color: #FFD700;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__heading {
        font-size: 2em;
    }
    .page-about__sub-heading {
        font-size: 1.5em;
    }
    .page-about__text, .page-about__list-item {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding: 60px 0 40px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__heading {
        font-size: 1.8em;
    }
    .page-about__sub-heading {
        font-size: 1.3em;
    }
    .page-about__text, .page-about__list-item, .page-about__faq-title {
        font-size: 0.95em;
    }

    /* Images responsive for mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__image-container,
    .page-about__hero-image { /* Specific image containers */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsive for mobile */
    .page-about__hero-button,
    .page-about__contact-button,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add some spacing between stacked buttons */
    }
    /* Button groups or containers */
    .page-about__button-group,
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    .page-about__faq-question {
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px 20px;
    }
}