/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #0a1a4a 0%, #1e3a8a 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.contact-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-title {
  font-size: 2.5rem;
  color: #0a1a4a;
  margin-bottom: 20px;
  font-weight: 700;
}

.form-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-required-note {
  color: #d4af37;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Quote Form */
.quote-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
}

/* Form Groups */
.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #0a1a4a;
  margin-bottom: 8px;
  font-size: 1rem;
}

.required {
  color: #dc2626;
  font-weight: 700;
}

/* Form Inputs */
.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #fafafa;
  font-family: inherit;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #d4af37;
  background: white;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
  font-style: italic;
}

/* Radio Groups */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fafafa;
}

.radio-option:hover {
  border-color: #d4af37;
  background: white;
  transform: translateY(-1px);
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #d4af37;
  cursor: pointer;
}

.radio-option input[type="radio"]:checked + .radio-label {
  color: #0a1a4a;
  font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: #d4af37;
  background: #fffbf0;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.radio-label {
  flex: 1;
  cursor: pointer;
  color: #374151;
  font-weight: 500;
}

.other-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-left: 10px;
  background: white;
  font-family: 'Poppins', sans-serif;
}

.other-input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

/* Error Messages */
.error-message {
  display: block;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-group.error .error-message {
  opacity: 1;
  transform: translateY(0);
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #dc2626;
  background: #fef2f2;
}

/* Submit Button */
.form-submit {
  text-align: center;
  margin-top: 40px;
}

.submit-btn {
  background: linear-gradient(135deg, #0a1a4a 0%, #1e3a8a 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10, 26, 74, 0.3);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Button Loading State */
.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spinner {
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

.path {
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* Success Message */
.form-success {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 15px;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: successBounce 0.6s ease-out;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-success p {
  font-size: 1rem;
  opacity: 0.9;
}

@keyframes successBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: white;
}

.contact-info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-details h3,
.business-hours h3 {
  font-size: 1.8rem;
  color: #0a1a4a;
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #e5f3ff;
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d4af37;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-content h4 {
  font-size: 1.1rem;
  color: #0a1a4a;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-content a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-content a:hover {
  color: #d4af37;
}

.contact-content p {
  color: #666;
  margin: 0;
}

/* Business Hours */
.hours-list {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item span:first-child {
  font-weight: 600;
  color: #0a1a4a;
}

.hours-item span:last-child {
  color: #666;
  font-weight: 500;
}

.hours-note {
  color: #d4af37;
  font-style: italic;
  text-align: center;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 2.2rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1rem;
  }
  
  .form-title {
    font-size: 2rem;
  }
  
  .quote-form {
    padding: 25px;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .radio-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .other-input {
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 60px 0 40px;
  }
  
  .contact-hero-title {
    font-size: 1.8rem;
  }
  
  .form-title {
    font-size: 1.6rem;
  }
  
  .quote-form {
    padding: 20px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 16px 30px;
  }
}
