 .hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  background-image: url(../images/bg.svg);
  background-size: cover;
  width: 100vw;
  padding: 50px 20px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../images/bg.svg);
  background-size: cover;
  filter: brightness(0.6);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  width: 100%;
  height: fit-content;
  align-items: center;
  justify-content: space-around;
  max-width: var(--container-max-width);
}

.hero-container h1,
.hero-container p,
.hero-container span {
  color: #fff;
}

.hero-content {
  max-width: 60%;
}

.hero-image-container {
  width: 50%;
  max-width: 500px;
}

.hero-image {
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.ticker-window {
  display: none;
}

@media (min-width: 751px) {
  .ticker-window {
    display: flex;
  }
}

@media (max-width: 750px) {
  .hero {
    height: fit-content;
    max-height: none;
    padding: 30px 16px;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .section-header{
        margin-top: 130px;
  }

  .section-header,
  .hero-description {
    text-align: start;
  }

  .hero-description {
    margin: 0 auto 24px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }

  .hero-buttons a {
    width: 100%;
  }

  .hero-image-container {
    width: 100%;
    max-width: 360px;
  }

  .hero-image {
    width: 100%;
    height: auto;
  }

  .secondary-button {
    margin: 0;
  }
}

/* About Section styles */

.about-container {
  display: flex;
  flex-direction: column;
  max-width: var(--container-max-width);
  width:100vw;
  gap: 40px;
  padding: 0 20px;
}

.about-description {
  max-width: 1000px;
}

/* States Section Styles */

.stats-container {
  max-width: var(--container-max-width);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  padding: 20px;
}

.about_label{
  color: var(--color-blue-dark);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  width: 100%;
}

.stat-item span {
  text-align: center;
}

.top-bottom-border {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.right-border {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* CEO Section Styles */

.ceo-section__container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: var(--container-max-width);
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 22px 0 var(--color-blue-mid);
  border-radius: 10px;
  padding: 50px 0;
}

.ceo-image__container {
  width: 35%;
  max-width: 300px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.ceo-image {
  width: 100%;
  border-radius: 10px;
}

.ceo-section__content {
  max-width: 60%;
}

.ceo-section__info {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 10px;
}

@media (max-width: 750px) {
  .ceo-section__container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 30px 10px;
  }

  .ceo-section__content {
    max-width: 100%;
    width: 100%;
  }

  .ceo-image__container {
    width: 70%;
    max-width: 360px;
  }
}

/* ADN Section Styles - Cards Grid Layout */

.adn-container {
  max-width: var(--container-max-width);
  width: 100%;
}

.adn-container h2 {
  margin-bottom: 50px;
  text-align: center;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

.adn-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.adn-card:hover {
  border-color: var(--color-green-primary);
  box-shadow: 0 8px 24px rgba(23, 130, 61, 0.15);
  transform: translateY(-8px);
}

.adn-card i {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: var(--color-green-primary);
}

.adn-card__title {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
  color: var(--color-blue-dark);
  margin-bottom: 15px;
}

.adn-card__description {
  font-size: var(--font-size-body);
  color: var(--color-gray);
  line-height: 1.6;
}

@media (max-width: 750px) {
  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Prestations Section Styles */
.prestation-container {
  max-width: var(--container-max-width);
  gap: 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prestations-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
}

.prestation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prestation-container h2 {
  margin-bottom: 50px;
  text-align: center;
}

.prestation-card__header {
  width: 100%;
  background-color: var(--color-blue-dark);
  padding: 28px 30px;
  border-radius: 10px 10px 0 0;
  box-sizing: border-box;
}

.prestation-card__title {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
  color: #fff;
  margin: 0;
}

.prestation-card__list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 30px 30px 24px;
  text-align: left;
}

.prestation-card__list-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 16px;
  font-size: var(--font-size-body);
  color: var(--color-gray);
  line-height: 1.75;
}

.prestation-card__list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-blue-dark);
}

.prestation-card__list-item:last-child {
  margin-bottom: 0;
}

.domaines {
  margin-top: 50px;
  width: 100%;
}

.prestations {
  width: 100%;
}

.domaines-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 50px 0;
  align-items: center;
}

.domaines h2 {
  grid-column: 1 / -1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.domaine-item {
  grid-column: span 1;
  height: 100%;
  display: flex;
}

.domaine-item__title {
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.domaine-item__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  overflow: hidden;
}

.domaine-item__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px 20px 18px;
  flex: 1;
  min-height: 200px;
}

/* Ensure background image can animate scale on hover */
.domaine-item__content {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  transition: background-size 0.35s ease, transform 0.2s ease;
}

.domaine-item__link:hover .domaine-item__content {
  background-size: 110%;
}

.domaine-item__button {
  display: block;
  width: 100%;
  padding: 16px 20px;
  text-align: center;
  background-color: var(--color-blue-dark);
  color: #ffffff;
  border-top: 1px solid currentColor;
  font-weight: 600;
  text-transform: uppercase;
}

.domaine-item__button:hover {
  background-color: #0d3a74;
}

.domaine-item__link:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.domaine-item__content i {
  color: var(--color-green-primary);
}

.pacs-qualification-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
}

.content_container {
  background-color: var(--color-green-primary);
  padding: 20px 10px;
  border-radius: 10px;
}

.pacs-qualification-container h5 {
  color: #fff;
}
.pacs-image {
  width: 250px;
  height: 150px;
  margin-right: 20px;
}

.setec-map__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--container-max-width);
}
.setec-map__image {
  width: 100%;
}

@media (max-width: 750px) {
  .pacs-qualification-container {
    flex-direction: column;
  }
}
.ticker-window {
  position: relative;
  height: 400px;
  overflow: hidden;
  align-items: center;
  padding-left: 60px;
}

.ticker-arrow-fixed {
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid #f4f2f0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}


/* Precision line heights for seamless translation calculations */
.ticker-item {
  font-size: 2rem;
  font-weight: 700;
  height: 80px;
  display: block;
  text-align: left;
  line-height: 1px;
  color: var(--color-gray); /* Default faded state */
  white-space: nowrap;
}
