/* Quomodo Contact Form Styles */
.quomodo-contact-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.quomodo-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 40px; */
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 600px;
}

/* Contact Form Section */
.quomodo-contact-form-section {
  padding: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.quomodo-contact-form-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.quomodo-form-header {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.quomodo-form-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  background: linear-gradient(45deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quomodo-form-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.6;
}

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

.quomodo-form-group {
  margin-bottom: 25px;
  position: relative;
}

.quomodo-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.quomodo-form-group input,
.quomodo-form-group textarea {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1) !important;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.quomodo-form-group input::placeholder,
.quomodo-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.quomodo-form-group input:focus,
.quomodo-form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.quomodo-input-icon {
  position: absolute;
  left: 15px;
  top: 70%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  z-index: 3;
  margin-top: 0;
}

.quomodo-textarea-icon {
  top: 45px;
  transform: none;
  margin-top: 0;
}

.quomodo-file-upload {
  position: relative;
}

.quomodo-file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.quomodo-file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quomodo-file-label:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.quomodo-file-name {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.quomodo-submit-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.quomodo-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.quomodo-submit-btn:hover::before {
  left: 100%;
}

.quomodo-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.quomodo-submit-btn:active {
  transform: translateY(0);
}

.quomodo-form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
  display: none;
}

.quomodo-form-message.success {
  background: rgba(46, 213, 115, 0.2);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
  display: block;
}

.quomodo-form-message.error {
  background: rgba(255, 71, 87, 0.2);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
  display: block;
}

/* Contact Information Section */
.quomodo-contact-info-section {
  padding: 40px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
}

.quomodo-contact-info {
  width: 100%;
}

.quomodo-info-header {
  margin-bottom: 40px;
  text-align: center;
}

.quomodo-info-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0;
}

.quomodo-info-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin: 0;
  line-height: 1.6;
}

.quomodo-contact-methods {
  margin-bottom: 40px;
}

.quomodo-contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.quomodo-contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.quomodo-method-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}

.quomodo-method-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 8px 0;
}

.quomodo-method-content p {
  font-size: 1rem;
  color: #7f8c8d;
  margin: 0 0 15px 0;
}

.quomodo-email-note {
  font-size: 0.9rem !important;
  color: #95a5a6 !important;
  font-style: italic;
  margin-top: 10px !important;
}

.quomodo-contact-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.quomodo-contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
}

.whatsapp-link {
  background: linear-gradient(45deg, #25d366, #128c7e);
}

.whatsapp-link:hover {
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.quomodo-contact-link svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.quomodo-contact-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quomodo-feature {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.quomodo-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quomodo-feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.quomodo-feature span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quomodo-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quomodo-contact-form-section,
  .quomodo-contact-info-section {
    padding: 30px 20px;
  }

  .quomodo-form-header h2 {
    font-size: 2rem;
  }

  .quomodo-info-header h3 {
    font-size: 1.5rem;
  }

  .quomodo-contact-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .quomodo-method-icon {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .quomodo-contact-container {
    padding: 10px;
  }

  .quomodo-contact-form-section,
  .quomodo-contact-info-section {
    padding: 20px 15px;
  }

  .quomodo-form-header h2 {
    font-size: 1.5rem;
  }

  .quomodo-form-group input,
  .quomodo-form-group textarea {
    padding: 12px 15px 12px 45px;
  }

  .quomodo-submit-btn {
    padding: 15px 20px;
    font-size: 1rem;
  }
}

/* Loading Animation */
.quomodo-submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.quomodo-submit-btn.loading span {
  opacity: 0;
}

.quomodo-submit-btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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