* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: auto;
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

.celebrate-section {
  position: relative;
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 100px;

  @media (max-width: 1280px) {
    width: 100%;
    max-width: 430px;
    padding-bottom: 0;
  }
}

.logo-container {
  position: absolute;
  top: 26px;
  left: 0;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;

  @media (max-width: 1280px) {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.logo-container.in-view {
  opacity: 1;
  transform: translateY(0);
}

.logo {
  width: 164px;
  height: 50px;
}

.celebrate-content {
  display: flex;
  align-items: center;

  @media (max-width: 1280px) {
    flex-direction: column;
    padding-top: 65px;
  }
}

.celebrate-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 503px;
  max-width: 503px;
  opacity: 0;
  transform: translateX(-200px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;

  @media (max-width: 1280px) {
    min-width: 399px;
    max-width: 399px;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    

    br {
      display: none;
    }
  }

  @media (max-width: 429px) {
    min-width: 330px;
    max-width: 330px;
  }
}

.celebrate-content-wrapper.in-view {
  opacity: 1;
  transform: translateX(0);
}

.celebrate-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #5DB150;
  margin-bottom: 16px;

  @media (max-width: 1280px) {
    margin-bottom: 12px;
    font-size: 14px;
  }
}

.celebrate-title {
  font-size: 40px;
  font-weight: 800;
  color: #2C201F;
  margin-bottom: 16px;
  line-height: 100%;

  span {
    color: #EEBC40;
  }

  @media (max-width: 1280px) {
    font-size: 30px;
    margin-bottom: 12px;
  }
}

.celebrate-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #616161;
  margin-bottom: 29px;

  @media (max-width: 1280px) {
    max-width: 360px;
    line-height: 22px;
    margin-bottom: 20px;
  }
}

.celebrate-dog-image {
  width: 780px;
  min-height: 640px;
  margin-top: -8px;
  margin-left: -30px;
  opacity: 0;
  transition: opacity 1s ease-out;

  @media (max-width: 1280px) {
    display: none;
  }
}

.celebrate-dog-image.in-view {
  opacity: 1;
}

.celebrate-dog-full {
  display: none;
  
  @media (max-width: 1280px) {
    display: block;
    width: 430px;
    min-height: 300px;
    opacity: 0;
    transition: opacity 1s ease-out;
  }

  @media (max-width: 429px) {
    width: 358px;
  }
}

.celebrate-dog-full.in-view {
  opacity: 1;
}

.celebrate-button {
  width: 162px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background-color: #2E1E1F;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 90px;
  border: none;
  cursor: pointer;

  @media (max-width: 1280px) {
    width: 180px;
  }
}

.offer-section-wrapper {
  width: 100vw;
  background-color: #F3E9E0;
}

.offer-section {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #F3E9E0;
  padding: 80px 0 50px;
  display: flex;
  justify-content: space-between;
  gap: 29px;

  @media (max-width: 1280px) {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 430px;
    gap: 27px;
    padding: 43px 0 40px;
  }
}

.offer-image {
  width: 655px;
  min-height: 265px;
  opacity: 0;
  transition: opacity 1.5s ease-out;

  @media (max-width: 1280px) {
    width: 100%;
    max-width: 405px;
    margin-left: 60px;
  }

  @media (max-width: 429px) {
    width: 360px;
  }
}

.offer-image.in-view {
  opacity: 1;
}

.offer-content-block {
  background-color: #fff;
  padding: 30px 35px;
  border-radius: 16px;
  border: 1px solid #2C201F;
  max-width: 416px;
  opacity: 0;
  transition: opacity 1.5s ease-out;

  @media (max-width: 1280px) {
    max-width: 330px;
    padding: 23px 26px;
  }
}

.offer-content-block.in-view {
  opacity: 1;
}

.offer-title {
  font-size: 26px;
  font-weight: 800;
  color: #2C201F;
  margin-bottom: 16px;

  @media (max-width: 1280px) {
    font-size: 20px;
    margin-bottom: 8px;
  }
}

.offer-text {
  font-size: 16px;
  font-weight: 400;
  color: #616161;
  line-height: 24px;
  margin-bottom: 16px;

  @media (max-width: 1280px) {
    font-size: 14px;
    line-height: 22px;
  }
}

