/* style/about.css */

:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #F0F2F5;
  --text-dark: #333333;
  --background-light: #FFFFFF;
  --background-dark: #1A2E47;
  --border-color: #E0E0E0;
  --hover-color: #FFEA00;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-about section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-about h1,
.page-about h2,
.page-about h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-about h1 {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
}

.page-about h3 {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--primary-color);
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-about ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  display: inline-block; /* Center the list */
}

.page-about ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-dark);
  position: relative;
  padding-left: 30px;
}

.page-about ul li::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--secondary-color);
}

.page-about .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about .primary-cta {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-about .primary-cta:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-about .inline-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about .inline-link:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.page-about .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1A2E47 100%);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.page-about .hero-content {
  text-align: center;
  order: 2; /* Content below image on mobile */
}

.page-about .hero-content h1 {
  color: var(--secondary-color);
  font-size: 3.5em;
  margin-bottom: 20px;
}

.page-about .hero-content p {
  color: var(--text-light);
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about .hero-image {
  order: 1; /* Image above content on mobile */
  width: 100%;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-about .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Section Intro */
.page-about .section-intro p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about .section-intro img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mission Vision Section */
.page-about .section-mission-vision {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about .section-mission-vision h2 {
  color: var(--secondary-color);
}

.page-about .section-mission-vision h3 {
  color: var(--secondary-color);
  margin-top: 20px;
}

.page-about .section-mission-vision p {
  color: var(--text-light);
}

.page-about .section-mission-vision ul li {
  color: var(--text-light);
}

.page-about .section-mission-vision ul li::before {
  color: var(--secondary-color);
}

.page-about .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about .content-grid .text-content {
  flex: 2;
  min-width: 300px;
}

.page-about .content-grid .image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about .content-grid .image-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* History Section */
.page-about .timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  text-align: left;
}

.page-about .timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.page-about .timeline-item {
  padding: 20px 0;
  position: relative;
  width: 50%;
}

.page-about .timeline-item:nth-child(odd) {
  align-self: flex-start;
  padding-right: 50px;
  text-align: right;
}

.page-about .timeline-item:nth-child(even) {
  align-self: flex-end;
  padding-left: 50px;
  text-align: left;
}

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

.page-about .timeline-item:nth-child(odd)::before {
  right: -8px;
  transform: translateX(50%);
}

.page-about .timeline-item:nth-child(even)::before {
  left: -8px;
  transform: translateX(-50%);
}

.page-about .timeline-item h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.page-about .timeline-item p {
  font-size: 1em;
}

.page-about .section-history img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Commitment Section */
.page-about .section-commitment {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about .section-commitment h2 {
  color: var(--secondary-color);
}

.page-about .section-commitment h3 {
  color: var(--secondary-color);
}

.page-about .section-commitment p {
  color: var(--text-light);
}

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

.page-about .commitment-item {
  background: #2A3B52;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.page-about .commitment-item h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-about .section-commitment img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about .responsibility-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  border: 1px solid var(--border-color);
}

.page-about .responsibility-item h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Team Section */
.page-about .section-team {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about .section-team h2 {
  color: var(--secondary-color);
}

.page-about .section-team h3 {
  color: var(--secondary-color);
}

.page-about .section-team p {
  color: var(--text-light);
}

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

.page-about .team-member {
  background: #2A3B52;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about .team-member img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid var(--secondary-color);
}

/* Future Vision Section */
.page-about .section-future-vision img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Register Section */
.page-about .section-cta-register {
  background: linear-gradient(90deg, var(--primary-color), #2A3B52);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-about .section-cta-register h2 {
  color: var(--secondary-color);
  font-size: 2.8em;
}

.page-about .section-cta-register p {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto;
}

.page-about .bonus-info {
  font-weight: bold;
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-top: 20px;
}

/* FAQ Section */
.page-about .section-faq {
  background-color: var(--background-light);
}

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

.page-about .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-light);
  cursor: pointer;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.page-about .faq-question:hover {
  background: #f5f5f5;
}

.page-about .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.page-about .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-about .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-about .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: var(--text-dark);
}

.page-about .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-about .faq-answer p {
  margin: 0 0 10px 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about h1 {
    font-size: 2.8em;
  }
  .page-about h2 {
    font-size: 2em;
  }
  .page-about h3 {
    font-size: 1.6em;
  }
  .page-about p {
    font-size: 1em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-about .hero-content h1 {
    font-size: 3em;
  }
  .page-about .hero-content p {
    font-size: 1.1em;
  }
  .page-about .content-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-about .content-grid .text-content,
  .page-about .content-grid .image-content {
    min-width: unset;
    width: 100%;
  }
  .page-about .content-grid .image-content img {
    max-width: 600px;
    margin: 20px auto;
  }
  .page-about .timeline::before {
    left: 20px;
  }
  .page-about .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }
  .page-about .timeline-item:nth-child(odd) {
    align-self: flex-start;
    text-align: left;
  }
  .page-about .timeline-item:nth-child(even) {
    align-self: flex-start;
    text-align: left;
  }
  .page-about .timeline-item:nth-child(odd)::before,
  .page-about .timeline-item:nth-child(even)::before {
    left: 12px;
    right: auto;
    transform: translateX(-50%);
  }
  .page-about .team-member img {
    width: 200px;
    height: 200px;
  }
  .page-about .section-cta-register h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-about section {
    padding: 40px 0;
  }
  .page-about h1 {
    font-size: 2.2em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about p {
    font-size: 0.95em;
  }
  .page-about .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-about .hero-content h1 {
    font-size: 2.5em;
  }
  .page-about .hero-content p {
    font-size: 1em;
  }
  .page-about .hero-image {
    margin-bottom: 20px;
  }
  .page-about .faq-question {
    padding: 15px 20px;
  }
  .page-about .faq-question h3 {
    font-size: 1.1em;
  }
  .page-about .faq-toggle {
    font-size: 1.5em;
  }
  .page-about .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-about .section-cta-register h2 {
    font-size: 1.8em;
  }
  .page-about .bonus-info {
    font-size: 1.2em;
  }
  .page-about .team-member img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .page-about .container {
    padding: 0 15px;
  }
  .page-about h1 {
    font-size: 1.8em;
  }
  .page-about h2 {
    font-size: 1.5em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about .hero-content h1 {
    font-size: 2em;
  }
  .page-about .hero-content p {
    font-size: 0.9em;
  }
  .page-about .faq-question h3 {
    font-size: 1em;
  }
  .page-about .section-cta-register h2 {
    font-size: 1.5em;
  }
}