* {
  box-sizing: border-box;

}

html {
  scroll-behavior: smooth;

}

body {
  margin: 0;
  font-family: Roboto, Arial;
  background-color: white;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
#p {
  color: #343E51;
  line-height: 1.3;
}

p {
  color: #60697B;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

}




/* Toast styles — fully centered on all screen sizes */
.form-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 11000;
  pointer-events: auto;
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
  width: max-content;
  /* ENSURES TRUE WIDTH for accurate centering */
  max-width: 90%;
  /* prevents overflow on tiny screens */
  box-sizing: border-box;
}

/* visible state */
.form-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* hide state */
.form-toast--hide {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}

/* inner content */
.form-toast-inner {
  display: inline-block;
  background: #343E51;
  color: #fff;
  padding: 12px 18px;
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18);
  font-weight: 600;
  text-align: center;
  font-size: 15px;
}

/* small screens */
@media (max-width: 420px) {
  .form-toast {
    max-width: 95%;
  }

  .form-toast-inner {
    font-size: 14px;
    padding: 10px 14px;
  }
}



@media (min-width: 1200px) {

  .recipe-container,
  .recipe-header,
  .recipe-image,
  .recipe-meta,
  .recipe-section,
  .ingredients-list,
  .steps-list,
  .notes,
  .qa-form,
  .qa-form-title,
  .form-content,
  .tr-container,
  .review-card,
  .review-form,
  .container,
  .search,
  .recipeText,
  .allRecipeText,
  .recipes,
  .recipe-card,
  .recipe-title,
  .hero-section,
  .about-us,
  .about-cards,
  .featured-recipes,
  .subscription-container,
  .holidays-nav,
  .holiday,
  .recipe-list,
  .recipe-container,
  .reviews-list,
  .baking-basics-hero,
  footer {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .back-button {
    display: block;
    margin-left: clamp(16px, 6vw, 160px);
    margin-right: 0;
  }


  .baking-basics-hero {

    padding-left: clamp(16px, 6vw, 160px);
    padding-right: clamp(16px, 6vw, 160px);
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    animation: none !important;
    transition: none !important;
  }
}

/* Subscription Styles */
.subscription-container {
  background-color: rgb(236, 255, 240);
  border-radius: 7px;
  padding: clamp(32px, 6vw, 68px);
  margin: clamp(40px, 10vw, 60px) clamp(16px, 8vw, 103px);
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(40px, 8vw, 150px);
}

.subscription-form .input-ne {
  display: block;
  border: none;
  outline: none;
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.input-ne::placeholder {
  font-size: 16px;
}

.subscription-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #60697B;
  cursor: pointer;
  margin: 0 5px 0 0;
  vertical-align: middle;
}

.submit-btn {
  padding: 10px 15px;
  border: 2px solid rgb(255, 207, 95);
  font-size: 17px;
  font-weight: 700;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.388);
  color: rgb(255, 207, 95);
  margin-right: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.15s, color 0.15s;
}

.submit-btn:hover {
  background-color: rgb(255, 207, 95);
  color: #f1f1f1;
}

@media (max-width: 992px) {
  .subscription-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: clamp(24px, 8vw, 40px) 24px;
    margin: clamp(32px, 8vw, 48px) clamp(16px, 6vw, 32px);
    gap: 24px;
  }

  .subscription-form .input-ne {
    width: 100%;
  }

  .submit-btn {
    width: 100%;
  }
}