/**
* As Seen On Block Styles
*/

.as-seen-on {
  padding: 30px 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #f1f1f1;
}

/* Ensure full width works properly */
.as-seen-on.alignfull {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
}

.as-seen-on .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.as-seen-on__content {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.as-seen-on__left {
  flex: 1;
  min-width: 300px;
  width: 50%;
  padding-right: 20px;
}

.as-seen-on__right {
  flex: 1;
  width: 50%;
  max-width: 50%;
}

.as-seen-on__title {
  font-family: "Inter", sans-serif;
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-align: left;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.as-seen-on__logos {
  max-width: 100%;
}

.as-seen-on__logos-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.as-seen-on__main-image {
  max-width: 100%;
}

.as-seen-on__image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Video styles */
.as-seen-on__main-video {
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.as-seen-on__video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: #f1f1f1;
}

.as-seen-on__button {
  text-align: center;
  margin-top: 50px;
}

.as-seen-on__button .button {
  display: inline-block;
  background-color: #c41e22;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  border-radius: 50px !important;
  background-image: linear-gradient(to bottom, #b31b1f, #c41e22) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.as-seen-on__button .button:hover {
  background-color: #a01a1d;
}

/* Modal styles */
.gf-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.gf-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;

  width: 80%;
  max-width: 600px;
  position: relative;
}

.gf-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

/* Responsive styles */
@media (max-width: 768px) {
  .as-seen-on__content {
    flex-direction: column;
  }

  .as-seen-on__left,
  .as-seen-on__right {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .as-seen-on__title {
    text-align: center !important;
    width: 100% !important;
    font-size: 32px;
  }

  .as-seen-on__main-image,
  .as-seen-on__main-video {
    margin: 0 auto;
    max-width: 100%;
  }

  .as-seen-on__button .button {
    padding: 1rem !important;
  }
}
