/* Contact Page Specific Styles */

/* Contact Info Section */
.contact-info-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);

  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
  animation: float 15s ease-in-out infinite;
}

.contact-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.contact-card {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(102,126,234,0.10);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  margin: 0;
  transition: box-shadow 0.3s, transform 0.3s;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(84, 94, 151, 0.2), transparent);
  transition: left 0.5s ease; 
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card:hover {
  box-shadow: 0 8px 32px rgba(102,126,234,0.18);
  transform: translateY(-6px) scale(1.03);
}

.contact-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2b48ca;
}

.contact-card p {
  word-break: break-all;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 1rem;
  color: #09090a;
  margin-bottom: 1rem;
}

.contact-link, .contact-social-link {
  margin-top: auto;
  display: inline-block;
  color: #fff;
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.3s;
}

.contact-link:hover, .contact-social-link:hover {
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  color: #2d3748;
  transform: translateY(-2px) scale(1.05);
}

.contact-social {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.social-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  background: #fff;
}

/* Contact Form Section */
.contact-form-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.form-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.form-content {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  pointer-events: auto;
}

.form-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);

  z-index: 1;
  pointer-events: none;
}

.form-content h2 {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.form-content p {
  color: #718096;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2d3748;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  position: relative;
  pointer-events: auto;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2b48ca;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #cbd5e0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4a5568;
  position: relative;
  padding-left: 2rem;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background: #e2e8f0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
  background: #cbd5e0;
}

.checkbox-label input:checked ~ .checkmark {
  background: #667eea;
}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

/* Form Sidebar */
.form-sidebar {
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);

  padding: 2rem;
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.form-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.sidebar-content {
  position: relative;
  z-index: 2;
}

.sidebar-content h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #ffd700;
}

.expectation-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.expectation-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.expectation-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.expectation-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.expectation-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Map Section */
.map-section {
  padding: 5rem 0;
  background: white;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
}

.map-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
 background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-content h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.map-content p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.map-info {
  display: grid;
  gap: 1.5rem;
}

.info-item {
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-item strong {
  color: #2d3748;
  display: block;
  margin-bottom: 0.5rem;
}

.map-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.map-image:hover img {
  transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.faq-grid {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;

}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question h3 {
  color: #2d3748;
  font-size: 1.1rem;
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #667eea;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: #718096;
  line-height: 1.6;
  margin: 0;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  width: 100%;
  margin-bottom: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  width: 100%;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #20ba5a 0%, #0f7a6b 100%);
  color: white;
  text-decoration: none;
}

.btn-whatsapp span {
  margin-right: 0.5rem;
}

/* Contact Form Button Override */
.contact-form .btn-primary {
  grid-column: 1 / -1;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  border: none;
  border-radius: 15px;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(55, 74, 161, 0.10);
}
.contact-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4b5fd6 0%, #23243a 100%);
  opacity: 0.7;
  transition: left 0.5s ease;
}
.contact-form .btn-primary:hover::before {
  left: 100%;
}
.contact-form .btn-primary:hover {
  background: linear-gradient(135deg, #4b5fd6 0%, #23243a 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(55, 74, 161, 0.18);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Intersection Observer Animations */
.contact-card,
.form-content,
.form-sidebar,
.map-placeholder,
.faq-item {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.contact-card.animate-in,
.form-content.animate-in,
.form-sidebar.animate-in,
.map-placeholder.animate-in,
.faq-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.contact-card:nth-child(1) { transition-delay: 0.1s; }
.contact-card:nth-child(2) { transition-delay: 0.2s; }
.contact-card:nth-child(3) { transition-delay: 0.3s; }
.contact-card:nth-child(4) { transition-delay: 0.4s; }

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }
.faq-item:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .map-placeholder {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-content {
    padding: 2rem;
  }
}

@media (max-width: 1200px) {
  .contact-card {
    min-width: 180px;
    max-width: 220px;
    height: 300px;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .contact-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 1.5rem 1rem;
  }
}

/* Loading Animation */
.contact-card,
.form-content,
.form-sidebar,
.map-placeholder,
.faq-item {
  animation: fadeInScale 0.6s ease;
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
  border-color: #2b48ca;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
  border-color: #2b48ca;
}

/* Success Message */
.form-message {
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.contact-social {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.contact-social-link {
  margin: 0 2px;
}

.contact-social-link img,
.contact-social-link svg {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}

.header {
  background: #fafbfdee; /* Or any color you want */
} 