/* style/about.css */

/* Variables */
:root {
  --page-about-primary-color: #0A2239;
  --page-about-accent-color: #FFD700;
  --page-about-text-light: #FFFFFF;
  --page-about-text-dark: #0A2239;
  --page-about-bg-light: #F8F8F8;
  --page-about-bg-dark: #0A2239;
  --page-about-border-color: #30475E;
}

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

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

.page-about__hero {
  background: linear-gradient(135deg, var(--page-about-primary-color) 0%, #1A3F5C 100%);
  color: var(--page-about-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  font-weight: 300;
}

.page-about__section {
  padding: 80px 0;
  background-color: var(--page-about-bg-light);
}

.page-about__section:nth-of-type(odd) {
  background-color: #FFFFFF;
}

.page-about__section-title {
  font-size: 2.5em;
  color: var(--page-about-primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-about__section--mission .page-about__section-title,
.page-about__section--values .page-about__section-title {
  text-align: left;
}

.page-about__section--commitment .page-about__section-title {
  color: var(--page-about-primary-color);
}

.page-about__text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.page-about__text--center {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__grid-layout--reverse {
  grid-template-areas: "image content";
}

.page-about__grid-layout--reverse .page-about__image-block {
  grid-area: image;
}

.page-about__grid-layout--reverse .page-about__content-block {
  grid-area: content;
}

.page-about__image-block {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.page-about__image:hover {
  transform: scale(1.03);
}

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

.page-about__values-list li {
  background-color: #F0F5F9;
  border-left: 5px solid var(--page-about-accent-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
  color: var(--page-about-text-dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.page-about__btn--primary {
  background-color: var(--page-about-accent-color);
  color: var(--page-about-primary-color);
  border-color: var(--page-about-accent-color);
}

.page-about__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

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

.page-about__btn--secondary:hover {
  background-color: var(--page-about-primary-color);
  color: var(--page-about-text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(10, 34, 57, 0.3);
}

.page-about__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__inline-link {
  color: var(--page-about-primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-about__inline-link:hover {
  color: var(--page-about-accent-color);
  text-decoration: underline;
}

.page-about .highlight {
  color: var(--page-about-accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__hero-subtitle {
    font-size: 1.3em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__text {
    font-size: 1em;
  }

  .page-about__grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-about__grid-layout--reverse {
    grid-template-areas: none;
  }

  .page-about__content-block,
  .page-about__image-block {
    text-align: center;
  }

  .page-about__section--mission .page-about__section-title,
  .page-about__section--values .page-about__section-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-about__hero {
    padding: 80px 0;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-subtitle {
    font-size: 1.1em;
  }

  .page-about__section {
    padding: 60px 0;
  }

  .page-about__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__hero-subtitle {
    font-size: 0.9em;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__text {
    font-size: 0.9em;
  }
}