/* ===== CONTACT SECTION ===== */
.contact {
  position: relative;
  padding: 6rem 0;
  background: white;
  overflow: hidden;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.contact .eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(10, 132, 255, 0.1);
  border-radius: 2rem;
}

.contact h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.contact .section-intro {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

/* Contact Form */
.contact-form {
  background: #f8f9ff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgxMCwxMzIsMjU1LDAuMDMpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+') repeat;
  opacity: 0.5;
  z-index: 0;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background-color: white;
  background-clip: padding-box;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(10, 132, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 132, 255, 0.3);
}

.form-submit:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Contact Info */
.contact-info {
  padding: 2rem 0;
}

.contact-methods {
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.25rem;
}

.contact-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}

.contact-details p, 
.contact-details a {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Business Hours */
.business-hours {
  background: #f8f9ff;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 3rem;
}

.business-hours h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.business-hours h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.hours-day {
  font-weight: 600;
  color: var(--text);
}

.hours-time {
  color: var(--text-light);
}

/* Map */
.map-container {
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #e8f5e9;
  border-radius: 8px;
  margin-top: 2rem;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-success i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  color: #4caf50;
}

.form-success h3 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: #2e7d32;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 4rem 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .contact-method {
    margin-bottom: 1.5rem;
  }
  
  .map-container {
    height: 250px;
  }
}

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

.contact-form,
.contact-method,
.business-hours,
.map-container {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.contact-method:nth-child(1) { animation-delay: 0.1s; }
.contact-method:nth-child(2) { animation-delay: 0.2s; }
.contact-method:nth-child(3) { animation-delay: 0.3s; }
.business-hours { animation-delay: 0.4s; }
.map-container { animation-delay: 0.5s; }
