/* === Numerology Calculator Container === */
.numerology-form-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  font-family: 'Montserrat';
  text-align: center;
}

/* === Heading === */
.numerology-form-container h1 {
  font-size: 2rem;
    font-weight: bold;
}

/* === Subheading Line === */
.numerology-form-container p.subheading {
  font-size: 1.1rem;
  color: #1C2A54;
  margin: 0 auto 20px;
}

/* === Form Inputs and Button === */
#numerology-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

#numerology-form input[type="text"],
#numerology-form input[type="date"] {
  height: 48px;
  padding: 10px 16px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  min-width: 260px;
  font-family: inherit;
}

#numerology-form button {
  height: 48px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 600;
  background: #1C2A54;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#numerology-form button:hover {
  background: #162043;
}

/* === Result Card Layout === */
.numerology-card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.numerology-card {
  flex: 1 1 22%;
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.numerology-card:hover {
  transform: translateY(-5px);
}

.numerology-card h3 {
  color: #2d2d72;
  margin-bottom: 10px;
  font-size: 15px;
}

.numerology-card .num {
  font-size: 92px;
  color: #2d2d72;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.numerology-card p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .numerology-card-row {
    flex-direction: column;
    gap: 1rem;
  }

  .numerology-card {
    flex: 1 1 100%;
  }

  .numerology-form-container h1 {
     font-size: 1.4rem;
  }

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

  #numerology-form {
    flex-direction: column;
    gap: 12px;
  }

  #numerology-form input,
  #numerology-form button {
    width: 100%;
    max-width: 100%;
  }
}