.markers-container {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.limited-marker {
  width: 140px;
  background-color: #F3E9E0;
  border-radius: 125px;
  border: 1px solid #2C201F;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #2C201F;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 600;

  img {
    width: 15px;
    height: 15px;
    margin-top: -3px;
  }

  @media (max-width: 1280px) {
    width: 110px;
    font-size: 12px;

    img {
      width: 12px;
      height: 12px;
      margin-top: -3px;
    }
  }
}

.good-cause-marker {
  width: 140px;
  background-color: #ECECEC;
  border-radius: 125px;
  border: 1px solid #2C201F;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #2C201F;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  img {
    width: 15px;
    height: 15px;
    margin-top: -3px;
  }

  @media (max-width: 1280px) {
    width: 110px;
    font-size: 12px;

    img {
      width: 12px;
      height: 12px;
      margin-top: -3px;
    }
  }
}

.options-container-wrapper {
  width: 100%;
  border-bottom: 1px solid rgba(44, 32, 31, 0.5);
  padding-bottom: 16px;
  margin-bottom: 16px;

  @media (max-width: 1280px) {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
}

.options-container {
  display: flex;
  gap: 20px;
}

.option-item {
  font-size: 16px;
  font-weight: 700;
  color: #2C201F;
  line-height: 27px;
  width: 56px;

  @media (max-width: 1280px) {
    font-size: 14px;
    line-height: 22px;
    width: 60px;
  }
}

.option-content {
  font-size: 16px;
  line-height: 27px;
  font-weight: 400;
  color: #2C201F;

  @media (max-width: 1280px) {
    font-size: 14px;
    line-height: 22px;
  }
}

.offer-question {
  font-size: 16px;
  font-weight: 400;
  color: #2C201F;
  line-height: 24px;

  @media (max-width: 1280px) {
    font-size: 14px;
    line-height: 19px;
  }
}

.offer-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background-color: #2E1E1F;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 90px;
  border: none;
  cursor: pointer;
  margin-top: 20px;

  @media (max-width: 1280px) {
    margin-top: 16px;
  }
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  background: #f5efe8;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee img {
  display: block;
  width: 100vw;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.info-section {
  width: 80%;
  margin: 0 auto;
  padding: 121px 0 79px;

  @media (max-width: 1280px) {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 430px;
    gap: 27px;
    padding: 0;
  }
}

.info-content {
  background-color: #5DB150;
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  border-radius: 44px;
  padding: 60px 55px;

  @media (max-width: 1280px) {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 430px;
    gap: 27px;
    padding: 70px 0 66px;
    border-radius: 0;
  }
}

.info-text-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 1s ease-out;

  @media (max-width: 1280px) {
    padding: 0 16px;
  }
}

.info-text-block.in-view {
  opacity: 1;
}

.info-text {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;

  @media (max-width: 1280px) {
    gap: 16px;
    margin-bottom: 8px;
  }
}

.info-title {
  font-size: 40px;
  font-weight: 800;

  @media (max-width: 1280px) {
    font-size: 30px;
  }
}

.info-subtitle {
  font-size: 18px;
  font-weight: 400;

  @media (max-width: 1280px) {
    font-size: 16px;

    br {
      display: none;
    }
  }

  @media (max-width: 429px) {
    max-width: 332px;
  }
}

.info-donate-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #fff;
  position: relative;

  strong {
    color: #EEBC40;
    font-weight: 700;
    font-size: 20px;
  }

  @media (max-width: 1280px) {
    br {
      display: none;
    }
  }
}

.image-wrapper {
  position: relative;
}

