/**
 * Styles pour la page À propos (page-a-propos.php)
 * Classes spécifiques à la page About
 */

/* ========== RESET POUR ÉLIMINER LES ÉCARTS ========== */
.hero-about,
.history-section,
.values-section,
.edition-section {
  margin: 0 !important;
}

/* ========== HERO ABOUT ========== */
.hero-about {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.hero-about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  z-index: 1;
}

.hero-about-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(25, 27, 48, 0.5) 0%,
    rgba(25, 27, 48, 0.7) 100%
  );
  z-index: 2;
}

.hero-about-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.hero-about-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

.hero-about-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-about-wave {
  position: relative;
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
  z-index: 4;
  overflow: visible;
  height: auto;
  margin-top: -5rem;
}

.hero-about-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== HISTOIRE SECTION ========== */
.history-section {
  background: var(--color-white);
  padding: var(--spacing-xl) 0;
  margin: 0;
}

.history-main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.history-container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

/* Timeline à gauche */
.history-timeline {
  position: relative;
  padding-left: 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 30px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  cursor: pointer;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: right;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: right center;
}

/* Animation de l'année au hover */
.timeline-item:hover .timeline-year {
  color: var(--color-accent);
  transform: scale(1.15);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--color-dark);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 0 0 0 rgba(78, 197, 241, 0);
}

/* Animation du point au hover - sans déplacement */
.timeline-item:hover .timeline-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 10px rgba(78, 197, 241, 0.2);
}

.timeline-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 10px;
  height: 10px;
  background: var(--color-white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Animation du centre du point au hover */
.timeline-item:hover .timeline-dot::before {
  transform: translate(-50%, -50%) scale(1.3);
}

.timeline-dot::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 80px;
  background: var(--color-dark);
  transition: all 0.4s ease;
}

/* Animation de la ligne au hover */
.timeline-item:hover .timeline-dot::after {
  background: linear-gradient(
    to bottom,
    var(--color-accent) 0%,
    var(--color-dark) 100%
  );
  width: 3px;
}

.timeline-item:last-child .timeline-dot::after {
  display: none;
}

.timeline-content {
  padding-left: 0;
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* Animation du contenu au hover */
.timeline-item:hover .timeline-content {
  transform: scale(1.05);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.2;
  transition: all 0.3s ease;
  position: relative;
}

/* Animation du titre au hover */
.timeline-item:hover .timeline-title {
  color: var(--color-accent);
}

/* Effet underline animé au hover sur le titre */
.timeline-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timeline-item:hover .timeline-title::after {
  width: 100%;
}

.timeline-title em {
  font-style: italic;
  font-weight: 400;
}

/* Texte à droite */
.history-text {
  padding-left: 2rem;
}

.history-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.history-text p:last-child {
  margin-bottom: 0;
}

/* ========== VALEURS SECTION ========== */
.values-section {
  position: relative;
  background: var(--color-primary);
  padding: var(--spacing-xl) 0;
  padding-bottom: 0;
  overflow: hidden;
  margin: 0;
  margin-bottom: 0;
}

.values-wave-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.values-wave-top svg {
  width: 100%;
  height: 120px;
  display: block;
}

.values-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.values-wave-bottom svg {
  width: 100%;
  height: 80px;
  display: block;
}

.values-main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  text-align: left;
  margin-top: 100px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
}

.value-card {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 100px;
  height: 100px;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.value-text {
  color: white;
  margin-top: 1rem;
  font-size: small;
}

.value-card:hover .value-icon {
  color: var(--color-accent);
  transform: scale(1.15) rotate(5deg);
}

.value-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  /* Ensure all internal shapes follow currentColor so CSS hover color works even if SVGs have inline fills */
  fill: currentColor;
  stroke: currentColor;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    fill 0.25s ease, stroke 0.25s ease;
}

