/* style/index-about-our-platform.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark-body: #0a0a0a;
    --card-bg-light: #ffffff;
    --border-light: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

.page-index-about-our-platform {
    color: var(--text-light); /* Default text color for the main content on dark body background */
    background-color: var(--background-dark-body);
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

/* HERO Section for About Us */
.page-index-about-our-platform__hero-about-section {
    background: linear-gradient(135deg, var(--primary-color), #1A3B83);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-index-about-our-platform__hero-about-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-index-about-our-platform__hero-about-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index-about-our-platform__hero-about-title .text-highlight {
    color: var(--secondary-color);
}

.page-index-about-our-platform__hero-about-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.page-index-about-our-platform__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-dark);
}

.page-index-about-our-platform__cta-button:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-dark);
}

.page-index-about-our-platform__cta-button--secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    margin-left: 20px;
}

.page-index-about-our-platform__cta-button--secondary:hover {
    background: #1A3B83;
    border-color: #FFC107;
}

.page-index-about-our-platform__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
}

/* General Section and Container Styles */
.page-index-about-our-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-about-our-platform__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.page-index-about-our-platform__section-title .text-highlight {
    color: var(--primary-color);
}

.page-index-about-our-platform__light-bg {
    background-color: #f1f3f5; /* Light background for sections */
    padding: 60px 0;
    color: var(--text-dark);
}

.page-index-about-our-platform__dark-section {
    background-color: var(--primary-color); /* Dark background for sections */
    padding: 60px 0;
    color: var(--text-light);
}

.page-index-about-our-platform__dark-section .page-index-about-our-platform__section-title {
    color: var(--text-light);
}

.page-index-about-our-platform__dark-section .page-index-about-our-platform__section-title .text-highlight {
    color: var(--secondary-color);
}

.page-index-about-our-platform__card {
    background: var(--card-bg-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    padding: 40px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.page-index-about-our-platform__intro-text {
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 40px;
}

/* Mission Section */
.page-index-about-our-platform__mission-section .page-index-about-our-platform__card {
    padding: 60px;
}

.page-index-about-our-platform__mission-section .page-index-about-our-platform__section-title {
    margin-bottom: 50px;
}

.page-index-about-our-platform__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-index-about-our-platform__text-block {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
}

.page-index-about-our-platform__text-block p {
    margin-bottom: 15px;
}

.page-index-about-our-platform__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-index-about-our-platform__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-light);
}

/* Values Section */
.page-index-about-our-platform__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-about-our-platform__value-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-about-our-platform__value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-index-about-our-platform__value-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-index-about-our-platform__value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Why Choose Us Section */
.page-index-about-our-platform__why-choose-us-section .page-index-about-our-platform__card {
    padding: 60px;
}

.page-index-about-our-platform__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-about-our-platform__feature-item {
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-our-platform__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index-about-our-platform__feature-icon {
    width: 120px; /* Min size 200x200px, but for icons, larger display */
    height: auto;
    margin-bottom: 20px;
    display: inline-block;
}

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

.page-index-about-our-platform__feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-index-about-our-platform__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-index-about-our-platform__faq-section {
    padding: 60px 0;
    color: var(--text-light);
}

.page-index-about-our-platform__faq-section .page-index-about-our-platform__section-title {
    color: var(--text-light);
}

.page-index-about-our-platform__faq-section .page-index-about-our-platform__section-title .text-highlight {
    color: var(--secondary-color);
}

.page-index-about-our-platform__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-about-our-platform__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-about-our-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-about-our-platform__faq-item.active .page-index-about-our-platform__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-index-about-our-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-index-about-our-platform__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-about-our-platform__faq-question:active {
  background: #eeeeee;
}

.page-index-about-our-platform__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-index-about-our-platform__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-about-our-platform__faq-item.active .page-index-about-our-platform__faq-toggle {
  color: var(--primary-color);
  transform: rotate(180deg); /* Rotate for minus sign */
}

/* Contact CTA Section */
.page-index-about-our-platform__contact-cta-section {
    padding: 60px 0;
}

.page-index-about-our-platform__contact-card {
    text-align: center;
    padding: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-about-our-platform__hero-about-title {
        font-size: 42px;
    }

    .page-index-about-our-platform__section-title {
        font-size: 32px;
    }

    .page-index-about-our-platform__content-grid {
        flex-direction: column;
    }

    .page-index-about-our-platform__image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-about-our-platform {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-about-our-platform__hero-about-section {
        padding: 60px 15px;
    }

    .page-index-about-our-platform__hero-about-title {
        font-size: 32px;
    }

    .page-index-about-our-platform__hero-about-description {
        font-size: 16px;
    }

    .page-index-about-our-platform__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-index-about-our-platform__cta-button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-index-about-our-platform__cta-button--large {
        padding: 15px 40px;
        font-size: 18px;
    }

    .page-index-about-our-platform__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-index-about-our-platform__light-bg,
    .page-index-about-our-platform__dark-section,
    .page-index-about-our-platform__contact-cta-section {
        padding: 40px 0;
    }

    .page-index-about-our-platform__card {
        padding: 30px 20px;
    }

    .page-index-about-our-platform__mission-section .page-index-about-our-platform__card,
    .page-index-about-our-platform__why-choose-us-section .page-index-about-our-platform__card {
        padding: 30px;
    }

    .page-index-about-our-platform__intro-text {
        font-size: 16px;
    }

    .page-index-about-our-platform__values-grid,
    .page-index-about-our-platform__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-about-our-platform__value-title {
        font-size: 20px;
    }

    .page-index-about-our-platform__feature-title {
        font-size: 20px;
    }
    
    .page-index-about-our-platform__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-index-about-our-platform__faq-question h3 {
      font-size: 15px;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-index-about-our-platform__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-index-about-our-platform__faq-answer {
      padding: 0 15px;
    }
    
    .page-index-about-our-platform__faq-item.active .page-index-about-our-platform__faq-answer {
      padding: 15px !important;
    }

    .page-index-about-our-platform img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-about-our-platform__container,
    .page-index-about-our-platform__card,
    .page-index-about-our-platform__value-card,
    .page-index-about-our-platform__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-about-our-platform__cta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-index-about-our-platform__cta-button {
        width: 100%;
    }
    .page-index-about-our-platform__cta-button--secondary {
        margin-left: 0;
    }
}