/* Request a Quote Section Styles */
.quote-section {
  padding: 130px 0;
  background: #ffffff;
}

.quote-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.quote-section-title {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease-out;
}

.quote-section-title h2 {
  font-size: 55px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1em;
  letter-spacing: -1.5px;
  color: #313333;
  margin: 0 0 12px 0;
  font-family: 'avenir_heavy', sans-serif;
}

.quote-section-title .subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: #5c6162;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
}

.quote-content-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  animation: fadeInUp 0.8s ease-out;
}

/* Left Content */
.quote-left-content {
  flex: 0 0 40%;
  max-width: 40%;
}

.quote-left-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: #313333;
  margin: 0 0 20px 0;
  font-family: 'avenir_heavy', sans-serif;
}

.quote-left-content .description {
  font-size: 16px;
  line-height: 1.9;
  color: #5c6162;
  margin-bottom: 30px;
}

.quote-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.quote-benefits li {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #313333;
  margin-bottom: 15px;
  font-family: 'Open Sans', sans-serif;
}

.quote-benefits li:before {
  content: '✔';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #CADB6F;
  color: #ffffff;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.quote-contact-details {
  padding: 30px;
  background: #f8f8f8;
  border-left: 4px solid #3c6683;
  margin-top: 40px;
}

.quote-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
}

.quote-contact-item:last-child {
  margin-bottom: 0;
}

.quote-contact-item i {
  color: #3c6683;
  font-size: 18px;
  margin-right: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.quote-contact-item .contact-label {
  font-size: 14px;
  color: #5c6162;
  display: block;
  margin-bottom: 3px;
}

.quote-contact-item .contact-value {
  font-size: 16px;
  font-weight: 600;
  color: #313333;
}

.quote-contact-item a {
  color: #3c6683;
  text-decoration: none;
  transition: color 0.3s;
}

.quote-contact-item a:hover {
  color: #CADB6F;
}

/* Right Content - Form */
.quote-right-content {
  flex: 0 0 60%;
  max-width: 60%;
}

.quote-form-container {
  background: #ffffff;
  padding: 50px;
  border: 1px solid #ebebeb;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.08);
}

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

.quote-form-group {
  flex: 1;
  margin-bottom: 20px;
}

.quote-form-group.full-width {
  width: 100%;
}

.quote-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #313333;
  margin-bottom: 8px;
  font-family: 'Open Sans', sans-serif;
}

.quote-form-group label .required {
  color: #3c6683;
  margin-left: 2px;
}

.quote-form-group input,
.quote-form-group select,
.quote-form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ebebeb;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  color: #313333;
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus {
  border-color: #3c6683;
  box-shadow: 0 0 0 3px rgba(60, 102, 131, 0.1);
}

.quote-form-group input.error,
.quote-form-group select.error,
.quote-form-group textarea.error {
  border-color: #cf2e2e;
}

.quote-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.quote-form-group .error-message {
  display: none;
  color: #cf2e2e;
  font-size: 13px;
  margin-top: 5px;
  font-family: 'Open Sans', sans-serif;
}

.quote-form-group.has-error .error-message {
  display: block;
}

.quote-form-checkbox {
  display: flex;
  align-items: flex-start;
  margin: 25px 0;
}

.quote-form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.quote-form-checkbox label {
  font-size: 14px;
  color: #5c6162;
  cursor: pointer;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

.quote-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  padding: 17px 40px;
  color: #313333;
  background-color: #CADB6F;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.45s ease;
}

.quote-submit-btn:after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 10px;
  font-size: 14px;
}

.quote-submit-btn:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  left: 0;
  top: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  background-color: #313333;
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
}

.quote-submit-btn:hover {
  color: #ffffff;
}

.quote-submit-btn:hover:before {
  transform: scale(1, 1);
  transform-origin: top left;
}

.quote-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.quote-submit-btn.loading {
  pointer-events: none;
}

.quote-submit-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 10px;
}

.quote-submit-btn.loading .spinner {
  display: inline-block;
}

/* Success Card */
.quote-success-card {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.5s ease-out;
}

.quote-success-card.show {
  display: block;
}

.quote-success-card .success-icon {
  width: 80px;
  height: 80px;
  background: #CADB6F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: scaleIn 0.5s ease-out;
}

.quote-success-card .success-icon i {
  font-size: 40px;
  color: #ffffff;
}

.quote-success-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: #313333;
  margin: 0 0 15px 0;
  font-family: 'avenir_heavy', sans-serif;
}

.quote-success-card p {
  font-size: 16px;
  line-height: 1.9;
  color: #5c6162;
  margin-bottom: 30px;
}

.quote-success-card .success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  padding: 17px 30px;
  color: #313333;
  background-color: #CADB6F;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.45s ease;
}

.quote-success-card .success-btn:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  left: 0;
  top: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  background-color: #313333;
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
}

.quote-success-card .success-btn:hover {
  color: #ffffff;
}

.quote-success-card .success-btn:hover:before {
  transform: scale(1, 1);
  transform-origin: top left;
}

/* Error Alert */
.quote-error-alert {
  display: none;
  padding: 15px 20px;
  background: #fff5f5;
  border-left: 4px solid #cf2e2e;
  margin-bottom: 20px;
  animation: fadeInDown 0.3s ease-out;
}

.quote-error-alert.show {
  display: block;
}

.quote-error-alert p {
  margin: 0;
  color: #cf2e2e;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .quote-section {
    padding: 100px 0;
  }

  .quote-section-title h2 {
    font-size: 45px;
  }

  .quote-content-wrapper {
    gap: 40px;
  }

  .quote-form-container {
    padding: 40px 30px;
  }
}

@media (max-width: 991px) {
  .quote-content-wrapper {
    flex-direction: column;
  }

  .quote-left-content,
  .quote-right-content {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .quote-section {
    padding: 70px 0;
  }

  .quote-section-title {
    margin-bottom: 40px;
  }

  .quote-section-title h2 {
    font-size: 35px;
  }

  .quote-form-container {
    padding: 30px 20px;
  }

  .quote-form-row {
    flex-direction: column;
    gap: 0;
  }

  .quote-left-content h3 {
    font-size: 28px;
  }

  .quote-contact-details {
    padding: 20px;
  }

  .quote-success-card {
    padding: 40px 20px;
  }

  .quote-success-card h3 {
    font-size: 28px;
  }
}
