/* style/about.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F; /* Assuming body background from shared is dark */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Light text for dark body background */
    background-color: var(--background-color);
}

.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; /* Rely on body padding-top from shared for header offset */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

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

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

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

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

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Clamp for responsive H1, not fixed large */
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-about__intro-text {
    font-size: 1.1em;
    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: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    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(0, 0, 0, 0.4);
}

.page-about__section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.page-about__section-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-about__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-bottom: 60px;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
    min-width: 300px;
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

.page-about__mission-vision .page-about__text-block p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-about__history {
    background-color: var(--card-bg);
    padding-bottom: 40px;
}

.page-about__timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-about__timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.page-about__timeline-item {
    width: 100%;
    padding: 20px;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.page-about__timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
    text-align: left;
}

.page-about__timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border: 3px solid var(--glow-color);
    border-radius: 50%;
    top: 26px;
    z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::before {
    right: calc(50% - 8px);
}

.page-about__timeline-item:nth-child(even)::before {
    left: calc(50% - 8px);
}

.page-about__timeline-year {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 5px;
}

.page-about__timeline-event {
    color: var(--text-secondary);
}

.page-about__history-image {
    margin-top: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
}

.page-about__dark-section {
    background-color: var(--deep-green-color);
    color: var(--text-main);
}

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

.page-about__dark-section .page-about__section-description {
    color: var(--text-secondary);
}

.page-about__core-values {
    padding-bottom: 80px;
}

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

.page-about__value-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-about__value-card p {
    color: var(--text-secondary);
}

.page-about__security {
    background-color: var(--background-color);
}

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

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

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

.page-about__feature-item p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.page-about__link-text {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__link-text:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-about__security-image {
    margin-top: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
}

.page-about__social-responsibility {
    background-color: var(--deep-green-color);
}

.page-about__responsibility-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
    margin-top: 40px;
}

.page-about__point-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__point-card p {
    color: var(--text-secondary);
}

.page-about__responsibility-image {
    margin-top: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
}

.page-about__team {
    background-color: var(--background-color);
}

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

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

.page-about__team-member img {
    
    
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px;
    width: 100%;
    height: auto;
}

.page-about__member-name {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.page-about__member-position {
    font-size: 0.95em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-about__member-bio {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.page-about__contact-cta {
    background-color: var(--deep-green-color);
}

.page-about__contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.page-about__contact-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-about__contact-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-about__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-about__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-green-color);
    box-shadow: 0 4px 12px rgba(242, 193, 78, 0.3);
}

.page-about__faq {
    background-color: var(--background-color);
}

.page-about__faq-list {
    margin-top: 40px;
    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);
}
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: var(--deep-green-color);
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px;
  background: var(--deep-green-color);
  border-radius: 0 0 12px 12px;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
    .page-about__timeline::before {
        left: 20px;
        transform: translateX(0);
    }
    .page-about__timeline-item {
        padding-left: 50px;
        padding-right: 20px;
        text-align: left;
    }
    .page-about__timeline-item:nth-child(odd) {
        padding-right: 20px;
        text-align: left;
    }
    .page-about__timeline-item:nth-child(odd)::before {
        left: 12px;
        right: auto;
    }
    .page-about__timeline-item:nth-child(even)::before {
        left: 12px;
    }
    .page-about__contact-flex {
        flex-direction: column;
        align-items: center;
    }
    .page-about__contact-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-about__intro-text {
        font-size: 1em;
    }
    .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;
        margin-left: auto;
        margin-right: auto;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__section-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
    }
    .page-about__section-description {
        font-size: 0.95em;
    }
    .page-about__values-grid, .page-about__security-features, .page-about__responsibility-points, .page-about__team-grid {
        grid-template-columns: 1fr;
    }
    .page-about__image-block img,
    .page-about__history-image,
    .page-about__security-image,
    .page-about__responsibility-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-about__team-member img {
        width: 200px;
        height: 200px;
        min-width: 200px !important;
        min-height: 200px !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-about__contact-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-about__contact-buttons .page-about__cta-button {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
    .page-about__faq-qtext { font-size: 1em; }
    details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-about__section-title {
        font-size: clamp(1.6em, 7vw, 2em);
    }
    .page-about__timeline-item::before {
        left: 10px;
    }
    .page-about__timeline-item {
        padding-left: 40px;
    }
    .page-about__timeline-year {
        font-size: 1.4em;
    }
    .page-about__cta-button {
        font-size: 15px;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
    .page-about__feature-title, .page-about__point-title {
        font-size: 1.2em;
    }
}