#offer-banner {
  font-family: "DDC Heading Font Face", Arial, sans-serif;
  background-color: #ffffff;
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #3e3e3e;
}
.offer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.offer-header h2 {
  font-size: 24px;
  margin: 0;
}
.offer-details {
  display: flex;
  gap: 20px;
}
.lease-offer, .finance-offer {
  background-color: #f5f5f5;
  padding: 10px;
  border: 1px solid #ddd;
}
.offer-label {
  font-size: 14px;
  font-weight: bold;
  color: #0d2c6c;
}
.offer-amount {
  font-size: 24px;
  font-weight: bold;
}
.offer-term {
  font-size: 14px;
}
.offer-terms {
  font-size: 12px;
}
.offer-image img {
  max-height: 150px;
  max-width: 300px;
}
.claim-special {
  background-color: #0d2c6c;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
.view-details {
  text-align: left;
  margin-top: 10px;
}
.view-details a {
  color: #333;
  text-decoration: none;
}
.disclaimers {
  font-size: 12px;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.disclaimers.expanded {
  max-height: 500px; /* Adjust this value based on your content */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

#closeModal {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #0d2c6c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#closeModal:hover {
    background-color: #004e9a;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.thank-you-message {
    padding-top: 40px;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 100px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #0d2c6c;
}

.error-message {
    color: #0d2c6c;
    font-size: 12px;
    margin-top: 5px;
}

.form-message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#leadForm button[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0d2c6c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#leadForm button[type="submit"]:hover {
    background-color: #004e9a;
}

@media (max-width: 768px) {
  .offer-content {
    flex-direction: column;
  }
  .offer-details {
    flex-direction: column;
    width: 100%;
  }
  .offer-image {
    order: -1;
    margin-bottom: 10px;
  }
  .claim-special {
    width: 100%;
    margin-top: 10px;
  }
}