/* Contact Page Styles */

.contact-intro {
  padding: 60px 0;
}

.contact-intro .ly-title-center {
  text-align: center;
}

.contact-intro h5 {
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-intro h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.contact-intro .intro-desc {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Contact Section */
.contact-main {
  padding: 20px 0;
  background: #fff;
}

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

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Contact Info Side */
.contact-info-side {
  padding: 20px;
}

.info-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.info-header p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: #e8f0ff;
  transform: translateX(5px);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0066cc, #0052a3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
}

.card-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.card-content p {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.card-content a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.card-content a:hover {
  color: #0052a3;
}

/* Social Section */
.social-section {
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.social-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.social-links-contact {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link.facebook {
  background: #3b5998;
}

.social-link.facebook:hover {
  background: #2d4373;
  transform: translateY(-3px);
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
  transform: translateY(-3px);
}

.social-link.whatsapp {
  background: #25d366;
}

.social-link.whatsapp:hover {
  background: #1fa855;
  transform: translateY(-3px);
}

.social-link.linkedin {
  background: #0077b5;
  color: white;
}

.social-link.linkedin i {
  color: white;
}

.social-link.linkedin:hover {
  transform: translateY(-3px);
}

/* Form Side */
.form-side {
  padding: 40px;
  background: #f8f9fa;
  border-radius: 15px;
}

.form-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.form-header p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

/* Progress Steps */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #999;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  border-color: #0066cc;
  color: white;
}

.step-label {
  font-size: 12px;
  color: #999;
  font-weight: 500;
  text-align: center;
  transition: color 0.3s ease;
}

.progress-step.active .step-label {
  color: #0066cc;
  font-weight: 600;
}

/* Form Steps */
.form-body {
  position: relative;
}

.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.step-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}

/* Need Options */
.need-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.need-card {
  position: relative;
  cursor: pointer;
}

.need-card input[type="radio"] {
  display: none;
}

.need-card-content {
  padding: 25px 20px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.need-card input[type="radio"]:checked + .need-card-content {
  border-color: #0066cc;
  background: #e8f0ff;
}

.need-card:hover .need-card-content {
  border-color: #0066cc;
}

.need-icon {
  font-size: 32px;
  color: #0066cc;
  margin-bottom: 10px;
}

.need-card-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.need-card-content p {
  font-size: 13px;
  color: #666;
}

/* Form Groups */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.form-group label span {
  color: #e74c3c;
}

.form-control {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-control.error {
  border-color: #e74c3c;
  background: #fff5f5;
}

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

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
}

.btn-prev,
.btn-next,
.btn-submit {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-next,
.btn-submit {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: white;
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-prev {
  background: white;
  color: #0066cc;
  border: 1px solid #0066cc;
}

.btn-prev:hover {
  background: #f0f5ff;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #27ae60, #229954);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
  margin: 0 auto 20px;
  animation: scaleIn 0.5s ease;
}

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

.form-success h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.form-success p {
  color: #666;
  font-size: 16px;
  margin-bottom: 25px;
}

.btn-whatsapp-success {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-whatsapp-success:hover {
  background: #1fa855;
  transform: translateY(-2px);
}

/* Map Section */
.map-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.map-overlay-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  z-index: 10;
}

.map-overlay-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.map-overlay-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-directions:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

@media (max-width: 768px) {
  .map-section {
    height: 350px;
  }

  .map-overlay-card {
    bottom: 15px;
    left: 15px;
    max-width: 250px;
  }
}



/* Mobile - 480px */
@media (max-width: 480px) {
  .contact-intro {
    padding: 30px 0;
  }

  .contact-intro h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .contact-intro h5 {
    font-size: 12px;
  }

  .contact-intro .intro-desc {
    font-size: 14px;
    padding: 0 15px;
  }

  .contact-main {
    padding: 10px 0;
  }

  .contact-wrapper {
    gap: 30px;
  }

  .contact-info-side {
    padding: 15px;
  }

  .info-header h3 {
    font-size: 20px;
  }

  .info-header p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .contact-cards {
    gap: 15px;
    margin-bottom: 30px;
  }

  .contact-card {
    padding: 15px;
    gap: 15px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .card-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .card-content p {
    font-size: 13px;
    margin: 3px 0;
  }

  .social-section {
    padding-top: 20px;
  }

  .social-section h4 {
    font-size: 14px;
  }

  .social-links-contact {
    gap: 10px;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .form-side {
    padding: 20px;
    border-radius: 12px;
  }

  .form-header h3 {
    font-size: 20px;
  }

  .form-header p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .form-progress {
    margin-bottom: 25px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-bottom: 6px;
  }

  .step-label {
    font-size: 10px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-desc {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .need-options {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .need-card-content {
    padding: 15px 10px;
  }

  .need-icon {
    font-size: 24px;
  }

  .need-card-content h5 {
    font-size: 14px;
  }

  .need-card-content p {
    font-size: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
  }

  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }

  textarea.form-control {
    min-height: 100px;
  }

  .form-navigation {
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
  }

  .btn-prev,
  .btn-next,
  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  .form-success {
    padding: 30px 15px;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .form-success h3 {
    font-size: 20px;
  }

  .form-success p {
    font-size: 14px;
  }

  .map-section {
    height: 300px;
  }

  .map-overlay-card {
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
    padding: 15px;
  }

  .map-overlay-card h4 {
    font-size: 16px;
  }

  .map-overlay-card p {
    font-size: 13px;
  }
}

/* Extra Small Mobile - 360px */
@media (max-width: 360px) {
  .contact-intro h1 {
    font-size: 22px;
  }

  .info-header h3,
  .form-header h3 {
    font-size: 18px;
  }

  .need-options {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .card-icon {
    margin: 0 auto;
  }

  .map-section {
    height: 250px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-label {
    font-size: 9px;
  }
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

.loading-overlay.active {
  display: flex;
}

.loading-content {
  background: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  min-width: 280px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #f0f0f0;
  border-top-color: #0066cc;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

.loading-content p {
  color: #333;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

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