/* Newsletter Section Styles */
.newsletter-section {
  margin: auto;
  position: absolute;
  overflow: hidden;
  top: -170px;
  width: 100%;
  display: flex;
  justify-content: center;
}


p.newsletter-wraper {
  padding: 0;
  max-width: 1112px;
  background-color: var(--black-90);
  padding: 0 0 0 30px;
}

.newsletter-content {
  display: flex;
  align-items: center;
  min-height: 260px;
  position: relative;
}

/* Decoration Section */
.newsletter-decoration {
  position: relative;
  width: 260px;
  height: 260px;
  background-color: var(--orange-dark);
  border-radius: 4px 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.newsletter-decoration-bg {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 100%;
  height: 100%;
  background-color: var(--orange-dark);
}

.newsletter-decoration-image {
  position: absolute;
  bottom: -169.49%;
  left: -16.95%;
  right: -16.95%;
  top: -169.49%;
  z-index: 1;
}

.newsletter-decoration-object {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-decoration-logo {
  width: 159.253px;
  height: 120.262px;
  object-fit: contain;
  display: block;
}

/* Form Section */
.newsletter-form-section {
  flex: 1;
  padding: 38px 48px 37px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: var(--black-90);
  height: 260px;
}

.newsletter-title {
  font-family: var(--h3-font-family);
  font-weight: var(--h3-font-weight);
  font-size: var(--h3-font-size);
  line-height: var(--h3-line-height);
  color: var(--white);
  margin: 0;
  text-align: left;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.newsletter-input-wrapper {
  flex: 1;
  background-color: var(--black-80);
  border-radius: 2px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  box-sizing: border-box;
}

.newsletter-input-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-input-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 40px;
}

.newsletter-input-label {
  font-family: var(--h8-alt-font-family);
  font-weight: var(--h8-alt-font-weight);
  font-size: var(--h8-alt-font-size);
  line-height: var(--h8-alt-line-height);
  letter-spacing: var(--h8-alt-letter-spacing);
  color: var(--black-40);
  margin-bottom: 2px;
}

.newsletter-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--h6-font-family);
  font-weight: var(--h6-font-weight);
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
  color: var(--black-20);
  width: 100%;
  padding: 0;
}

.newsletter-input::placeholder {
  color: var(--black-20);
}

.newsletter-button {
  background-color: var(--white);
  color: var(--black-100);
  border: none;
  border-radius: 2px;
  padding: 20px 32px;
  font-family: var(--h6-alt-font-family);
  font-weight: var(--h6-alt-font-weight);
  font-size: var(--h6-alt-font-size);
  line-height: var(--h6-alt-line-height);
  letter-spacing: var(--h6-alt-letter-spacing);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-button:hover {
  background-color: var(--black-10);
}

/* Checkbox Section */
.newsletter-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.newsletter-checkbox {
  position: relative;
  flex-shrink: 0;
}

.newsletter-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.newsletter-checkbox-custom {
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--orange-dark);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.newsletter-checkbox-input:not(:checked)+.newsletter-checkbox-custom svg {
  opacity: 0;
}

.newsletter-checkbox-input:checked+.newsletter-checkbox-custom svg {
  opacity: 1;
}

.newsletter-checkbox-text {
  font-family: var(--h7-font-family);
  font-weight: var(--h7-font-weight);
  font-size: var(--h7-font-size);
  line-height: var(--h7-line-height);
  color: var(--white);
  cursor: pointer;
  margin: 0;
  padding-top: 2px;
}

.newsletter-privacy-link {
  color: var(--orange-dark);
  text-decoration: none;
}

.newsletter-privacy-link:hover {
  text-decoration: underline;
}


@media screen and (max-width: 1140px) {

  .newsletter-form-section {
    padding: 16px 48px 16px 48px;
  }
}


/* Responsive Design */
@media screen and (max-width: 991px) {
  .newsletter-section {
    margin: 0 24px;
  }

  .newsletter-content {
    flex-direction: column;
    min-height: auto;
  }

  .newsletter-decoration {
    width: 100%;
    height: 160px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, var(--orange-dark) 0%, #FF8A50 100%);
  }

  .newsletter-decoration-logo {
    width: 80px;
    height: 60px;
  }

  .newsletter-form-section {
    padding: 24px 20px;
    gap: 20px;
  }

  .newsletter-title {
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 4px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-input-wrapper {
    min-height: 48px;
    padding: 6px 12px;
  }

  .newsletter-input-label {
    font-size: 12px;
    margin-bottom: 1px;
  }

  .newsletter-input {
    font-size: 14px;
  }

  .newsletter-button {
    width: 100%;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 14px;
  }

  .newsletter-checkbox-wrapper {
    gap: 8px;
    align-items: flex-start;
  }

  .newsletter-checkbox-text {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 767px) {
  .newsletter-section {
    margin: 0px;
    position: relative;
    top: -100px;
  }

  .newsletter-form-section {
    padding: 20px 16px;
    padding-top: 70px;
  }

  .newsletter-title {
    font-size: 18px;
  }

  .newsletter-decoration {
    height: 100px;
    width: 100px;
    border-radius: 0px;
    margin-bottom: -50px;
  }

  .newsletter-decoration-bg {
    left: 17%;
  }

  .newsletter-decoration-logo {
    width: 70px;
    height: 52px;
  }
}