/* style/about.css */
:root {
    --primary-color: #0A1931;
    --secondary-color: #FFD700;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F8F8F8;
    --bg-dark-accent: #1A2E47;
    --border-color: #e0e0e0;
}

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

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

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

.page-about-section:nth-of-type(even) {
    background-color: var(--bg-dark-accent);
    color: var(--text-light);
}

.page-about-section:nth-of-type(even) .page-about-heading,
.page-about-section:nth-of-type(even) .page-about-sub-heading,
.page-about-section:nth-of-type(even) .page-about-feature-title,
.page-about-section:nth-of-type(even) .page-about-feature-description,
.page-about-section:nth-of-type(even) .page-about-commitment-title,
.page-about-section:nth-of-type(even) .page-about-commitment-description,
.page-about-section:nth-of-type(even) .page-about-timeline-content h3,
.page-about-section:nth-of-type(even) .page-about-timeline-content p {
    color: var(--text-light);
}

.page-about-heading {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about-sub-heading {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
}

.page-about-section:nth-of-type(even) .page-about-sub-heading {
    color: #bbb;
}

/* Hero Section */
.page-about-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--primary-color);
    overflow: hidden;
}

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

.page-about-hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.page-about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light);
}

.page-about-hero-title {
    font-size: 3.8em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-about-hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-about-cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about-cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-about-introduction .page-about-container {
    text-align: left;
}

.page-about-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-about-content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.page-about-text-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-about-section:nth-of-type(even) .page-about-text-content p {
    color: var(--text-light);
}

.page-about-image-wrapper {
    text-align: center;
}

.page-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-about-why-choose {
    background-color: var(--bg-dark-accent);
}

.page-about-why-choose .page-about-heading,
.page-about-why-choose .page-about-sub-heading {
    color: var(--text-light);
}

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

.page-about-feature-item {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-about-feature-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about-feature-description {
    font-size: 1.1em;
    color: var(--text-light);
}

/* Commitments Section */
.page-about-commitments {
    background-color: var(--bg-light);
}

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

.page-about-commitment-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-about-commitment-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-about-commitment-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-about-commitment-description {
    font-size: 1.1em;
    color: var(--text-dark);
}

/* Journey Section */
.page-about-journey {
    background-color: var(--bg-dark-accent);
    color: var(--text-light);
}

.page-about-journey .page-about-heading,
.page-about-journey .page-about-sub-heading {
    color: var(--text-light);
}

.page-about-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.page-about-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 0;
}

.page-about-timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 50px;
}

.page-about-timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--primary-color);
    border: 4px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.page-about-timeline-item:nth-child(odd) {
    left: 0;
}

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

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

.page-about-timeline-year {
    position: absolute;
    top: 18px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5em;
    z-index: 2;
    left: calc(50% - 40px);
}

.page-about-timeline-content {
    padding: 20px 30px;
    background-color: var(--primary-color);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-about-timeline-content h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-about-timeline-content p {
    color: var(--text-light);
    font-size: 1em;
}

/* FAQ Section */
.page-about-faq {
    background-color: var(--bg-light);
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05em;
}

/* CTA Section */
.page-about-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark-accent));
    padding: 80px 20px;
    color: var(--text-light);
}

.page-about-cta .page-about-heading,
.page-about-cta .page-about-sub-heading {
    color: var(--text-light);
}

.page-about-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about-cta-register {
    margin-bottom: 20px;
}

.page-about-cta-contact {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.page-about-cta-contact:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about-hero-title {
        font-size: 3em;
    }
    .page-about-hero-description {
        font-size: 1.3em;
    }
    .page-about-heading {
        font-size: 2.5em;
    }
    .page-about-sub-heading {
        font-size: 1.1em;
    }
    .page-about-timeline-year {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 1.3em;
        left: calc(50% - 35px);
    }
    .page-about-timeline-item::after {
        width: 20px;
        height: 20px;
        right: -14px;
        top: 18px;
    }
    .page-about-timeline-item:nth-child(even)::after {
        left: -13px;
    }
}

@media (max-width: 768px) {
    .page-about-hero-section {
        padding: 60px 15px;
    }
    .page-about-hero-image {
        max-height: 350px;
    }
    .page-about-hero-title {
        font-size: 2.5em;
    }
    .page-about-hero-description {
        font-size: 1.1em;
    }
    .page-about-cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    .page-about-section {
        padding: 40px 0;
    }
    .page-about-heading {
        font-size: 2em;
    }
    .page-about-sub-heading {
        font-size: 1em;
    }
    .page-about-content-grid {
        grid-template-columns: 1fr;
    }
    .page-about-features-grid, .page-about-commitments-grid {
        grid-template-columns: 1fr;
    }
    .page-about-timeline::after {
        left: 31px;
    }
    .page-about-timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .page-about-timeline-item::before {
        left: 60px;
        margin-left: -10px;
    }
    .page-about-timeline-item::after {
        left: 15px;
    }
    .page-about-timeline-item:nth-child(even) {
        left: 0%;
    }
    .page-about-timeline-item:nth-child(even)::after {
        left: 15px;
    }
    .page-about-timeline-year {
        left: 0;
        top: 0;
        position: relative;
        margin-bottom: 10px;
        width: auto;
        height: auto;
        line-height: normal;
        font-size: 1.2em;
        background-color: transparent;
        color: var(--secondary-color);
        text-align: left;
    }
    .page-about-timeline-content {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-answer p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-about-hero-title {
        font-size: 2em;
    }
    .page-about-hero-description {
        font-size: 1em;
    }
    .page-about-cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-about-heading {
        font-size: 1.8em;
    }
    .page-about-sub-heading {
        font-size: 0.9em;
    }
    .page-about-feature-title,
    .page-about-commitment-title {
        font-size: 1.5em;
    }
    .page-about-timeline-content h3 {
        font-size: 1.3em;
    }
}