.info-image {
  width: 412px;
  min-height: 404px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(200px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;

  @media (max-width: 1280px) {
    display: none;
  }
}

.info-image.in-view {
  opacity: 1;
  transform: translateY(66px);
}

.info-image-mobile {
  display: none;
  
  @media (max-width: 1280px) {
    opacity: 0;
    transform: translateX(-200px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    display: block;
    width: 356px;
    min-height: 300px;
    margin-left: -74px;
  }
}

.info-image-mobile.in-view {
  opacity: 1;
  transform: translateX(0);
}

.money-info {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 24px;
  opacity: 0;
  transition: opacity 1s ease-out;

  strong {
    color: #EEBC40;
    font-weight: 700;
  }

  @media (max-width: 1280px) {
    padding: 0 16px;
    position: relative;

    br {
      display: none;
    }
  }
}

.money-info.in-view {
  opacity: 1;
}

.tail-image {
  width: 224px;
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transform: translate(200px, 200px);

  @media (max-width: 1280px) {
    display: none;
  }
}

.tail-image.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

.big-paw {
  width: 76px;
  position: absolute;
  top: -20px;
  left: 20px;

  @media (max-width: 1280px) {
    display: none;
  }
}

.big-mobile-paw {
  display: none;

  @media (max-width: 1280px) {
    display: block;
    width: 51px;
    position: absolute;
    top: -60px;
    right: 4px;
  }

  @media (max-width: 429px) {
    top: 20px;
    right: -10px;
    transform: rotate(20deg);
  }
}

.small-mobile-paw {
  display: none;

  @media (max-width: 1280px) {
    display: block;
    width: 31px;
    position: absolute;
    bottom: -36px;
    left: 12px;
    transform: rotate(100deg);
  }
}

.small-paw {
  width: 32px;
  position: absolute;
  top: -15px;
  left: -38px;
  transform: rotate(90deg);

  @media (max-width: 1280px) {
    top: -116px;
    width: 51px;
    left: 296px;
  }

  @media (max-width: 429px) {
    top: -156px;
    left: 276px;
  }
}

.pup-section {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
  padding-bottom: 110px;

  @media (max-width: 1280px) {
    width: 100%;
    max-width: 430px;
    padding: 70px 0 57px;
  }
}

.pup-title {
  font-size: 40px;
  font-weight: 800;
  color: #2C201F;
  margin-bottom: 50px;
  text-align: center;

  span {
    color: #FEC957;
  }

  @media (max-width: 1280px) {
    font-size: 30px;
    line-height: 40px;
  }
}

.pup-images-wrapper {
  position: relative;
}

.pup-image {
  width: 794px;
  min-height: 450px;
  position: relative;
  z-index: 1;
  border-radius: 44px;
  opacity: 0;
  transition: opacity 1s ease-out;

  @media (max-width: 1280px) {
    width: 333px;
    border-radius: 16px;
    min-height: 180px;
  }
}

.pup-image.in-view {
  opacity: 1;
}

.paw-top {
  width: 276px;
  position: absolute;
  top: -70px;
  left: -80px;
  transform: rotate(180deg);
  opacity: 0;
  transition: opacity 0.2s ease-out, top 0.2s ease-out, left 0.2s ease-out;

  @media (max-width: 1280px) {
    width: 115px;
    top: -36px;
    left: -38px;
  }

  @media (max-width: 429px) {
    width: 107px;
    top: -30px;
    left: -28px;
  }
}

.paw-top.in-view {
  opacity: 1;
  top: -120px;
  left: -150px;

  @media (max-width: 1280px) {
    width: 115px;
    top: -56px;
    left: -58px;
  }

  @media (max-width: 429px) {
    width: 107px;
    top: -50px;
    left: -48px;
  }
}

.paw-bottom {
  width: 192px;
  position: absolute;
  bottom: -48px;
  right: -48px;
  opacity: 0;
  transition: opacity 0.2s ease-out, bottom 0.2s ease-out, right 0.2s ease-out;

  @media (max-width: 1280px) {
    width: 80px;
    bottom: -14px;
    right: -18px;
  }

  @media (max-width: 429px) {
    width: 74px;
    bottom: -18px;
    right: -12px;
  }
}

.paw-bottom.in-view {
  opacity: 1;
  bottom: -88px;
  right: -88px;

  @media (max-width: 1280px) {
    width: 80px;
    bottom: -34px;
    right: -38px;
  }

  @media (max-width: 429px) {
    width: 74px;
    bottom: -28px;
    right: -32px;
  }
}

.form-section {
  width: 80%;
  max-width: 1110px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media (max-width: 1280px) {
    width: 100%;
    max-width: 430px;
  }
}

.form-content-wrapper {
  display: flex;
  align-items: center;
  gap: 70px;
  position: relative;
  justify-content: space-between;

  @media (max-width: 1280px) {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

.form-content-block {
  display: flex;
  flex-direction: column;

  @media (max-width: 1280px) {
    align-items: center;
  }
}

.form-title {
  font-size: 65px;
  font-weight: 800;
  color: #2E1E1F;
  margin-bottom: 25px;
  margin-left: 32px;

  span {
    color: #FEC957;
  }

  @media (max-width: 1280px) {
    font-size: 30px;
    margin-bottom: 8px;
    margin-left: 0;

    br {
      display: none;
    }
  }
}

.form-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #2C201F;
  margin-left: 32px;

  @media (max-width: 1280px) {
    font-size: 20px;
    margin-left: 0;
  }
}

.dog-bg-wrapper {
  background-image: url('./images/dog-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 414px;
  height: 172px;
  position: relative;

  @media (max-width: 1280px) {
    background-image: none;
    width: 100%;
    height: 100%;
    margin-top: 10px;
  }
}

.dog-bg-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(0, -38%);

  @media (max-width: 1280px) {
    position: relative;
    transform: none;
    left: 0;
    top: 0;
  }
}

.dog-bg-title {
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;

  @media (max-width: 1280px) {
    font-size: 14px;
    line-height: 19px;
  }
}

.dog-bg-text {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #616161;

  @media (max-width: 1280px) {
    font-size: 12px;
    line-height: 14px;
  }
}

.dog-bg-paw {
  width: 66px;
  margin-right: 15px;

  @media (max-width: 1280px) {
    width: 46px;
    margin-right: 7px;
  }
}

.background-oval {
  width: 515px;
  height: 678px;
  background: #EEBC40;
  border-top-left-radius: 400px;
  border-top-right-radius: 400px;
  display: flex;
  justify-content: center;
  align-items: flex-start;

  @media (max-width: 1280px) {
    width: 430px;
    height: 556px;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
  }
}

.form-wrapper {
  background: #fff;
  border: 3px solid #32201A;
  border-radius: 25px;
  padding: 40px 35px;
  width: 436px;
  box-shadow: 5px 5px #32201A;
  position: relative;
  margin-top: 35px;

  @media (min-width: 1700px) {
    margin-top: 15px;
  }

  @media (max-width: 1280px) {
    width: 330px;
    padding: 30px 12px 35px;
    margin-top: 6px;
  }
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2C201F;
}

input {
  width: 100%;
  padding: 12px;
  border: 0.5px solid #BDBDBD;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #32201A;

  @media (max-width: 1280px) {
    font-size: 14px;
    margin-bottom: 8px;
  }
}

input::placeholder {
  color:#BDBDBD;
}

input:focus {
  outline: none;
  border: 1px solid rgba(0,0,0,0.8);
}

.error-msg {
  color: red;
  font-size: 12px;
  margin-top: -18px;

  @media (max-width: 1280px) {
    font-size: 10px;
    margin-top: -5px;
  }
}

.error-border, .error-border:focus {
  border: 1px solid red;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: #32201A;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  margin-top: 4px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.paws-wrapper {
  width: 100vw;
  position: relative;

  @media (max-width: 1280px) {
    width: 100%;
  }
}

.paws-footer {
  width: 100vw;
  max-height: 135px;
  min-height: 135px;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;

  @media (min-width: 1700px) {
    max-height: 145px;
    min-height: 145px;
  }

  @media (max-width: 1280px) {
    width: 430px;
    object-fit: cover;
    max-height: 114px;
    min-height: 114px;
    left: calc(50% - 215px);
  }
}

.form-loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.6);
  z-index: 4;
  align-items: center;
  justify-content: center;
}

.form-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: #5DB150;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.modal {
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  width: 320px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 6px 0 0 #2F2020;
  border: 4px solid #000;
}

.modal h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.modal button {
  background-color: #f7bb00;
  border: none;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border-radius: 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.modal button:hover {
  opacity: 0.8;
}
