/* Modern Estimate Page Styles */

.modern-estimate-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  min-height: calc(100vh - 70px);
}

.estimate-container {
  max-width: 1200px;
  margin: 0 auto;
}

.estimate-header {
  text-align: center;
  margin-bottom: 60px;
}

.estimate-header-tag {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.estimate-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.estimate-header p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Estimate Grid Layout */
.estimate-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Estimate Form Card */
.estimate-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.estimate-form-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.estimate-form-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

/* JotForm Override Styles */
.estimate-form-card .form-all {
  width: 100% !important;
  max-width: 100% !important;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.estimate-form-card .form-line {
  padding: 10px 0 !important;
  margin-bottom: 16px !important;
}

.estimate-form-card .form-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 8px !important;
}

.estimate-form-card input[type="text"],
.estimate-form-card input[type="email"],
.estimate-form-card input[type="tel"],
.estimate-form-card select,
.estimate-form-card textarea {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  color: #1a1a1a !important;
  transition: all 0.3s ease !important;
  background: #f8f9fa !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

.estimate-form-card input[type="text"]:focus,
.estimate-form-card input[type="email"]:focus,
.estimate-form-card input[type="tel"]:focus,
.estimate-form-card select:focus,
.estimate-form-card textarea:focus {
  outline: none !important;
  border-color: #00aaff !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(0, 170, 255, 0.1) !important;
}

.estimate-form-card .form-submit-button,
.estimate-form-card button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 16px 40px !important;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 170, 255, 0.3) !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  min-width: 200px !important;
}

.estimate-form-card .form-submit-button:hover,
.estimate-form-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.4) !important;
}

/* Contact Info Card */
.estimate-info-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 90px;
}

.estimate-info-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.estimate-info-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.estimate-benefits {
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-content {
  flex: 1;
}

.benefit-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.benefit-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.estimate-contact-info {
  border-top: 1px solid #e9ecef;
  padding-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  align-items: center;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00aaff;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-text {
  flex: 1;
}

.contact-info-text h4 {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 15px;
  color: #1a1a1a;
  margin: 0;
  font-weight: 500;
}

.contact-info-text a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: #00aaff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .estimate-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .estimate-info-card {
    position: relative;
    top: 0;
  }
  
  .estimate-header h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .modern-estimate-section {
    padding: 60px 16px;
  }
  
  .estimate-header {
    margin-bottom: 40px;
  }
  
  .estimate-header h1 {
    font-size: 32px;
  }
  
  .estimate-header p {
    font-size: 16px;
  }
  
  .estimate-form-card,
  .estimate-info-card {
    padding: 28px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .estimate-header h1 {
    font-size: 28px;
  }
  
  .estimate-form-card,
  .estimate-info-card {
    padding: 24px;
  }
  
  .estimate-form-card h2 {
    font-size: 24px;
  }
  
  .estimate-form-card .form-submit-button,
  .estimate-form-card button[type="submit"] {
    width: 100% !important;
  }
}
