:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* Assuming this is the body background from shared.css */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page, assuming body is deep-navy */
    background-color: var(--deep-navy); /* Ensure consistency if body bg is not explicitly set by shared */
}

/* Page sections */
.page-about__section {
    padding: 60px 20px;
    margin-bottom: 0; /* No margin between sections */
    box-sizing: border-box;
}

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

.page-about__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color); /* Titles can use gold for emphasis */
    line-height: 1.2;
}

/* 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 as body handles header offset */
    background-color: var(--deep-navy); /* Ensure hero background is dark */
}

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

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.page-about__hero-content h1 {
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px; /* Constrain H1 width */
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
}

.page-about__hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px; /* Rounded buttons */
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

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

/* Dark Background Sections (like mission, values) */
.page-about__dark-bg {
    background-color: var(--deep-navy); /* Dark background */
    color: var(--text-main); /* Light text */
}

.page-about__dark-bg .page-about__section-title {
    color: var(--gold-color);
}

/* Light Background Sections (like why choose, cta join, faq) */
.page-about__light-bg {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
}

.page-about__light-bg .page-about__section-title {
    color: var(--primary-color); /* Dark title for light background */
}

.page-about__light-bg p,
.page-about__light-bg li,
.page-about__light-bg .page-about__card-title {
    color: #333333; /* Ensure dark text on light background */
}

/* Mission Section */
.page-about__mission .page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 40px;
    align-items: center;
}

.page-about__mission .page-about__image-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose Section */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-about__feature-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Ensure images are not small */
}

.page-about__feature-card .page-about__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-about__feature-card p {
    font-size: 16px;
    color: #555555;
}

/* Values Section */
.page-about__values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

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

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

/* CTA Join Section */
.page-about__cta-join {
    text-align: center;
    background-color: var(--secondary-color); /* Using auxiliary color for CTA background */
    color: #ffffff;
}

.page-about__cta-join .page-about__section-title {
    color: #ffffff;
}

.page-about__cta-join p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: #f9f9f9; /* Lighter background for FAQ */
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333; /* Dark text on light background */
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
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;
  text-align: left;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555555; /* Slightly lighter dark text for answer */
  font-size: 15px;
}
details.page-about__faq-item .page-about__faq-answer p {
    margin-bottom: 0;
    color: #555555;
}


/* Responsive Design */
@media (min-width: 769px) {
    .page-about__mission .page-about__content-grid {
        grid-template-columns: 1fr 1fr; /* Two columns for larger screens */
    }
    .page-about__mission .page-about__image-block {
        order: 2; /* Image on right for mission section */
    }
    .page-about__mission .page-about__text-block {
        order: 1; /* Text on left for mission section */
    }
}

@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important; /* Body handles header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
        max-width: 100%;
    }
    .page-about__hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
        max-width: 100%;
    }
    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-about__features-grid,
    .page-about__values-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__feature-card,
    .page-about__value-item {
        padding: 25px;
    }
    .page-about__feature-card .page-about__card-title {
        font-size: 20px;
    }
    .page-about__value-item .page-about__value-title {
        font-size: 22px;
    }

    /* Images responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* FAQ mobile */
    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px;
    }
    .page-about__faq-qtext {
        font-size: 15px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 15px;
    }
}

/* Ensure images are not small */
.page-about img {
    min-width: 200px;
    min-height: 200px;
}
.page-about__hero-image img {
    min-width: unset; /* Hero image can be larger */
    min-height: unset;
}