body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f7fa;
  color: #333;
}

header {
  background-color: #E5F1EE;
  color: white;
  padding: 10px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 2px;
}

.logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
}

main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: #004080;
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
}

ul {
  padding-left: 20px;
}

.btn-contact {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.btn-contact:hover {
  background-color: #002d59;
}

.about-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-text {
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

footer {
  text-align: center;
  padding: 15px 0;
  background-color: #e1e8f0;
  color: #555;
  font-size: 0.9rem;
}

/* Features Container Styles */
.features-container {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
}

.feature-card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.feature-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  perspective: 1000px;
}

.feature-card:hover .feature-inner {
  transform: rotateY(180deg) scale(1);
}

.feature-front,
.feature-back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  backface-visibility: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-front {
  background-color: rgba(186, 158, 194, 0.2);
}

.feature-back {
  background-color: #ba9ec2;
  color: white;
  transform: rotateY(180deg);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: #ba9ec2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.8rem;
  color: white;
}

.icon {
  font-size: 1.4rem;
}

.feature-title {
  color: #7a526e;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  text-align: center;
}

.feature-description {
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
}

/* Servicios Styles */
.servicios-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
}

.servicios-header {
  text-align: center;
  margin-bottom: 2rem;
}

.servicios-title {
  font-family: "Amatic SC", serif;
  font-size: 3rem;
  color: #5a87a0;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.title-underline {
  width: 100px;
  height: 2px;
  background-color: #5a87a0;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}

.servicios-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.servicio-card {
  flex: 1 1 30%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  padding: 1rem;
  text-align: center;
  color: white;
  border-radius: 8px 8px 0 0;
  min-height: 135px;
}

.pack-base {
  background-color: #4a90e2;
}

.pack-avanzado {
  background-color: #50c878;
}

.pack-premium {
  background-color: #9b59b6;
}

.card-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.card-header p {
  font-weight: 300;
  margin: 0;
  line-height: 1.4;
}

.card-content ul {
  padding-left: 1rem;
  margin: 1rem 0;
}

.card-content li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.check-icon {
  color: #5a87a0;
  font-weight: bold;
  margin-right: 0.4rem;
}

.card-footer {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 2% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close {
  color: #666;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
}

.close:hover {
  color: #000;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

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

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #004080;
}

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

.submit-btn {
  background-color: #004080;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #002d59;
}

.success-message {
  display: none;
  color: #28a745;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  background-color: #d4edda;
  border-radius: 6px;
}

.error-message {
  display: none;
  color: #dc3545;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  background-color: #f8d7da;
  border-radius: 6px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .servicios-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .servicio-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .servicios-title {
    font-size: 2.2rem;
  }

  .features-container {
    justify-content: center;
  }

  .feature-card {
    width: 200px;
    height: 200px;
  }

  .icon {
    font-size: 1.5rem;
  }

  .feature-title {
    font-size: 0.9rem;
  }

  .feature-description {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .feature-card {
    width: 100%;
    height: 200px;
  }

  .feature-title {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }

  main {
    margin: 20px auto;
  }

  .features-container {
    flex-wrap: wrap;
  }

  .feature-card {
    width: 45%;
    height: 180px;
    margin-bottom: 1rem;
  }
} 