/* style/about.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #0A192F; /* Dark Blue */
  --text-light-color: #ffffff;
  --text-dark-color: #333333;
  --background-dark: #0a0a0a;
  --card-background: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light-color); /* Body background is dark, so text is light */
  background-color: var(--background-dark); /* Ensure consistency */
  padding-bottom: 60px; /* Space for footer */
}

.page-about__hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2a44 100%);
  padding: 100px 20px 80px; /* Adjust padding-top for fixed header */
  text-align: center;
  overflow: hidden;
  border-bottom: 2px solid var(--primary-color);
}

.page-about__main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-about__subtitle {
  font-size: 1.2em;
  color: var(--text-light-color);
  max-width: 900px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.page-about__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  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;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__cta-button--primary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.page-about__section {
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.page-about__section:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

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

.page-about__container--two-col {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__container--center-text {
  text-align: center;
}

.page-about__content-block {
  flex: 1;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-about__section-description {
  font-size: 1.1em;
  color: var(--text-light-color);
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  opacity: 0.8;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about p {
  margin-bottom: 15px;
  color: var(--text-light-color);
  opacity: 0.85;
}

.page-about a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: lighten(var(--primary-color), 10%);
  text-decoration: underline;
}

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

.page-about__feature-card {
  background: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__feature-icon {
  width: 120px; /* Ensure minimum size */
  height: 120px; /* Ensure minimum size */
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

.page-about__commitment-list li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 5px solid var(--primary-color);
  font-size: 1.05em;
  color: var(--text-light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-list li strong {
  color: var(--primary-color);
}

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

.page-about__tech-item {
  background: var(--card-background);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-about__tech-icon {
  width: 100px; /* Ensure minimum size */
  height: 100px; /* Ensure minimum size */
  margin-bottom: 15px;
  object-fit: contain;
}

.page-about__tech-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.text-highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__feature-icon, .page-about__tech-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-about__hero-section {
    padding-top: 80px; /* Mobile specific padding-top */
    padding-bottom: 60px;
  }
  
  .page-about__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  
  .page-about__subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }
  
  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-about__cta-button {
    width: 100% !important; /* Ensure full width on mobile */
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
    box-sizing: border-box;
  }
  
  .page-about__section {
    padding: 40px 15px;
  }
  
  .page-about__container--two-col {
    flex-direction: column;
    gap: 30px;
  }
  
  .page-about__container--two-col.reverse-on-mobile {
    flex-direction: column-reverse;
  }
  
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  
  .page-about__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
  }
  
  .page-about__feature-grid, .page-about__tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-about__feature-card, .page-about__tech-item {
    padding: 25px;
  }
  
  .page-about__feature-icon, .page-about__tech-icon {
    width: 80px;
    height: 80px;
  }
  
  .page-about__feature-title {
    font-size: 1.3em;
  }
  
  .page-about__commitment-list li {
    padding: 12px 15px;
    font-size: 1em;
  }
  
  /* Ensure all images are responsive on mobile */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-about__image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
    overflow: hidden !important;
  }
  
  .page-about__container, .page-about__section, .page-about__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-group {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__sub-title {
    font-size: 1.2em;
  }
  .page-about__feature-icon, .page-about__tech-icon {
    width: 70px;
    height: 70px;
  }
}