/* style/about.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #071a42;
    --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: 0 20px;
}

.page-about section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-about section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-about .main-heading {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about .section-heading {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-about .section-heading::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 .sub-heading {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about .lead-text {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.page-about .paragraph-text {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-about .image-wrapper {
    text-align: center;
    margin: 40px 0;
}

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

/* Mission & Vision Section */
.page-about .mission-vision-section {
    background-color: var(--bg-light);
}

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

.page-about .grid-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Core Values Section */
.page-about .core-values-section {
    background-color: #e6f0ff; /* Light blue tint */
}

.page-about .values-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-about .values-list li {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .values-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-about .list-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

/* Why Choose Us Section */
.page-about .why-choose-us-section {
    background-color: var(--bg-light);
}

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

.page-about .card {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about .card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about .cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(90deg, var(--primary-color), #003366);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about .cta-text {
    font-size: 1.8em;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: bold;
}

.page-about .cta-button {
    display: inline-block;
    padding: 16px 45px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.page-about .cta-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* Commitment Section */
.page-about .commitment-section {
    background-color: #f0f8ff; /* Another light blue tint */
}

.page-about .commitment-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-about .commitment-list li {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .commitment-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Contact Info Section */
.page-about .contact-info-section {
    background-color: var(--bg-light);
}

.page-about .contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    font-size: 1.1em;
    line-height: 2;
}

.page-about .contact-list li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.page-about .contact-list strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-about .faq-section {
    background-color: #fbfbfb;
}

.page-about .faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--text-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #fdfdfd;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
    text-align: justify;
}

.page-about .btn-inline {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about .btn-inline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about .main-heading {
        font-size: 2.2em;
    }
    .page-about .section-heading {
        font-size: 1.8em;
    }
    .page-about .sub-heading {
        font-size: 1.4em;
    }
    .page-about .lead-text {
        font-size: 1.1em;
    }
    .page-about .cta-text {
        font-size: 1.5em;
    }
    .page-about .cta-button {
        padding: 14px 35px;
        font-size: 1.1em;
    }
    .page-about .content-grid, .page-about .values-list, .page-about .feature-cards, .page-about .commitment-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about section {
        padding: 40px 0;
    }
    .page-about .main-heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-about .section-heading {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-about .lead-text {
        font-size: 1em;
    }
    .page-about .paragraph-text {
        font-size: 0.95em;
    }
    .page-about .card, .page-about .grid-item, .page-about .values-list li, .page-about .commitment-list li {
        padding: 20px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-about .main-heading {
        font-size: 1.5em;
    }
    .page-about .section-heading {
        font-size: 1.4em;
    }
    .page-about .sub-heading {
        font-size: 1.2em;
    }
    .page-about .cta-text {
        font-size: 1.2em;
    }
    .page-about .cta-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }
    .page-about .contact-list li {
        font-size: 1em;
    }
}