/* Also target inner SVG elements for stricter overrides (some SVGs use <path> with fill attributes) */
.value-icon svg * {
  fill: currentColor !important;
  stroke: currentColor !important;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.value-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.value-card:hover .value-title {
  color: var(--color-accent);
}

/* ============================
  SECTIONS ÉDITIONS (SYSTÈME UNIFIÉ)
   ============================ */

/* --- Styles de base communs à toutes les éditions --- */
.edition-section {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
  margin: 0;
}

/* Modificateur : Édition fond sombre */
.edition-section.edition-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Modificateur : Édition fond clair avec vagues */
.edition-section.edition-light {
  background: var(--color-white);
  color: var(--color-dark);
  padding: 6rem 0;
}

/* Modificateur : Édition fond grotte avec image */
.edition-section.edition-grotte {
  background-color: #191b31;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 6rem 0;
  position: relative;
}

/* Container blanc pour la description de l'édition 3 */
.edition-grotte .edition-description-box {
  background: var(--color-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  margin-top: 1.5rem;
}

.edition-grotte .edition-description-box .edition-description {
  color: #2c3e50;
  opacity: 1;
  line-height: 1.9;
}

/* --- Vagues décoratives (uniquement pour edition-light et edition-grotte) --- */
.edition-wave-bottom {
  margin-top: -5rem;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.edition-light .edition-wave-top,
.edition-grotte .edition-wave-top {
  top: -2px;
}

.edition-light .edition-wave-top svg,
.edition-grotte .edition-wave-top svg {
  display: block;
  width: 100%;
  height: 120px;
}

.edition-light .edition-wave-bottom,
.edition-grotte .edition-wave-bottom {
  bottom: -1px;
}

.edition-light .edition-wave-bottom svg {
  display: block;
  width: 100%;
  height: 120px;
}

.edition-wave-bottom img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
  object-fit: fill;
}

.edition-grotte .edition-wave-bottom img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
  object-fit: fill;
}

/* --- Container --- */
.edition-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* --- Logo --- */
.edition-logo {
  margin-top: 10rem;
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.logo-2 {
  margin-top: -6rem;
  margin-bottom: -3rem;
}

.edition-logo img {
  max-width: 300px;
  height: auto;
  transition: transform 0.3s ease;
}

.edition-logo img:hover {
  transform: scale(1.05);
}

/* --- Layout Grid --- */
.edition-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

/* Modificateur : Inversion de l'ordre (image à gauche, texte à droite) */
.edition-container.edition-reverse {
  direction: ltr;
}

.edition-container.edition-reverse .edition-media {
  order: 1;
}

.edition-container.edition-reverse .edition-content {
  order: 2;
}

/* --- Contenu texte --- */
.edition-content {
  margin-bottom: 15rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

/* Image de la pancarte en arrière-plan (uniquement pour édition 3) */
.edition-grotte .edition-content .edition-pancarte {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.edition-grotte .edition-content .edition-pancarte img {
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

/* S'assurer que le titre et la description passent au-dessus */
.edition-grotte .edition-content .edition-title,
.edition-grotte .edition-content .edition-description {
  position: relative;
  z-index: 1;
}

.edition-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0;
}

.edition-title-3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0;
  color: #2c3e50;
}

.edition-dark .edition-title {
  color: var(--color-white);
}

.edition-light .edition-title {
  color: var(--color-primary);
}

.edition-grotte .edition-title {
  color: var(--color-white);
}

.edition-description {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}

.edition-dark .edition-description {
  color: var(--color-white);
  opacity: 0.9;
}

.edition-light .edition-description {
  color: var(--color-dark);
}

.edition-grotte .edition-description {
  color: var(--color-white);
  opacity: 0.95;
}

/* --- Partie média (image + carousel) --- */
.edition-media {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Date image au-dessus du carousel */
.edition-date-image {
  position: absolute;
  z-index: 3;
}

.date2 {
  top: -5rem;
  right: -5rem;
}

.date3 {
  top: -2rem;
  left: -4rem;
}

.edition-date-image img {
  max-width: 250px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Image principale avec carousel */
.edition-image {
  position: relative;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.edition-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Contrôleurs de carousel (uniformisés) --- */
.edition-carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 10;
}

.edition-carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.edition-carousel-btn span {
  line-height: 1;
  margin-top: -4px;
}

.edition-carousel-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ============================
  RESPONSIVE ÉDITIONS (UNIFIÉ)
   ============================ */

@media (max-width: 1024px) {
  /* Container blanc pour description édition 3 */
  .edition-grotte .edition-description-box {
    padding: 2rem;
    border-radius: 18px;
  }

  /* Vagues */
  .edition-light .edition-wave-top svg,
  .edition-light .edition-wave-bottom svg,
  .edition-grotte .edition-wave-top svg {
    height: 100px;
  }

  .edition-grotte .edition-wave-bottom img {
    height: auto;
  }

  /* Layout en colonne unique */
  .edition-container,
  .edition-container.edition-reverse {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Réinitialiser l'ordre pour mobile */
  .edition-container.edition-reverse .edition-media,
  .edition-container.edition-reverse .edition-content {
    order: unset;
  }

  /* Logo */
  .edition-logo img {
    max-width: 220px;
  }

  /* Date centrée sur mobile */
  .edition-date-image {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin-bottom: 1rem;
  }

  .edition-date-image img {
    max-width: 200px;
    margin: 0 auto;
  }

  /* Titre centré sur mobile */
  .edition-title {
    text-align: center;
  }

  .edition-description {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .edition-section.edition-light,
  .edition-section.edition-grotte {
    padding: 4rem 0;
  }

  /* Container blanc pour description édition 3 */
  .edition-grotte .edition-description-box {
    padding: 1.75rem;
    border-radius: 15px;
  }

  /* Vagues */
  .edition-light .edition-wave-top svg,
  .edition-light .edition-wave-bottom svg,
  .edition-grotte .edition-wave-top svg {
    height: 80px;
  }

  .edition-grotte .edition-wave-bottom img {
    height: auto;
  }

  /* Logo */
  .edition-logo img {
    max-width: 180px;
  }

  /* Date */
  .edition-date-image img {
    max-width: 180px;
  }

  /* Titre */
  .edition-title {
    font-size: 1.8rem;
  }

  /* Description */
  .edition-description {
    font-size: 0.95rem;
  }

  /* Carousel buttons */
  .edition-carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .edition-section.edition-light,
  .edition-section.edition-grotte {
    padding: 3rem 0;
  }

  /* Container blanc pour description édition 3 */
  .edition-grotte .edition-description-box {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .edition-section .container {
    padding: 0 1.5rem;
  }

  /* Vagues */
  .edition-light .edition-wave-top svg,
  .edition-light .edition-wave-bottom svg,
  .edition-grotte .edition-wave-top svg {
    height: 60px;
  }

  .edition-grotte .edition-wave-bottom img {
    height: auto;
  }

  /* Logo */
  .edition-logo img {
    max-width: 140px;
  }

  /* Date */
  .edition-date-image img {
    max-width: 160px;
  }

  /* Titre */
  .edition-title {
    font-size: 1.5rem;
  }

  /* Description */
  .edition-description {
    font-size: 0.9rem;
  }

  /* Carousel buttons */
  .edition-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* ========== PAGE COMMUNES ========== */
.page-section {
  padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-xl);
  min-height: 100vh;
}

.page-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.3rem;
  color: var(--color-secondary);
  font-weight: 300;
}

/* ========== PAGE À PROPOS ========== */
.about-section {
  background: var(--color-white);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.about-intro {
  background: var(--color-light);
  padding: var(--spacing-lg);
  border-radius: 20px;
  margin-bottom: var(--spacing-lg);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-item {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mission-item:hover {
  transform: translateY(-10px);
}

.mission-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.mission-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.mission-item p {
  font-size: 1rem;
  color: var(--color-secondary);
  margin: 0;
}

.about-values {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: 20px;
  margin-top: var(--spacing-lg);
}

.about-values h2 {
  color: var(--color-white);
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  line-height: 1.6;
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list strong {
  color: var(--color-accent);
  font-weight: 700;
}

.about-team {
  margin-top: var(--spacing-lg);
  text-align: center;
}

/* ========== PAGE CONTACT ========== */
.contact-section {
  background: var(--color-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-wrapper,
.contact-info {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2,
.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--color-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(78, 197, 241, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.contact-form button[type="submit"] {
  margin-top: 1rem;
  align-self: flex-start;
}

/* Informations */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-item p {
  color: var(--color-secondary);
  line-height: 1.8;
  margin: 0;
}

.info-item a {
  color: var(--color-accent);
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: var(--color-primary);
}

.social-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links-vertical a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-light);
  border-radius: 8px;
  transition: all 0.3s ease;
  color: var(--color-dark);
}

.social-links-vertical a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateX(5px);
}

.social-links-vertical svg {
  flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-about-background {
    height: 60vh;
    min-height: 450px;
  }

  .hero-about-content {
    height: 60vh;
    min-height: 450px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .history-container {
    grid-template-columns: 350px 1fr;
    gap: var(--spacing-lg);
  }

  .timeline-year {
    font-size: 1.8rem;
  }

  .timeline-title {
    font-size: 1.3rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .values-wave-top {
    top: -2px;
  }

  .values-wave-top svg {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .hero-about {
    margin-top: 70px;
  }

  .hero-about-background {
    height: 50vh;
    min-height: 400px;
  }

  .hero-about-content {
    height: 50vh;
    min-height: 400px;
    padding: 1.5rem;
  }

  .history-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .history-text {
    padding-left: 0;
    margin-top: var(--spacing-md);
  }

  .timeline-item {
    grid-template-columns: 60px 20px 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .timeline-year {
    font-size: 1.5rem;
  }

  .timeline-title {
    font-size: 1.2rem;
  }

  .timeline-dot {
    width: 16px;
    height: 16px;
  }

  .timeline-dot::before {
    width: 8px;
    height: 8px;
  }

  .timeline-dot::after {
    height: 60px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .value-icon {
    width: 80px;
    height: 80px;
  }

  .value-title {
    font-size: 1.2rem;
  }

  .values-wave-top {
    top: -2px;
  }

  .values-wave-top svg {
    height: 80px;
  }

  .page-section {
    padding: calc(var(--spacing-lg) + 80px) 0 var(--spacing-md);
  }

  .about-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .contact-form-wrapper,
  .contact-info {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .hero-about-background {
    height: 45vh;
    min-height: 350px;
  }

  .hero-about-content {
    height: 45vh;
    min-height: 350px;
  }

  .hero-about-wave {
    margin-top: -8rem;
  }

  .hero-about-title {
    font-size: 2.5rem;
  }

  .hero-about-subtitle {
    font-size: 1rem;
  }

  .history-main-title {
    font-size: 2rem;
  }

  .timeline-item {
    grid-template-columns: 50px 16px 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .timeline-year {
    font-size: 1.3rem;
  }

  .timeline-title {
    font-size: 1.1rem;
  }

  .timeline-dot {
    width: 14px;
    height: 14px;
  }

  .timeline-dot::before {
    width: 6px;
    height: 6px;
  }

  .timeline-dot::after {
    height: 50px;
  }

  .history-text p {
    font-size: 1rem;
  }

  .values-main-title {
    font-size: 2rem;
  }

  .value-icon {
    width: 70px;
    height: 70px;
  }

  .value-title {
    font-size: 1.1rem;
  }

  .values-wave-top {
    top: -2px;
  }

  .values-wave-top svg {
    height: 60px;
  }

  .edition-wave-bottom {
    margin-top: 1rem;
  }

  .edition-content {
    margin-bottom: 0px;
  }
}
