/* style/about-development-history.css */

:root {
  --primary-color: #1A2B4C;
  --secondary-color: #FFD700;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-color-dark: #121212;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-about-development-history {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-color-dark); /* Inherited from shared.css body */
}

.page-about-development-history__hero-section {
  position: relative;
  padding: 180px 20px 80px;
  background: linear-gradient(135deg, var(--primary-color), #0d1a2c);
  text-align: center;
  padding-top: 120px; /* Ensure content is not hidden by fixed header */
}

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

.page-about-development-history__container--center {
  text-align: center;
}

.page-about-development-history__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about-development-history__hero-description {
  font-size: 20px;
  color: var(--text-color-dark-bg);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about-development-history__hero-description a,
.page-about-development-history p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about-development-history__hero-description a:hover,
.page-about-development-history p a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-about-development-history__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about-development-history__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about-development-history__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-about-development-history__cta-button--primary:hover {
  background: #e6c200;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about-development-history__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

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

.page-about-development-history__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color-dark);
}

.page-about-development-history__section:last-of-type {
  border-bottom: none;
}

.page-about-development-history__section--intro {
  background-color: #1a2b4c;
  padding-bottom: 80px;
}

.page-about-development-history__section--milestones,
.page-about-development-history__section--expansion,
.page-about-development-history__section--innovation,
.page-about-development-history__section--future {
  background-color: var(--background-color-dark);
}

.page-about-development-history__section-title {
  font-size: 38px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about-development-history__content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-about-development-history__content-block p {
  font-size: 17px;
  color: var(--text-color-dark-bg);
  text-align: center;
}

.page-about-development-history__timeline-item {
  background: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-development-history__timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about-development-history__timeline-title {
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-align: left;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-about-development-history__timeline-item p {
  font-size: 16px;
  color: var(--text-color-dark-bg);
  margin-bottom: 15px;
  text-align: left;
}

.page-about-development-history__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-about-development-history__cta-bottom-section {
  padding: 80px 20px;
  background: linear-gradient(45deg, #0d1a2c, var(--primary-color));
  text-align: center;
}

.page-about-development-history__cta-bottom-title {
  font-size: 42px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about-development-history__cta-bottom-description {
  font-size: 20px;
  color: var(--text-color-dark-bg);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-development-history__main-title {
    font-size: 42px;
  }
  .page-about-development-history__section-title {
    font-size: 34px;
  }
  .page-about-development-history__timeline-title {
    font-size: 26px;
  }
  .page-about-development-history__cta-bottom-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .page-about-development-history__hero-section {
    padding: 100px 15px 60px; /* Adjust for mobile fixed header */
    padding-top: 100px !important;
  }

  .page-about-development-history__main-title {
    font-size: 32px;
  }

  .page-about-development-history__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-about-development-history__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about-development-history__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .page-about-development-history__section {
    padding: 40px 0;
  }

  .page-about-development-history__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about-development-history__timeline-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-about-development-history__timeline-title {
    font-size: 22px;
  }

  .page-about-development-history__timeline-item p {
    font-size: 15px;
  }

  .page-about-development-history__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-about-development-history__cta-bottom-section {
    padding: 60px 15px;
  }

  .page-about-development-history__cta-bottom-title {
    font-size: 30px;
  }

  .page-about-development-history__cta-bottom-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-about-development-history__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about-development-history__content-block {
    gap: 20px;
  }
  .page-about-development-history__content-block p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .page-about-development-history__main-title {
    font-size: 28px;
  }
  .page-about-development-history__section-title {
    font-size: 24px;
  }
  .page-about-development-history__timeline-title {
    font-size: 20px;
  }
  .page-about-development-history__cta-bottom-title {
    font-size: 26px;
  }
}