/* Base styles for the page-about scope */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #FFF6D6); /* Default text color for dark background */
    background: var(--background-color, #0A0A0A); /* Overall page background */
}

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

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

.page-about__light-bg {
    background: #111111; /* Card BG color for sections with lighter feel */
    color: #FFF6D6;
}

.page-about__dark-section {
    background: #0A0A0A; /* Main background color */
    color: #FFF6D6;
}

.page-about__section-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--primary-color, #F2C14E); /* Highlighted title color */
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.4); /* Subtle glow */
}

.page-about__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    color: #FFF6D6;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
    overflow: hidden;
    background: #0A0A0A; /* Fallback */
}

.page-about__hero-image {
    width: 100%;
    max-height: 600px; /* Limit image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, will be `contain` on mobile */
    display: block;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
}

.page-about__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    background: rgba(10, 10, 10, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    margin-top: -100px; /* Pull up to overlap image slightly for visual effect, but not cover text */
}

.page-about__main-title {
    font-size: clamp(32px, 4vw, 56px); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow color for main title */
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
    line-height: 1.2;
}

.page-about__description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* For mobile button responsiveness */
    max-width: 100%; /* For mobile button responsiveness */
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-about__btn-secondary {
    background: transparent;
    color: #FFD36B;
    border: 2px solid #FFD36B;
}

.page-about__btn-secondary:hover {
    background: #FFD36B;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

/* General Content Grid */
.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

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

.page-about__content-grid .page-about__text-content {
    flex: 1;
}

.page-about__content-grid .page-about__image-block {
    flex: 1;
    min-width: 300px; /* Minimum width for image block */
}

.page-about__content-grid .page-about__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-about__value-card {
    background: #111111; /* Card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color, #3A2A12);
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 211, 107, 0.2);
}

.page-about__value-card img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #FFD36B;
    padding: 10px;
    background: rgba(255, 211, 107, 0.1);
}

.page-about__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color, #F2C14E);
}

.page-about__card-text {
    font-size: 16px;
    color: #FFF6D6;
}

/* Products Overview Section */
.page-about__products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__product-card {
    background: #111111;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color, #3A2A12);
}

.page-about__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 211, 107, 0.2);
}

.page-about__product-card img {
    width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: cover;
    display: block;
}

.page-about__product-card .page-about__card-title {
    padding: 15px 20px 0;
    font-size: 20px;
    color: var(--primary-color, #F2C14E);
}

.page-about__product-card .page-about__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-about__product-card .page-about__card-title a:hover {
    text-decoration: underline;
}

.page-about__product-card .page-about__card-text {
    padding: 0 20px 20px;
    font-size: 15px;
    color: #FFF6D6;
}

/* Responsibility Section */
.page-about__responsibility-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-about__responsibility-list li {
    background: #111111;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #3A2A12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #FFF6D6;
}

.page-about__responsibility-list li b {
    color: var(--primary-color, #F2C14E);
    font-weight: bold;
}

/* Why Choose Section */
.page-about__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__why-choose-item {
    background: #111111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border-color, #3A2A12);
}

.page-about__item-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color, #FFD36B);
}

.page-about__item-text {
    font-size: 16px;
    color: #FFF6D6;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color, #3A2A12);
  overflow: hidden;
  background: #111111; /* Card BG color */
  color: #FFF6D6;
}
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;
  background: #111111;
  color: #FFF6D6;
}
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: rgba(255, 211, 107, 0.05); /* Subtle hover */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color, #F2C14E);
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  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: #0A0A0A; /* Darker background for answer */
  border-radius: 0 0 5px 5px;
  text-align: left;
  font-size: 16px;
  color: #FFF6D6;
}
.page-about__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}


/* --- Responsive Styles --- */

/* For screens smaller than 1024px (tablet) */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 34px;
    }
    .page-about__hero-content {
        margin-top: -80px;
    }
    .page-about__main-title {
        font-size: clamp(30px, 5vw, 48px);
    }
    .page-about__description {
        font-size: 17px;
    }
    .page-about__cta-buttons {
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-about__content-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-about__content-grid.--reverse {
        flex-direction: column; /* Keep consistent for tablet */
    }
    .page-about__content-grid .page-about__image-block {
        order: -1; /* Image always on top for column layout */
    }
    .page-about__values-grid,
    .page-about__products-grid,
    .page-about__why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-about__value-card,
    .page-about__product-card,
    .page-about__why-choose-item {
        padding: 25px;
    }
    .page-about__product-card img {
        
    }
    .page-about__faq-qtext {
        font-size: 17px;
    }
    .page-about__faq-answer {
        font-size: 15px;
    }
}


/* For screens smaller than 849px (Hero image object-fit: contain) */
@media (max-width: 849px) {
    .page-about__hero-image img {
        object-fit: contain !important; /* Prevent cropping of hero image */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        height: auto !important; /* Ensure height adjusts */
    }
    .page-about__hero-section {
        min-height: auto;
    }
}


/* For screens smaller than 768px (mobile) */
@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px !important; /* Force padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    /* HERO Section Mobile */
    .page-about__hero-section {
        padding-top: 10px;
        min-height: auto;
    }
    .page-about__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjust overlap */
    }
    .page-about__main-title {
        font-size: clamp(28px, 8vw, 40px); /* Smaller clamp for mobile */
        margin-bottom: 15px;
    }
    .page-about__description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-about__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Images Mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    /* Content Grid Mobile */
    .page-about__content-grid {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    .page-about__content-grid.--reverse {
        flex-direction: column;
    }
    .page-about__content-grid .page-about__image-block {
        order: -1; /* Image always on top for column layout */
    }

    /* Values Grid Mobile */
    .page-about__values-grid {
        grid-template-columns: 1fr; /* Single column */
        padding: 0 15px;
    }
    .page-about__value-card {
        padding: 20px;
    }
    .page-about__value-card img {
        
        
        padding: 5px;
    }
    .page-about__card-title {
        font-size: 20px;
    }
    .page-about__card-text {
        font-size: 15px;
    }

    /* Products Grid Mobile */
    .page-about__products-grid {
        grid-template-columns: 1fr; /* Single column */
        padding: 0 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-about__product-card {
        padding-bottom: 15px;
    }
    .page-about__product-card img {
        
    }
    .page-about__product-card .page-about__card-title {
        font-size: 18px;
    }
    .page-about__product-card .page-about__card-text {
        font-size: 14px;
    }

    /* Responsibility List Mobile */
    .page-about__responsibility-list {
        padding: 0 15px;
    }
    .page-about__responsibility-list li {
        padding: 15px;
        font-size: 15px;
    }

    /* Why Choose Grid Mobile */
    .page-about__why-choose-grid {
        grid-template-columns: 1fr; /* Single column */
        padding: 0 15px;
    }
    .page-about__why-choose-item {
        padding: 20px;
    }
    .page-about__item-title {
        font-size: 20px;
    }
    .page-about__item-text {
        font-size: 15px;
    }

    /* FAQ Section Mobile */
    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px;
    }
    .page-about__faq-qtext {
        font-size: 16px;
    }
    .page-about__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
}