body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, #00264d 0%, #003d73 100%);
  height: 40vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
  opacity: 0.9;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  color: #00264d;
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.red-line {
  width: 80px;
  height: 3px;
  background-color: #e11f1d;
  margin: 0 auto 20px;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
}

.quote-section {
  background: white;
  padding: 60px 0;
}

.quote-form-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
}

.form-section h3 {
  color: #00264d;
  font-size: 1.4rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.form-section h3 i {
  color: #e11f1d;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
}

.required {
  color: #e11f1d;
  font-weight: bold;
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #e11f1d;
  box-shadow: 0 0 0 3px rgba(225, 31, 29, 0.1);
  transform: translateY(-1px);
}

input.error,
select.error,
textarea.error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.other-sector-input {
  margin-top: 10px;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.other-sector-input.show {
  display: block;
}

.other-sector-input input {
  border-style: dashed;
  border-color: #007bff;
  background-color: #f8f9ff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.product-item:hover {
  border-color: #e11f1d;
  background: #fff5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 31, 29, 0.1);
}

.product-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: #e11f1d;
}

.product-info {
  flex: 1;
}

.product-info label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}

.quantity-control label {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  white-space: nowrap;
}

.quantity-input {
  width: 70px !important;
  text-align: center;
  padding: 8px 12px !important;
  font-weight: 500;
}

.quantity-input:disabled {
  background-color: #e9ecef;
  opacity: 0.6;
  cursor: not-allowed;
}

.quantity-input:enabled {
  border-color: #007bff;
  background-color: white;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #e11f1d;
}

.checkbox-item label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  flex: 1;
}

.consent-checkbox {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  margin-top: 20px;
}

.consent-checkbox label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.btn-primary,
.btn-secondary {
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
  min-width: 160px;
  justify-content: center;
}

.btn-primary {
  background: #e11f1d;
  color: white;
  box-shadow: 0 4px 15px rgba(225, 31, 29, 0.3);
}

.btn-primary:hover {
  background: #c81010;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 31, 29, 0.4);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.success-message {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.success-content {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 400px;
}

.success-content i {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 20px;
}

.success-content h3 {
  color: #00264d;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.success-content p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-info {
  background: #f8f9fa;
  padding: 60px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 2.5rem;
  color: #e11f1d;
  margin-bottom: 20px;
}

.info-card h3 {
  color: #00264d;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.info-card p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card a {
  color: #25d366;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #128c7e;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .container {
    padding: 20px 15px !important; 
  }
  
  .quote-form-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .quote-form {
    padding: 20px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    border-radius: 8px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .quantity-control {
    align-self: flex-end;
    min-width: auto;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    min-width: auto !important;
    max-width: none !important;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .success-content {
    margin: 20px;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px 10px !important;
  }
  
  .quote-form {
    padding: 15px !important;
    margin: 0 !important;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 15px !important;
    font-size: 0.9rem;
  }
  
  .form-section h3 {
    font-size: 1.2rem;
  }

}

.error-field {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  background-color: #fff5f5 !important;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.error-section {
  border: 2px solid #dc3545 !important;
  border-radius: 8px;
  background-color: rgba(220, 53, 69, 0.05) !important;
  animation: pulse-error 1s ease-in-out;
}

@keyframes pulse-error {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.validation-errors {
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
  color: #721c24;
  border: 2px solid #f1b0b7;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.validation-errors .error-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.validation-errors .error-content i {
  font-size: 1.5rem;
  color: #721c24;
  align-self: flex-start;
}

.validation-errors h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #721c24;
}

.validation-errors ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: none;
}

.validation-errors li {
  position: relative;
  padding: 5px 0;
  font-weight: 500;
}

.validation-errors li::before {
  content: "⚠";
  position: absolute;
  left: -20px;
  color: #721c24;
  font-weight: bold;
}

.alert {
  padding: 20px;
  margin: 25px 0;
  border-radius: 10px;
  font-weight: 500;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border-color: #c3e6cb;
}

.alert-error {
  background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
  color: #721c24;
  border-color: #f1b0b7;
}

.alert i {
  margin-right: 10px;
  font-size: 1.2rem;
}

input[type="text"]:focus.error-field,
input[type="email"]:focus.error-field,
input[type="tel"]:focus.error-field,
input[type="number"]:focus.error-field,
select:focus.error-field,
textarea:focus.error-field {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
}

@media (max-width: 768px) {
  .validation-errors {
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
  }
  
  .validation-errors h4 {
    font-size: 1rem;
  }
  
  .validation-errors li {
    font-size: 0.9rem;
  }
  
  .alert {
    padding: 15px;
    margin: 20px 0;
  }
  
  .alert i {
    font-size: 1.1rem;
  }
}