/* General Styles */
body {
  background-image: url('background-library.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed; /* Optional: keeps the background fixed while scrolling */
}
  
  /* Background Panel & Proposition Box */
  .background-panel {
    position: relative;
    background-image: url('background.jpg'); /* Replace with your background image URL */
    background-size: cover;
    background-position: center;
    min-height: 700px; /* Increase the height */
    padding-top: 50px;  /* Increase top padding for more space */
    padding-bottom: 50px; /* Add bottom padding for more depth */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures text stays centered */
}
  
  .proposition-text {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    color: #fff;
    max-width: 700px;
    width: 100%;
    text-align: center;
    margin: 0 auto; /* No extra vertical margin */
  }
  
  /* Conversion Section (Form Box) */
  #conversion-section {
    background: #f3cd7c;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
    margin: -20px auto 0 auto;  /* Negative top margin to bring it closer to the proposition box */
  }
  
  /* Header within Conversion Section */
  header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  /* Form Elements */
  .form-control,
  .form-select {
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  textarea.form-control {
    min-height: 150px;
  }
  
  /* Buttons */
  .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  
  /* PayPal Button Container */
  #paypal-button-container {
    max-width: 300px;
    margin: 0 auto;
  }

  #progressbar1, #progressbar2 {
    min-height: 20px; /* or whatever height suits your design */
}
  
  /* Progress Indicators */
  .progress {
    height: 30px;
    margin-bottom: 15px;
  }
  
  .progress {
    height: 30px;
    background-color: #e9ecef;
    border-radius: 5px;
}

.progress::-webkit-progress-bar {
    background-color: #e9ecef;
    border-radius: 5px;
}

.progress::-webkit-progress-value {
    background-color: green; /* Ensure green color is applied */
}

#status {
  display: block !important; /* Ensure it's always visible */
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}

  
  .main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

  
  /* Alert Messages */
  .alert {
    font-weight: bold;
  }
  
  /* Footer Styles */
  footer {
    background: #dd8d0d;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
  }
  
  footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 900px) {
    .proposition-text {
      padding: 20px;
    }
    #conversion-section {
      padding: 20px;
      margin-top: -10px;
    }
    header h1 {
      font-size: 1.75rem;
    }
    .btn-primary {
      font-size: 1rem;
      padding: 10px 20px;
    }
  }
  