/* style/about.css */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --background-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

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

.page-about__section {
    padding: 60px 20px;
    margin-bottom: 0;
    position: relative;
}

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

/* Text color for light background sections */
.page-about__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Text color for dark background sections */
.page-about__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title,
.page-about__light-bg .page-about__card-title {
    color: #333333;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title,
.page-about__dark-bg .page-about__card-title {
    color: var(--text-main-color);
}

.page-about__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.page-about__sub-title {
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

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

.page-about__image-block {
    text-align: center;
    margin: 30px 0;
}

.page-about__image-block img {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-about__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
}

.page-about__list-item::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 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(--background-color);
    overflow: hidden;
}

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

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-about__main-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-about__cta-button:hover {
    background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Products & Services Grid */
.page-about__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Ensure text is dark on light card background */
}

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

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

.page-about__card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-about__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Promotions List */
.page-about__promotion-list .page-about__list-item {
    background-color: var(--card-bg);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.page-about__promotion-list .page-about__list-item::before {
    color: var(--glow-color);
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333; /* Ensure text is dark on light background */
}
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;
}
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;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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 5px 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 38px;
    }
    .page-about__section-title {
        font-size: 32px;
    }
    .page-about__sub-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-image img {
        border-radius: 4px;
    }
    .page-about__main-title {
        font-size: 32px;
    }
    .page-about__intro-text {
        font-size: 16px;
    }
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-about__text-block, .page-about__list-item, .page-about__card p {
        font-size: 15px;
    }

    .page-about__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__card {
        padding: 20px;
    }
    .page-about__card img {
        
    }
    .page-about__btn-primary {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    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; }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 28px;
    }
    .page-about__section-title {
        font-size: 24px;
    }
    .page-about__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
}