:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --page-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --text-dark: #333333; /* For light backgrounds */
    --text-light: #ffffff; /* For dark backgrounds */
}

/* Base styles for the page-about scope */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark page-bg */
    background-color: var(--page-bg); /* Page background from custom palette */
}

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

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

.page-about__section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow effect */
}

.page-about__main-title {
    font-size: clamp(24px, 5vw, 48px); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-about__description {
    font-size: 18px;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* 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, body handles header offset */
    background-color: var(--page-bg);
}

.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;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

.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__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

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

/* Mission Section */
.page-about__section--mission {
    background-color: var(--page-bg);
}

.page-about__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-about__text-block {
    flex: 1;
    color: var(--text-main);
}

.page-about__text-block p {
    margin-bottom: 20px;
    font-size: 16px;
}

.page-about__image-block {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.2);
}

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

.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.page-about__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.4);
}

/* Values Section */
.page-about__section--values {
    background-color: var(--card-bg); /* Darker background for cards */
    padding-bottom: 80px;
}

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

.page-about__card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main); /* Text color for dark card background */
}

.page-about__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 211, 107, 0.4);
}

.page-about__card img {
    width: 100%;
    height: 200px; /* Fixed height for better grid alignment */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

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

/* Why Choose Section */
.page-about__section--why-choose {
    background-color: var(--page-bg);
    padding-bottom: 80px;
}

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

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

.page-about__feature-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.page-about__feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 15px;
}

.page-about__feature-list li::before {
    content: '★'; /* Star icon */
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.page-about__cta-bottom {
    margin-top: 60px;
}

/* FAQ Section */
.page-about__section--faq {
    background-color: var(--card-bg);
    padding-bottom: 80px;
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: #1a1a1a; /* Slightly lighter dark for FAQ items */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
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: var(--text-light);
}
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: #2a2a2a; /* Lighter on hover */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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: #0d0d0d; /* Darker background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
  font-size: 15px;
}
details.page-about__faq-item[open] summary.page-about__faq-question {
    background: #2a2a2a;
}
details.page-about__faq-item[open] .page-about__faq-toggle {
    color: var(--primary-color);
}

/* Contact Section */
.page-about__section--contact {
    background-color: var(--page-bg);
}

.page-about__contact-description {
    font-size: 18px;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* All Images */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-about__text-block,
    .page-about__image-block {
        flex: none;
        width: 100%;
    }
    .page-about__image-block {
        margin-top: 30px;
    }
    .page-about__section-title {
        font-size: 30px;
    }
    .page-about__main-title {
        font-size: clamp(22px, 6vw, 40px);
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important; /* Body padding-top from shared */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__hero-image img {
        border-radius: 4px;
    }
    .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__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__main-title {
        font-size: clamp(20px, 7vw, 36px);
    }
    .page-about__description,
    .page-about__contact-description {
        font-size: 16px;
    }
    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr;
    }
    .page-about__card {
        padding: 20px;
    }
    .page-about__card img {
        
    }
    .page-about__card-title {
        font-size: 20px;
    }
    .page-about__feature-title {
        font-size: 22px;
    }
    .page-about__feature-list li {
        font-size: 14px;
    }
    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;
    }

    /* Enforce image responsiveness */
    .page-about img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-about__section,
    .page-about__container,
    .page-about__card,
    .page-about__text-block,
    .page-about__image-block,
    .page-about__feature-item,
    .page-about__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-about__section-title {
        font-size: 26px;
    }
    .page-about__main-title {
        font-size: clamp(18px, 8vw, 30px);
    }
    .page-about__cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
    .page-about__card img {
        
    }
}