/* Newsletter Section Styles */
.newsletter-section {
  background-color: #222;
  padding: 80px 0;
  color: #fff;
}

.newsletter-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.newsletter-text {
  flex: 0 0 40%;
}

.newsletter-text h2 {
  font-family: var(--font-inter, sans-serif);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 0;
}

.newsletter-text p {
  font-family: var(--font-inter, sans-serif);
  font-size: 21px;
  line-height: 1.4;
  opacity: 0.9;
}

.newsletter-form {
  flex: 0 0 55%;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-group:last-child {
  flex: 0 0 auto;
}

.newsletter-form input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-family: var(--font-inter, sans-serif);
  font-size: 18px;
  color: #fff;
  height: 60px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.25);
}

.btn-subscribe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fff;
  color: #222;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-family: var(--font-inter, sans-serif);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  height: 60px;
  transition: all 0.3s ease;
}

.btn-subscribe:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.btn-subscribe svg {
  transition: transform 0.3s ease;
}

.btn-subscribe:hover:not(:disabled) {
  background-color: #f5f5f5;
}

.btn-subscribe:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.form-disclaimer {
  margin-top: 15px;
}

.form-disclaimer p {
  font-family: var(--font-inter, sans-serif);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.6;
  max-width: 90%;
}

/* Success and Error Messages */
.form-success {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(76, 175, 80, 0.1);
  border: 2px solid #4CAF50;
  border-radius: 12px;
  margin-top: 20px;
}

.form-success h3 {
  font-family: var(--font-inter, sans-serif);
  font-size: 32px;
  font-weight: 700;
  color: #4CAF50;
  margin: 0 0 15px 0;
}

.form-success p {
  font-family: var(--font-inter, sans-serif);
  font-size: 18px;
  color: #fff;
  margin: 0;
  opacity: 0.9;
}

.form-error {
  background-color: rgba(244, 67, 54, 0.1);
  border: 2px solid #F44336;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.form-error p {
  font-family: var(--font-inter, sans-serif);
  font-size: 16px;
  color: #F44336;
  margin: 0;
  font-weight: 500;
}

/* Responsive styles */
@media (max-width: 992px) {
  .newsletter-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .newsletter-text,
  .newsletter-form {
    flex: 0 0 100%;
  }
  
  .newsletter-text {
    margin-bottom: 40px;
  }
  
  .newsletter-text h2 {
    font-size: 54px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 60px 0;
  }
  
  .newsletter-text h2 {
    font-size: 44px;
  }
  
  .newsletter-text p {
    font-size: 18px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-group {
    width: 100%;
  }
  
  .newsletter-form input,
  .btn-subscribe {
    height: 50px;
  }
  
  .btn-subscribe {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .newsletter-section {
    padding: 50px 0;
  }
  
  .newsletter-text h2 {
    font-size: 36px;
  }
  
  .newsletter-text p {
    font-size: 16px;
  }
  
  .newsletter-form input {
    font-size: 16px;
  }
  
  .btn-subscribe {
    font-size: 16px;
    padding: 12px 25px;
  }
  
  .form-disclaimer p {
    font-size: 12px;
  }
} 