/* Newsletter Section */
.newsletter-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #1a5f3f 0%, #2d8f5f 50%, #87c145 100%);
}

.newsletter-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("img/newsletterfooter.svg") center / cover;
  opacity: 0.1;
  z-index: 1;
}

.newsletter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 95, 63, 0.9) 0%,
    rgba(45, 143, 95, 0.8) 50%,
    rgba(135, 193, 69, 0.7) 100%
  );
  z-index: 2;
}

/* Animated Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  top: 70%;
  left: 10%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

/* Header Styles */
.newsletter-header {
  position: relative;
  z-index: 10;
}

.newsletter-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.newsletter-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.newsletter-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.text-gradient {
  background: linear-gradient(45deg, #87c145, #a8d96e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description Styles */
.newsletter-description {
  position: relative;
  z-index: 10;
}

.description-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
}

.description-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.noc-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #87c145, #a8d96e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(135, 193, 69, 0.3);
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-item i {
  color: #87c145;
  margin-right: 8px;
  font-size: 16px;
}

/* Form Styles */
.newsletter-form-container {
  position: relative;
  z-index: 10;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-wrapper {
  position: relative;
}

.input-group {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  padding: 5px;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: #87c145;
  box-shadow: 0 0 30px rgba(135, 193, 69, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  z-index: 5;
  transition: all 0.3s ease;
}

.input-group:focus-within .input-icon {
  color: #87c145;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 20px 18px 55px;
  color: white;
  font-size: 16px;
  border-radius: 60px;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
  box-shadow: none;
  background: transparent;
}

.newsletter-btn {
  background: linear-gradient(45deg, #87c145, #a8d96e);
  border: none;
  padding: 18px 30px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-width: 140px;
}

.newsletter-btn:hover {
  background: linear-gradient(45deg, #6fa832, #87c145);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(135, 193, 69, 0.4);
}

.newsletter-btn:active {
  transform: translateY(0);
}

.btn-text,
.btn-icon,
.btn-loading {
  transition: all 0.3s ease;
}

.btn-loading {
  display: none;
}

.newsletter-btn.loading .btn-text,
.newsletter-btn.loading .btn-icon {
  opacity: 0;
}

.newsletter-btn.loading .btn-loading {
  display: inline-block;
}

.form-feedback {
  margin-top: 15px;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.form-feedback.success {
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.form-feedback.error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.privacy-notice {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

/* Stats */
.newsletter-stats {
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #87c145;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .newsletter-title {
    font-size: 2rem;
  }

  .description-card {
    padding: 30px 20px;
  }

  .features-list {
    flex-direction: column;
    align-items: center;
  }

  .input-group {
    flex-direction: column;
    padding: 10px;
  }

  .newsletter-input {
    margin-bottom: 10px;
    text-align: center;
    padding-left: 20px;
  }

  .input-icon {
    display: none;
  }

  .newsletter-btn {
    width: 100%;
  }
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
